From f9605df04bb63a6794ea4b13c0b9eb31d43786c1 Mon Sep 17 00:00:00 2001 From: Elia Migliore Date: Fri, 15 Sep 2023 13:56:43 +0200 Subject: [PATCH] fix: explicitly set retries to 0 --- karapace/kafka_utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/karapace/kafka_utils.py b/karapace/kafka_utils.py index bcb126b4d..33a55a580 100644 --- a/karapace/kafka_utils.py +++ b/karapace/kafka_utils.py @@ -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