You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/11/30 18:42:48 UTC

[GitHub] [pulsar] xqianwang commented on issue #12962: Java client consumer acknowledge issue. It should work for both of the cases

xqianwang commented on issue #12962:
URL: https://github.com/apache/pulsar/issues/12962#issuecomment-982914340


   Hi @nodece , just simply try 
   `consumer.acknowledge(MessageId.fromByteArrayWithTopic( message.getMessageId().toByteArray(), consumer.getTopic()))` instead of 
   `consumer.acknowledge(message.getMessageId())`
   I got same issue


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org