I tried to produce avro messages to Redpanda using transactional approach.
After I send all of the data on_delivery provided error:
cimpl.KafkaException: KafkaError{code=_STATE,val=-172,str="Unable to produce message: Local: Erroneous state"}
Same error appeared when I did not set on_delivery function but I tried to read from same topic.
In Redpanda UI I cannot see those messages but I can check that Message Count has been set higher.
It seems like messages has not been commited.
For unknown reason when I tried to reproduce error on smaller example, it stopped to showing off - on production too.
So right now I cannot be sure was a code an issue.
Description
I tried to produce avro messages to Redpanda using transactional approach. After I send all of the data
on_delivery
provided error:cimpl.KafkaException: KafkaError{code=_STATE,val=-172,str="Unable to produce message: Local: Erroneous state"}
Same error appeared when I did not set
on_delivery
function but I tried to read from same topic.In Redpanda UI I cannot see those messages but I can check that
Message Count
has been set higher. It seems like messages has not been commited.My issue may be related to this issue.
How to reproduce
Publish data using serialised message with transaction.
Problem occurred at:
Redpanda v23.3.4
Auto-commit has been set to: FalseChecklist
Please provide the following information:
confluent_kafka.version()
andconfluent_kafka.libversion()
):{...}
'debug': '..'
as necessary)