bootique / bootique-kafka

Provides integration of Kafka client and streams with Bootique
http://bootique.io
Apache License 2.0
4 stars 4 forks source link

0.8 consumer - the first message in a new queue is not received #2

Closed andrus closed 4 years ago

andrus commented 8 years ago

Using TopicConsumer, somehow the first message in a new queue is never received. Not necessarily a bug in the consumer code. But perhaps we can help the users to establish proper offset.

consumer = TopicConsumer
                .builder(keyDecoder, valueDecoder)
                .configName(KAFKA_CONSUMER_CONFIG)
                .group(KAFKA_CONSUMER_GROUP)
                .threads(THREADS)
                .topic(TOPIC)
                .build(consumerFactory.get());
consumer.consumeAll(..., ...).get();
andrus commented 4 years ago

Won't fix. No longer supporting Kafka 0.8