kirktrue commented on code in PR #19440:
URL: https://github.com/apache/kafka/pull/19440#discussion_r2043388750
##########
clients/src/main/java/org/apache/kafka/clients/producer/internals/TransactionManager.java:
##########
@@ -171,7 +171,25 @@ public class TransactionManager {
*
* See KAFKA-14831 for more detail.
*/
- private final ThreadLocal<Boolean> shouldPoisonStateOnInvalidTransition;
+ public interface InvalidTransitionAttemptPolicy {
Review Comment:
You're right, it's not the best name/approach. This behavior could probably
just be a boolean passed in during creation.
--
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]