lhotari opened a new issue, #23261:
URL: https://github.com/apache/pulsar/issues/23261

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) 
and found nothing similar.
   
   
   ### Read release policy
   
   - [X] I understand that unsupported versions don't get bug fixes. I will 
attempt to reproduce the issue on a supported version of Pulsar client and 
Pulsar broker.
   
   
   ### Version
   
   any released version, master branch
   
   ### Minimal reproduce step
   
   This was found when analysing the source code, so no reproducer yet.
   A test application that consumes and acks messages while a topic is being 
frequently unloaded will reproduce this issue.
   
   ### What did you expect to see?
   
   When ack receipt is enabled, the broker should respond with a failure when 
it discards an ack.
   
   ### What did you see instead?
   
   When the consumer isn't found, it's silently discarded. There's debug 
logging, but no ack receipt response logic to respond with an error:
   
https://github.com/apache/pulsar/blob/6c300f515dbf245620b14a844d9ff6215426e992/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/ServerCnx.java#L1982-L1988
   and
   
https://github.com/apache/pulsar/blob/6c300f515dbf245620b14a844d9ff6215426e992/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/ServerCnx.java#L1952-L1960
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


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

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

Reply via email to