[ https://issues.apache.org/jira/browse/KAFKA-5409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16534715#comment-16534715 ]
lambdaliu commented on KAFKA-5409: ---------------------------------- Hi [~ppatierno], We also encounter this issue when using 'kafka-console-producer.sh' to test some feature. And we found this issue can be fixed if we replace the line {code:java} props.put("client.id", "console-producer"){code} in ConsoleProducer.scala to {code:java} props.putIfAbsent("client.id", "console-producer"){code} > Providing a custom client-id to the ConsoleProducer tool > -------------------------------------------------------- > > Key: KAFKA-5409 > URL: https://issues.apache.org/jira/browse/KAFKA-5409 > Project: Kafka > Issue Type: Improvement > Components: tools > Affects Versions: 1.1.0, 1.0.1 > Reporter: Paolo Patierno > Assignee: Paolo Patierno > Priority: Minor > > Hi, > I see that the client-id properties for the ConsoleProducer tool is always > "console-producer". It could be useful having it as parameter on the command > line or generating a random one like happens for the ConsolerConsumer. > If it makes sense to you, I can work on that. > Thanks, > Paolo. -- This message was sent by Atlassian JIRA (v7.6.3#76005)