Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-3933

Provide proper acknowledgment for Messages consumed from Kafka

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • None
    • 1.0.0.Final
    • Core Engine
    • 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.

              ftirados Francisco Javier Tirado Sarti
              tdolphin-1 Tiago Dolphine (Inactive)
              Marian Macik Marian Macik
              Marian Macik Marian Macik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: