You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/12/09 14:42:07 UTC
[GitHub] [pulsar] codelipenghui added a comment to the discussion: negativeAcknowledge() parameter does not take effect
GitHub user codelipenghui added a comment to the discussion: negativeAcknowledge() parameter does not take effect
@yebai1105 You can acked the message at
```
msg = (Message) obj;
System.out.println("Message received: " + msg.getValue());
consumer.acknowledge(msg);
```
A acked message can not be redeliver again
GitHub link: https://github.com/apache/pulsar/discussions/18857#discussioncomment-4352723
----
This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@pulsar.apache.org