Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasTurner23 committed Oct 19, 2024
1 parent 7fd62a4 commit 36c4b89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/workflows/airqo_etl_utils/message_broker_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ def publish_to_topic(
if not auto_partition:
self.partition_loads[selected_partition] += 1

producer.close()
producer.flush()

def consume_from_topic(
self,
Expand Down

0 comments on commit 36c4b89

Please sign in to comment.