The GitHub Actions job "Flink Connector Kafka CI" on 
flink-connector-kafka.git/main has succeeded.
Run started by GitHub user MartijnVisser (triggered by MartijnVisser).

Head commit for run:
22fab0d8058b044c60c2dca0deb300e9a5a0d027 / Sylwester Lachiewicz 
<[email protected]>
[FLINK-40621][Connectors/Kafka] Flush before fencing in producer reset test 
(#310)

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 commitTransaction 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, Claude Opus 5.5)

Report URL: 
https://github.com/apache/flink-connector-kafka/actions/runs/40117944376

With regards,
GitHub Actions via GitBox

Reply via email to