kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manikumar (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KAFKA-4571) Consumer fails to retrieve messages if started before producer
Date Fri, 01 Jun 2018 15:59:00 GMT

     [ https://issues.apache.org/jira/browse/KAFKA-4571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Manikumar resolved KAFKA-4571.
    Resolution: Auto Closed

Closing inactive issue. Please reopen if the issue still exists.

> Consumer fails to retrieve messages if started before producer
> --------------------------------------------------------------
>                 Key: KAFKA-4571
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4571
>             Project: Kafka
>          Issue Type: Bug
>          Components: clients
>    Affects Versions:
>         Environment: Ubuntu Desktop 16.04 LTS, Oracle Java 8 1.8.0_101, Core i7 4770K
>            Reporter: Sergiu Hlihor
>            Priority: Major
> In a configuration where topic was never created before, starting the consumer before
the producer leads to no message being consumed (KafkaConsumer.pool() returns always an instance
of ConsumerRecords with 0 count ). 
> Starting another consumer on the same group, same topic after messages were produced
is still not consuming them. Starting another consumer with another groupId appears to be
> In the consumer logs I see: WARN  NetworkClient - Error while fetching metadata with
correlation id 1 : {measurements021=LEADER_NOT_AVAILABLE} 
> Both producer and consumer were launched from inside same JVM. 
> The configuration used is the standard one found in Kafka distribution. If this is a
configuration issue, please suggest any change that I should do.
> Thank you

This message was sent by Atlassian JIRA

View raw message