kirktrue commented on code in PR #19440:
URL: https://github.com/apache/kafka/pull/19440#discussion_r2051047881
##########
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:
The policy only changes when running tests. In those cases there aren't
necessarily different threads running, but the test needs to mock that there
are.
--
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]