[
https://issues.apache.org/jira/browse/KAFKA-5409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16043002#comment-16043002
]
Bharat Viswanadham edited comment on KAFKA-5409 at 6/8/17 4:44 PM:
-------------------------------------------------------------------
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.
was (Author: bharatviswa):
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)