You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Boyuan Zhang (Jira)" <ji...@apache.org> on 2021/04/27 17:23:00 UTC

[jira] [Commented] (BEAM-11828) JmsIO is not acknowledging messages correctly

    [ https://issues.apache.org/jira/browse/BEAM-11828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17333402#comment-17333402 ] 

Boyuan Zhang commented on BEAM-11828:
-------------------------------------

Talking to one customer regarding to the same problem, the customer found that there is a high chance that the reader.close() is called before CheckpointMark.finalizaCheckpointMark() is called, but  CheckpointMark.finalizaCheckpointMark() requires the reader still holds the session. I think it's intended that the reader is closed before the runner tries to finalize the checkpointMark. It indicates a implementation problem inside JmsIO.

> JmsIO is not acknowledging messages correctly
> ---------------------------------------------
>
>                 Key: BEAM-11828
>                 URL: https://issues.apache.org/jira/browse/BEAM-11828
>             Project: Beam
>          Issue Type: Bug
>          Components: io-java-jms
>            Reporter: Seifeddine Gamoudi
>            Priority: P1
>
> Hello,
> We noticed that messages consumption via JmsIO does not acknowledge messages properly.
> Some messages are never acknowledged which results in data loss.
> So when do messages get acknowledged by JmsIO?
> How do We make sure all messages are being acknowledged?
>  
> Best regards,
> Seif



--
This message was sent by Atlassian Jira
(v8.3.4#803005)