Produce messages to and consume messages from a Kafka cluster using the Java Producer and Consumer, and Kafka Streams API.
You can find the documentation and instructions for running this Java example at https://docs.confluent.io/platform/current/tutorials/examples/clients/docs/java.html
- Create a Confuent Cloud account at https://confluent.cloud, create a cluster, and then create a schema registry.
- Create a API keys for your cluster and schema registry.
- Finally, make sure these environment variables are set at https://gitpod.io/variables and scoped to this repository
CONFLUENT_CLOUD_EMAIL(for theconfluentCLI)CONFLUENT_CLOUD_PASSWORD(for theconfluentCLI)CCLOUD_ENV_ID(to choose a specific environment for theconfluentCLI)CCLOUD_API_KEYCCLOUD_API_SECRETCCLOUD_BOOTSTRAP_SERVER(includes kafka port)CCLOUD_SR_URLCCLOUD_SR_API_KEYCCLOUD_SR_API_SECRET
Now you can run your clients in YOUR OWN Confluent Cloud cluster with Gitpod! Enjoy!
