[ 
https://issues.apache.org/jira/browse/KAFKA-10523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17623898#comment-17623898
 ] 

Francesco Guardiani commented on KAFKA-10523:
---------------------------------------------

I opened a similar issue in librdkafka: 
https://github.com/edenhill/librdkafka/discussions/4029

> Allow to provide producer ID
> ----------------------------
>
>                 Key: KAFKA-10523
>                 URL: https://issues.apache.org/jira/browse/KAFKA-10523
>             Project: Kafka
>          Issue Type: New Feature
>            Reporter: Luigi Berrettini
>            Priority: Minor
>
> I read about the implementation of idempotence and saw that it is only 
> guaranteed within a producer session, since it depends on a PID reassigned 
> every time the producer (re)start.
> The PID is probably assigne relying on ZooKeeper, but I was wondering if it 
> could be possible to support providing a PID externally to gain idempotence 
> across restrarts e.g. having the producing application read the PID from a 
> configuration file.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to