You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Ankit Kumar (Jira)" <ji...@apache.org> on 2020/09/01 08:26:00 UTC
[jira] [Commented] (KAFKA-10072) Kafkaconsumer is configured with
different clientid parameters to obtain different results
[ https://issues.apache.org/jira/browse/KAFKA-10072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17188254#comment-17188254 ]
Ankit Kumar commented on KAFKA-10072:
-------------------------------------
Hey [~qq619618919],
I was trying to replicate the issue, but unable to find any anomaly in the Consumer behavior. Can you please share the steps to replicate the issue?
./kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic test_topic --consumer-property client.id=aa --from-beginning
SLF4J: Class path contains multiple SLF4J bindings.
...
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
Test Msg 1
Test Msg 2
------------------
./kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic test_topic --consumer-property clientid=bb --from-beginning
SLF4J: Class path contains multiple SLF4J bindings.
...
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
[2020-09-01 13:48:13,759] WARN The configuration 'clientid' was supplied but isn't a known config. (org.apache.kafka.clients.consumer.ConsumerConfig)
Test Msg 1
Test Msg 2
> Kafkaconsumer is configured with different clientid parameters to obtain different results
> ------------------------------------------------------------------------------------------
>
> Key: KAFKA-10072
> URL: https://issues.apache.org/jira/browse/KAFKA-10072
> Project: Kafka
> Issue Type: Bug
> Components: core
> Affects Versions: 2.4.0
> Environment: centos7.6 8C 32G
> Reporter: victor
> Assignee: Ankit Kumar
> Priority: Blocker
>
> kafka-console-consumer.sh --bootstrap-server host1:port --consumer-property {color:#DE350B}client.id=aa{color} --from-beginning --topic topicA
> {color:#DE350B}There's no data
> {color}
> kafka-console-consumer.sh --bootstrap-server host1:port --consumer-property {color:#DE350B}clientid=bb{color} --from-beginning --topic topicA
> {color:#DE350B}Successfully consume data{color}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)