The behaviour of Kafka Inbound endpoint has been changed between the version v1.0.12 and the v1.2.2 versions. The rollback behaviour is not working when a transaction failed even though we disable the auto commit and set the property to true.
org.apache.synapse.kafka.poll-1.0.12.jar
org.apache.synapse.kafka.poll-1.2.2.jar
Suggested Labels:
Suggested Assignees:
Affected Product Version:
OS, DB, other environment details and versions:
Steps to reproduce:
Run Kafka server and confluent server(kafka_2.12-3.7.0 and confluent version 7.6.0)
Create an inbound endpoint and sequence
Set the auto commit property to false to disable the auto commit
Set the roll back property to true when the transaction failed(added HTTP code manually instead of calling backend endpoint)
Deploy the CAR file and test the behaviour
Current behaviour:
The messages are still continuing and not rolling back when the transaction failed(Except for 200 code)
Expected behaviour:
The messages should roll back when we set the roll back property to true when the transaction failed(Except for 200 code)
Description
Moving the issue from https://github.com/wso2-extensions/esb-inbound-kafka/issues/73
Description:
The behaviour of Kafka Inbound endpoint has been changed between the version v1.0.12 and the v1.2.2 versions. The rollback behaviour is not working when a transaction failed even though we disable the auto commit and set the property to true.
Suggested Labels:
Suggested Assignees:
Affected Product Version:
OS, DB, other environment details and versions:
Steps to reproduce:
Current behaviour:
The messages are still continuing and not rolling back when the transaction failed(Except for 200 code)
Expected behaviour:
The messages should roll back when we set the roll back property to true when the transaction failed(Except for 200 code)
Related Issues:
Steps to Reproduce
No response
Affected Version(s)
No response
OS, DB, other environment details and versions
No response
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response