mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-11-18 13:51:22 +00:00
forgot to flush
This commit is contained in:
1 parent
5827d8b137
commit
d4cf4a7e5f
1 file changed
+2
@@ -30,6 +30,7 @@ class KafkaClient(object):
|
||||
|
||||
for report in aggregate_reports:
|
||||
self.producer.send(aggregate_topic, report)
|
||||
self.producer.flush()
|
||||
|
||||
|
||||
def save_forensic_reports_to_kafka(self, forensic_reports, forensic_topic):
|
||||
@@ -49,3 +50,4 @@ class KafkaClient(object):
|
||||
|
||||
for report in forensic_reports:
|
||||
self.producer.send(forensic_topic, report)
|
||||
self.producer.flush()
|
||||
Reference in new issue
Block a user