[ 
https://issues.apache.org/jira/browse/KAFKA-13668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Philip Nee resolved KAFKA-13668.
--------------------------------
    Fix Version/s: 3.6.0
       Resolution: Fixed

> Failed cluster authorization should not be fatal for producer
> -------------------------------------------------------------
>
>                 Key: KAFKA-13668
>                 URL: https://issues.apache.org/jira/browse/KAFKA-13668
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Jason Gustafson
>            Assignee: Philip Nee
>            Priority: Major
>             Fix For: 3.6.0
>
>
> The idempotent producer fails fatally if the initial `InitProducerId` returns 
> CLUSTER_AUTHORIZATION_FAILED. This makes the producer unusable until a new 
> instance is constructed. For some applications, it is more convenient to keep 
> the producer instance active and let the administrator fix the permission 
> problem instead of going into a crash loop. Additionally, most applications 
> will probably not be smart enough to reconstruct the producer instance, so if 
> the application does not handle the error by failing, users will have to 
> restart the application manually. 
> I think it would be better to let the producer retry the `InitProducerId` 
> request as long as the user keeps trying to use the producer. 



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

Reply via email to