The GitHub Actions job "Flink Connector Kafka CI" on flink-connector-kafka.git/fix-reset-inner-transaction-fenced-flake has failed. Run started by GitHub user slachiewicz (triggered by slachiewicz).
Head commit for run: 2c4e3b50f3b2166b5e039b96523360c20fd63bfe / Sylwester Lachiewicz <[email protected]> [FLINK-40621][Connectors/Kafka] Flush before fencing in producer reset test testResetInnerTransactionIfFinalizingTransactionFailed sent a record without flushing, then fenced the producer with a second one using the same transactional id. When the in-flight ProduceRequest reached the broker after the epoch bump, the broker rejected it with INVALID_PRODUCER_EPOCH and the finalizer threw InvalidProducerEpochException. That is a sibling of ProducerFencedException under ApplicationRecoverableException, not a subtype, so the assertion failed. Flushing before the fencing producer starts keeps the failure on the EndTxn path, where the broker reports PRODUCER_FENCED. Do not drop the flush as redundant; it is what makes the outcome deterministic. Generated-by: Claude Code (Claude Opus 5) Report URL: https://github.com/apache/flink-connector-kafka/actions/runs/34455212027 With regards, GitHub Actions via GitBox
