Skip to content

Consumer fails to consume on broker restart  #173

@tejas3190

Description

@tejas3190

Hi all, @edenhill

I am facing this issue where when the broker is restarted after which causing the consumer not able to get the latest produce messages
The following steps is what i am trying:

  1. Single consumer subscribed to 6 topics with only 1 Kafka broker.
  2. At startup everything seems to be fine, messages are consumed till reaching EOP.
  3. Consumer is subscribed to 6 topics, messages are produced only on a single topic in this scenario, consumer poll with 1 sec timeout, auto commit enabled, keep alive enabled
  4. After sometime bring down the broker ( in a controlled manner )
  5. After some time bringing up the broker again
  6. Producing more messages to the same topic
  7. Problem is here: Consumer fails to consume the latest produced message

Also posting the logs for the broker & consumer
Can anyone help me on this ? Thanks
Kafka Version -> kafka_2.11-0.10.0.0
librdkafka -> master
confluent-kafka-python -> confluent-kafka (0.9.4)

brokerlog.txt

consumer.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy