dsully/pykafka — pull request #19 by rancerbeta (2013-06-06 03:50:45+00:00)
Title: Ensure Batch Producer can survive a fork

* If you start the Batch producer and then fork it, the fork will
* contain the Producer. However, the timer thread will die,
* causing requests to pile up in the queue and not be sent.
*
*A max respawn was also added so the batchproducer doesn't continuosly
*restart the timer if there is something seriously wrong and causing the
*timer to die for other reasons