-
Task
-
Resolution: Done
-
Major
-
None
-
1.0.0.Final
-
None
-
False
-
False
-
This was changed with
KOGITO-4267. Messages are now acknoledged after they has been processed -
---
-
---
-
Currently the messages are acknowledged when they are received before the subscribers (consumers) process them, that could lead to issues in case any error happens when processing them.
SeeĀ QuarkusCloudEventPublisher class andĀ https://github.com/kiegroup/kogito-runtimes/pull/910.
It should be tested and validated cases when error happens when processing the messages, because probably the stream that receives messages would stop in case of any exception, this should be avoided conintue to receive messages but with a nack or whatever.
One approach could be to have an abstraction of Message that would pass to the subcribers to proper handle the ack or nack either on Quarkus or Spring.
- is related to
-
KOGITO-3911 Error on Kafka consumer not acking received messages
- Resolved