amazon-sqs-java-messaging-lib icon indicating copy to clipboard operation
amazon-sqs-java-messaging-lib copied to clipboard

RangedAcknowledger logs "SQSMessageID: xxx with SQSMessageReceiptHandle: xxx does not exist." when acknowledge SQSTextMessage

Open IneverStop opened this issue 2 years ago • 2 comments

Hi Amazon! I am using 1.0.0 version and JMS to receive SQSMessage:

    @JmsListener(destination = "xxx", containerFactory = "sqsContainerFactory")
    public void consumer(SQSTextMessage sqsTestMessage)
        throws JMSException {
        try {

        } catch (Exception var) {
        } finally {
            sqsTestMessage.acknowledge();
        }
    }

I have set sqsContainerFactory.sessionAcknowledgeMode to Session.CLIENT_ACKNOWLEDGE, But always got warning like

2023-01-18 14:06:59.057  WARN 55524 --- [enerContainer-7] c.a.s.j.acknowledge.RangedAcknowledger   : SQSMessageID: 37b9d428-a5e2-4a39-af5e-40ebd4e4cb7b with SQSMessageReceiptHandle: AQEBFJ+bCDXdYlmz1jzmeRFjkI5CYL9wzEoUT3fcx/ECrujyaFHAIka/piHG6FlIFLxsUNoj8ZDpvw/WgQ6rOgZNbO2OP/Q8YxOgIrlleGzkjlWhfhevrCA3BPY0uhlRFvo05V35RHPKAntQ0SVPRnEPb9O+BaOcPlQvHSxr/0OkMQOO4VNh92FOnuIp8dueLKl+NmAdLyH2tRhB7o7Z9JKLQzZ1DgFbnJddseaajiWP+MYGt8Ma9PFA08rpdDNYluYAzRYJAWDq5QG2tzVEyEWcefIDs8Ru+9saQatiEOH6G23yvaM9Lw+HOhnza5y4+Od8XjRsUYcpGGq1cTtYePlHtUrBWQCthfpuBg36ewRB2beHVNa4eZEUSk8z8Z06on4dfZBBsqMunDNw5fblQ/5mijIqMmA7Q/GGE7a219n+dnbgwnF20Fz+1a/JRCe1/8eV does not exist.

I am not sure is this a problem or should i upgrade the sdk version?

IneverStop avatar Jan 18 '23 06:01 IneverStop

Brother, is your problem solved? I have the same problem

linyelai avatar Feb 10 '23 03:02 linyelai

Brother, is your problem solved? I have the same problem

我直接把这个日志去除了,似乎不影响消费和提交

IneverStop avatar Feb 10 '23 03:02 IneverStop