Skip to content

Commit

Permalink
await producer start
Browse files Browse the repository at this point in the history
  • Loading branch information
dspeck1 committed Oct 1, 2024
1 parent f46d0c4 commit d2e513a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ async def fan_out_msg(
fan_out_topic,
data
):
await producer.start()
logging.info(f"sending msg {data}")
#await producer.send_and_wait(fan_out_topic, b(json.dumps(data)))
await producer.send_and_wait(fan_out_topic, b"test")
Expand Down

0 comments on commit d2e513a

Please sign in to comment.