Sample code containing a producer and consumer using the bucket priority pattern implementation.
cd src/main/resources
cp kafka.properties.example kafka.properties
vim kafka.properties
mvn clean package
java -cp <CLASSPATH> io.confluent.kafka.demo.AllOrdersProducer
java -cp <CLASSPATH> io.confluent.kafka.demo.BucketBasedProducer
java -cp <CLASSPATH> io.confluent.kafka.demo.AllOrdersConsumer <NUMBER_OF_THREADS>
java -cp <CLASSPATH> io.confluent.kafka.demo.BucketBasedConsumer <BUCKET_NAME> <NUMBER_OF_THREADS>
This project is licensed under the Apache 2.0 License.