dropwizard / dropwizard-kafka

A convenience library for Apache Kafka integration in a Dropwizard service.
Apache License 2.0
21 stars 12 forks source link

Example code illustrating usage #11

Open natalie-zamani opened 5 years ago

natalie-zamani commented 5 years ago

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

saurav-2104 commented 5 years ago

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

natalie-zamani commented 5 years ago

@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

vigneshbrb commented 4 years ago

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.