Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-2246

JmsIO should use CLIENT_ACK instead of AUTO_ACK

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • 0.6.0
    • 2.1.0
    • io-java-jms
    • None

    Description

      As JmsIO manages the messages acknowledgement in its checkpoint, it should not use AUTO_ACKNOWLEDGE but CLIENT_ACKNOWLEDGE.

      With AUTO_ACK, the ack is sent to the JMS broker as soon as the message is consumed. Basically, it means that the checkpoint is useless as, if something goes wrong in the pipeline, the messages is already consumed from the broker (so no way to redeliver the message).

      Instead, JmsIO should use CLIENT_ACK and explicitly send the ack (commit) in the checkpoint (the code is already in place).

      Attachments

        Issue Links

          Activity

            People

              jbonofre Jean-Baptiste Onofré
              jbonofre Jean-Baptiste Onofré
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: