You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pulsar.apache.org by gi...@git.apache.org on 2017/08/11 01:18:24 UTC

[GitHub] merlimat opened a new pull request #675: Interrupt the Python consumer when receiving SIGINT

merlimat opened a new pull request #675: Interrupt the Python consumer when receiving SIGINT
URL: https://github.com/apache/incubator-pulsar/pull/675
 
 
   ### Motivation
   
   When a Python consumer is blocked on a `consumer.receive()` call, it will ignore the SIGINT from a `Ctrl-C` interruption. 
   
   The consumer appears to be frozen, and the Python process is stuck, waiting for more messages.
   
   We need to make sure to respect the SIGINT, at least for the `consumer.receive()` which block undefinitely.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services