Skip to content

Commit

Permalink
convert to bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
dspeck1 committed Oct 1, 2024
1 parent 7efcdbf commit 0731a95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ async def fan_out_msg(
data
):
logging.info(f"sending msg {data}")
await producer.send_and_wait(fan_out_topic, json.dumps(data))
await producer.send_and_wait(fan_out_topic, b(json.dumps(data)))


async def main() -> None:
Expand Down

0 comments on commit 0731a95

Please sign in to comment.