You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/02/24 22:55:43 UTC

[GitHub] [pulsar] megfigura opened a new issue #9703: non-persistent topics don't seem to work with Key_Shared

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:
users@infra.apache.org



[GitHub] [pulsar] MarvinCai commented on issue #9703: non-persistent topics don't seem to work with Key_Shared

Posted by GitBox <gi...@apache.org>.
MarvinCai commented on issue #9703:
URL: https://github.com/apache/pulsar/issues/9703#issuecomment-785491446


   Can reproduce the error, I'll fix it.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [pulsar] megfigura commented on issue #9703: non-persistent topics don't seem to work with Key_Shared

Posted by GitBox <gi...@apache.org>.
megfigura commented on issue #9703:
URL: https://github.com/apache/pulsar/issues/9703#issuecomment-785516560


   Hi @MarvinCai, thank you! Do you know at this point if the bug is in the broker or the java client? Thanks!


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [pulsar] MarvinCai edited a comment on issue #9703: non-persistent topics don't seem to work with Key_Shared

Posted by GitBox <gi...@apache.org>.
MarvinCai edited a comment on issue #9703:
URL: https://github.com/apache/pulsar/issues/9703#issuecomment-791877482


   Sorry for the delay, was trying to wait for some issue(#9713) related to test to be fixed first.
   I'll fix this soon.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [pulsar] MarvinCai edited a comment on issue #9703: non-persistent topics don't seem to work with Key_Shared

Posted by GitBox <gi...@apache.org>.
MarvinCai edited a comment on issue #9703:
URL: https://github.com/apache/pulsar/issues/9703#issuecomment-785491446


   I'm able to reproduce the error, I'll work on the fix.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [pulsar] sijie closed issue #9703: non-persistent topics don't seem to work with Key_Shared

Posted by GitBox <gi...@apache.org>.
sijie closed issue #9703:
URL: https://github.com/apache/pulsar/issues/9703


   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [pulsar] MarvinCai commented on issue #9703: non-persistent topics don't seem to work with Key_Shared

Posted by GitBox <gi...@apache.org>.
MarvinCai commented on issue #9703:
URL: https://github.com/apache/pulsar/issues/9703#issuecomment-785559653


   @megfigura  Hi, I verified the bug is in broker.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [pulsar] MarvinCai edited a comment on issue #9703: non-persistent topics don't seem to work with Key_Shared

Posted by GitBox <gi...@apache.org>.
MarvinCai edited a comment on issue #9703:
URL: https://github.com/apache/pulsar/issues/9703#issuecomment-785491446


   Can reproduce the error, I'll work on the fix.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [pulsar] dsm1212 commented on issue #9703: non-persistent topics don't seem to work with Key_Shared

Posted by GitBox <gi...@apache.org>.
dsm1212 commented on issue #9703:
URL: https://github.com/apache/pulsar/issues/9703#issuecomment-790198993


   This pretty seriously impacts using non-persistent. Do you have any idea how long it might take for a fix? Or if you pin it down maybe you will see a work-around to share. thx


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [pulsar] MarvinCai commented on issue #9703: non-persistent topics don't seem to work with Key_Shared

Posted by GitBox <gi...@apache.org>.
MarvinCai commented on issue #9703:
URL: https://github.com/apache/pulsar/issues/9703#issuecomment-791877482


   Sorry for the delay, was trying to wait for some issue related to test to be fixed first.
   I'll fix this soon.


----------------------------------------------------------------
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:
users@infra.apache.org