Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-3081

Storm kafka client not consuming messages properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Blocker
    • Resolution: Unresolved
    • 1.2.1
    • None
    • storm-kafka-client
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kush.kh Kush Khandelwal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: