dropwizard-kafka icon indicating copy to clipboard operation
dropwizard-kafka copied to clipboard

Example code illustrating usage

Open natalie-zamani opened this issue 6 years ago • 3 comments

The README is a good first step at docs, but its been suggested that there be code examples illustrating the usage of this library.

natalie-zamani avatar Jun 06 '19 03:06 natalie-zamani

Also, if it would be great if we can see the consumer in action. My consumer works fine with ExecutorService (single thread model) but healthcheck fails as the consumer is not thread safe

saurav-2104 avatar Jun 06 '19 04:06 saurav-2104

@saurav-2104 good to know, I had run into similar problems with a previous consumer health check approach that caused me to implement CheckableConsumer. I’ll see if I can repro

natalie-zamani avatar Jun 06 '19 05:06 natalie-zamani

I followed the README for implementing Kafka Consumer in my code but looks like KafkaConsumerBundle does not have an empty constructor. It will be great if more examples are provided for using Kafka in dropwizard.

vigneshbrb avatar Sep 16 '20 04:09 vigneshbrb