[ 
https://issues.apache.org/jira/browse/FLINK-23183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fabian Paul updated FLINK-23183:
--------------------------------
        Parent:     (was: FLINK-20244)
    Issue Type: Bug  (was: Sub-task)

> Lost ACKs for redelivered messages in RMQSource 
> ------------------------------------------------
>
>                 Key: FLINK-23183
>                 URL: https://issues.apache.org/jira/browse/FLINK-23183
>             Project: Flink
>          Issue Type: Bug
>          Components: Connectors/ RabbitMQ
>    Affects Versions: 1.13.1, 1.12.4
>            Reporter: Michał Ciesielczyk
>            Assignee: Michał Ciesielczyk
>            Priority: Major
>
> As described in the FLINK-20244, the redelivered messages are not 
> acknowledged properly (only applicable when autoAck is disabled). When used 
> with a prefetch count in the consumer it may even lead to stop the source to 
> consume any more messages.
>  The solution (proposed in FLINK-20244) should resolve the issue. All 
> successfully consumed RMQ messages should be acknowledged, regardless of 
> whether the message is ignored or processed further in the pipeline. The 
> {{sessionIds.add(deliveryTag)}} 
> ([RMQSource.java#L423|https://github.com/apache/flink/blob/master/flink-connectors/flink-connector-rabbitmq/src/main/java/org/apache/flink/streaming/connectors/rabbitmq/RMQSource.java#L423])
>  should be called before checking if the message has already been processed.



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

Reply via email to