GitHub user labuladong edited a comment on the discussion: Is it possible to 
manually acknowledge messages via msgId?

Hi @crossoverJie, 

> it did not achieve the desired effect
> {"individuallyDeletedMessages":"[(407:4..407:5]]"}

But I think this is the expected behavior: you acknowledge (mark delete) the 
message `407:5` so `individuallyDeletedMessages` records this message as 
deleted.

Can you describe what's your desired effect? 

By the way, you can just use `MessageIdImpl` to specify a message id:

```java
consumer.acknowledge(new MessageIdImpl(legerID, entryID, partitionIndex));
```


GitHub link: 
https://github.com/apache/pulsar/discussions/18544#discussioncomment-4181795

----
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