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-unsubscr...@pulsar.apache.org

Reply via email to