Details
-
Bug
-
Status: Open
-
Blocker
-
Resolution: Unresolved
-
1.2.1
-
None
-
None
Description
A single thread is pushing some messages to kafka serially and we consume it at the storm's end using storm-kafka-client.
After a few requests, the consumer is not able to consume from the queue blocking the thread which waits for the response from storm's end.
We added one more consumer with a different consumer group and there the messages are getting read properly.
So we know there is some problem at the storm kafka client consumer's end.
The kafka spout config is written like this -
KafkaSpoutConfig<String, String> kafkaSpoutConfig = KafkaSpoutConfig.builder(kafkaProperties.getProperty("bootstrap.servers"), stormProperties.getProperty("TOPIC"))
.setFirstPollOffsetStrategy(KafkaSpoutConfig.FirstPollOffsetStrategy.LATEST)
.setRecordTranslator(new MessageDeserializer(), arguments)
.build();
I can't seem to figure out the issue.
Can someone please help me out?
Thanks.