Make sure the Batch Producer timer 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
Make sure the Batch Producer timer 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

xujun10110/pykafka,agoragames/pykafka,dsully/pykafka