Skip to content

Commit

Permalink
fix: explicitly set retries to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
eliax1996 committed Sep 15, 2023
1 parent a33b4e1 commit f9605df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions karapace/kafka_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def kafka_producer_from_config(config: Config) -> KafkaProducer:
sasl_plain_username=config["sasl_plain_username"],
sasl_plain_password=config["sasl_plain_password"],
kafka_client=KarapaceKafkaClient,
retries=0,
)
try:
yield producer
Expand Down

0 comments on commit f9605df

Please sign in to comment.