You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Bharat Viswanadham (JIRA)" <ji...@apache.org> on 2017/06/08 16:44:18 UTC
[jira] [Commented] (KAFKA-5409) Providing a custom client-id to the
ConsoleProducer tool
[ https://issues.apache.org/jira/browse/KAFKA-5409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16043002#comment-16043002 ]
Bharat Viswanadham commented on KAFKA-5409:
-------------------------------------------
Hi Paolo,
There are 2 ways provided currently to pass in additional producer properties.
1. Using --producer-property. Ex: --producer-property client.id=producer1
2. Using --producer.config Ex: -producer.config=<<config file>>
In config file add the parameter, you are interested.
> 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
> Reporter: 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
(v6.3.15#6346)