Skip to content

Latest commit

 

History

History

getting-started-with-ccloud-java

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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-with-dependencies.jar io.confluent.cloud.demo.ProducerApp

4 - Running the consumer

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

License

This project is licensed under the Apache 2.0 License.