fix kafka-logger callback for logtron (#21)
fix kafka-logger callback for logtron (#21)

* fix kafka-logger callback for logtron

* fix flush logic

* when both client are not connected, only buffer 5 sec data

* add parentheses for ||

uber/kafka-logger