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/12 16:20:40 UTC

[GitHub] [pulsar] TheNotary opened a new issue #9579: issues connecting to standalone docker compose from within docker

TheNotary opened a new issue #9579:
URL: https://github.com/apache/pulsar/issues/9579


   **Describe the bug**
   When docker compose is used to orchestrate the standalone pulsar service along with a python consumer and producer client, there is an apparent buffering for messages before the client receives them.  
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. clone down https://github.com/TheNotary/pulsar-latency-test
   2. use `docker-compose up -d standalone` to boot the standalone pulsar service
   3. Use `docker-compose up python_pulsar_consumer` to start a pulsar consumer
   4. In terminal 2, use `docker-compose up -d python_pulsar_producer && docker attach pulsar-latency-test_python_pulsar_producer_1` to start and attach tty to the producer
   5. In terminal 2, press enter to send 10 messages to pulsar
   6. Notice that the consumer terminal will not report seeing those messages until you submit a good 100 messages by pressing enter > 10 times (each enter fires of 10 messages).  
   
   **Expected behavior**
   One would expect that a single message from a producer would reach a consumer within the same day, even if additional messages were not sent.  
   
   **Screenshots**
   If applicable, add screenshots to help explain your problem.
   
   **Desktop (please complete the following information):**
    - OS: OSX 10.15.7
    - Docker 3.1.0
    - Pulsar 2.7.0
   
   **Additional context**
   When the same python consumer executes outside of docker, it works without the buffering effect.  Very peculiar.  
   


----------------------------------------------------------------
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] TheNotary commented on issue #9579: Issues connecting to standalone docker compose from within docker

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


   Yeah I think no one on the team had time to look into it or respond.  I don't use Pulsar at the moment so will just close this.  


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

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



[GitHub] [pulsar] TheNotary closed issue #9579: Issues connecting to standalone docker compose from within docker

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


   


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

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



[GitHub] [pulsar] TheNotary edited a comment on issue #9579: Issues connecting to standalone docker compose from within docker

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


   A co-worker of mine was able to reproduce this issue.  I've also reproduced it on a second MacBook pro.  Is this a known bug in Pulsar?  I'm going to try deploying Pulsar and a consumer to Kubernetes this week, hopefully the messages will stream more smoothly by changing that what container platform is in use.  


----------------------------------------------------------------
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] TheNotary commented on issue #9579: Issues connecting to standalone docker compose from within docker

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


   A coworker of mine was able to reproduce this issue.  I've also reproduced it on a second MacBook pro.  Is this a known bug in Pulsar?  I'm going to try deploying Pulsar and a consumer to Kubernetes this week, hopefully the messages will stream more smoothly by changing that what container platform is in use.  


----------------------------------------------------------------
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] codelipenghui commented on issue #9579: Issues connecting to standalone docker compose from within docker

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


   The issue had no activity for 30 days, mark with Stale label.


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

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