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

Raman Gupta updated KAFKA-8789:
-------------------------------
    Description: 
I have a topic with about 20,000 events in it. When I run the following tools 
command using Kafka 2.

bin/kafka-avro-console-consumer \ 
  --bootstrap-server $KAFKA --property schema.registry.url=$SCHEMAREGISTRY \ 
  --topic $TOPICPREFIX-user-clickstream-events-ui-v2 \ 
  --from-beginning --max-messages 100 \
  --isolation-level read_committed --skip-message-on-error \
  --timeout-ms 15000

I get 100 messages as expected.

However, when running the exact same command using Kafka 2.3.0 I get 
org.apache.kafka.common.errors.TimeoutException, and 0 messages processed.

The version of Kafka on the server is 2.3.0.

NOTE: I am using the Confluent distribution of Kafka for the client side tools, 
specifically Confluent 5.0.3 and Confluent 5.3.0. I can certainly try to 
replicate with a vanilla Kafka if necessary.

  was:
I have a topic with about 20,000 events in it. When I run the following tools 
command using

 

bin/kafka-avro-console-consumer \ 
  --bootstrap-server $KAFKA --property schema.registry.url=$SCHEMAREGISTRY \ 
  --topic $TOPICPREFIX-user-clickstream-events-ui-v2 \ 
  --from-beginning --max-messages 100 \
 --isolation-level read_committed --skip-message-on-error \
 --timeout-ms 15000

I get 100 messages 


> kafka-avro-console-consumer works with 2.0.x, but not 2.3.x
> -----------------------------------------------------------
>
>                 Key: KAFKA-8789
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8789
>             Project: Kafka
>          Issue Type: Bug
>          Components: tools
>    Affects Versions: 2.3.0
>            Reporter: Raman Gupta
>            Priority: Major
>
> I have a topic with about 20,000 events in it. When I run the following tools 
> command using Kafka 2.
> bin/kafka-avro-console-consumer \ 
>   --bootstrap-server $KAFKA --property schema.registry.url=$SCHEMAREGISTRY \ 
>   --topic $TOPICPREFIX-user-clickstream-events-ui-v2 \ 
>   --from-beginning --max-messages 100 \
>   --isolation-level read_committed --skip-message-on-error \
>   --timeout-ms 15000
> I get 100 messages as expected.
> However, when running the exact same command using Kafka 2.3.0 I get 
> org.apache.kafka.common.errors.TimeoutException, and 0 messages processed.
> The version of Kafka on the server is 2.3.0.
> NOTE: I am using the Confluent distribution of Kafka for the client side 
> tools, specifically Confluent 5.0.3 and Confluent 5.3.0. I can certainly try 
> to replicate with a vanilla Kafka if necessary.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to