mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-05-13 23:45:26 +00:00
forgot to flush
This commit is contained in:
@@ -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