fayce66 edited a comment on issue #9317:
URL: https://github.com/apache/pulsar/issues/9317#issuecomment-768876195


   OK so basically you have the same results as me now. Maybe my mistake but I 
don't understand the topic compaction as functioning like this. My 
understanding is that it should always return the last message/key, even if 
more messages have been produced in the meantime, that is the whole point. The 
consumer is not interested in past messages, only the last values, like a 
last-value queue...it defeats the purpose of topic compaction if we have to 
receive all messages the first time, and then only the last one the second 
time...what do you think? Can you try to restart consumer sub2 a second time 
without producing more messages? you should receive only last message now...


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to