Closed
Description
While running and publishing messages back to Kafka (pollAndProduce), sometimes a transaction error occurs in the log:
java.lang.IllegalStateException: Cannot call send in state COMMITTING_TRANSACTION
This is due to some error in the way transaction state is managed / monitored by the system.
Also, as reported by a user:
It doesn’t get stuck on Cannot call send in state
COMMITTING_TRANSACTION
, it just re-processes.
However, sometimes I get Invalid transition attempted from state READY to stateCOMMITTING_TRANSACTION
on startup and then an infinite loop occurs. I’ve only seen this happening when I setmax.poll.records
very low.