Michał Ciesielczyk created FLINK-23183: ------------------------------------------
Summary: Lost ACKs for redelivered messages in RMQSource Key: FLINK-23183 URL: https://issues.apache.org/jira/browse/FLINK-23183 Project: Flink Issue Type: Sub-task Components: Connectors/ RabbitMQ Affects Versions: 1.12.4, 1.13.1 Reporter: Michał Ciesielczyk 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)