dengziming commented on PR #12105: URL: https://github.com/apache/kafka/pull/12105#issuecomment-1111924359
@showuon Yeah, you are right, Here is the log of clients when I reproduce this error with the 3.0.1 client, it shows we are failing the `IDEMPOTENT_WRITE` permission. ``` [2022-04-28 15:11:11,425] TRACE [Producer clientId=producer-1] Received transactional response InitProducerIdResponseData(throttleTimeMs=0, errorCode=31, producerId=-1, producerEpoch=0) for request InitProducerIdRequestData(transactionalId=null, transactionTimeoutMs=2147483647, producerId=-1, producerEpoch=-1) (org.apache.kafka.clients.producer.internals.TransactionManager:1285) [2022-04-28 15:11:11,425] INFO [Producer clientId=producer-1] Transiting to fatal error state due to org.apache.kafka.common.errors.ClusterAuthorizationException: Cluster authorization failed. (org.apache.kafka.clients.producer.internals.TransactionManager:500) [2022-04-28 15:11:11,425] DEBUG [Producer clientId=producer-1] Transition from state INITIALIZING to error state FATAL_ERROR (org.apache.kafka.clients.producer.internals.TransactionManager:1089) org.apache.kafka.common.errors.ClusterAuthorizationException: Cluster authorization failed. ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
