You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "zhangshenghang (via GitHub)" <gi...@apache.org> on 2026/07/28 14:16:16 UTC

[PR] [Fix][Connector-V2] Prevent Kafka transaction cleanup loop [seatunnel]

zhangshenghang opened a new pull request, #11588:
URL: https://github.com/apache/seatunnel/pull/11588

   ## Summary
   
   Fixes #10061.
   
   Kafka transaction recovery now creates a fresh temporary producer for each transactional ID being checked. Reusing one producer while mutating its transactional ID could retain a non-zero epoch indefinitely and leave the cleanup loop running forever. Each temporary producer is closed after its check.
   
   ## Tests
   
   - Added a unit test covering a recovered transaction followed by the first unused transactional ID.
   - `./mvnw -q -pl seatunnel-connectors-v2/connector-kafka -Dtest=KafkaTransactionSenderTest test`
   - `./mvnw -q -pl seatunnel-connectors-v2/connector-kafka test`
   - `./mvnw -q -pl seatunnel-connectors-v2/connector-kafka -DskipTests verify`


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Fix][Connector-V2] Prevent Kafka transaction cleanup loop [seatunnel]

Posted by "davidzollo (via GitHub)" <gi...@apache.org>.
davidzollo merged PR #11588:
URL: https://github.com/apache/seatunnel/pull/11588


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org