Skip to content

Files

Latest commit

a97f521 · Jul 7, 2020

History

History
This branch is 136 commits behind confluentinc/demo-scene:master.

getting-started-with-ccloud-java

Getting Started with Confluent Cloud

Example of Java application that produces and consumes Protobuf-based data to/from a Kafka cluster in Confluent Cloud

Running

1 - Update the configuration

cd src/main/resources
vim ccloud.properties

2 - Building the project

mvn clean package

3 - Running the producer

java -cp target/getting-started-with-ccloud-1.0.jar io.confluent.cloud.demo.ProducerApp

4 - Running the consumer

java -cp target/getting-started-with-ccloud-1.0.jar io.confluent.cloud.demo.ConsumerApp

License

This project is licensed under the Apache 2.0 License.