Skip to content

Commit

Permalink
acks="all",
Browse files Browse the repository at this point in the history
  • Loading branch information
extreme4all authored Dec 10, 2023
1 parent 894b216 commit b20a406
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
"source.organizeImports": "explicit"
},
},
"isort.args":["--profile", "black"],
Expand Down
1 change: 1 addition & 0 deletions src/jobs/kafka/players/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ async def kafka_producer():
producer = AIOKafkaProducer(
bootstrap_servers=[APPCONFIG.KAFKA_HOST],
value_serializer=lambda v: json.dumps(v).encode(),
acks="all",
)
await producer.start()
return producer
Expand Down

0 comments on commit b20a406

Please sign in to comment.