Merge branch '2.1' into develop

This commit is contained in:
Markus Mäkelä
2017-06-20 11:01:08 +03:00
9 changed files with 79 additions and 20 deletions

View File

@ -38,7 +38,7 @@ while True:
if len(buf) == 0:
break
data = buf.encode().strip()
data = buf[:-1]
producer.send(topic=opts.kafka_topic, value=data)
producer.flush()