megfigura opened a new issue #9703:
URL: https://github.com/apache/pulsar/issues/9703


   **Describe the bug**
   With a non-persistent topic, I see messages published in the topic stats, 
but consumers do not consume them if they use Key_Shared. Other consumer modes 
work fine.
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. In one window, start consumer: bin/pulsar-client consume --hex -n 0 -s 
cli -p Earliest -t Key_Shared non-persistent://public/default/test
   2. In another window, start producer: bin/pulsar-client produce -m hi,bye -k 
a_key non-persistent://public/default/test
   
   **Expected behavior**
   The consumer should receive the 2 messages, however nothing happens on the 
consumer side.
   
   Checking the "topic stats" in the admin client shows the consumer is 
present, and messages are published, but the consumer stays at 0 messages 
received.
   
   Changing the consumer to Shared works fine, but of course the key doesn't 
apply.
   
   **Desktop (please complete the following information):**
    - OS: Pulsar docker image, deployed with Helm chart ("pulsar-mini") on 
Minikube
   
   **Additional context**
   I used the latest Helm chart (with Docker images 2.7.0) and deployed it on 
Minikube following the instructions here: 
https://pulsar.apache.org/docs/en/kubernetes-helm/


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