vert-x3 / vertx-kafka-client

Reactive Kafka Client for Vert.x
Apache License 2.0
84 stars 82 forks source link

Invalid Kafka Producer Property makes KafkaProducer.create() hang #272

Open Spanjer1 opened 2 months ago

Spanjer1 commented 2 months ago

Version

4.5.7

Context

When wrong property is given in the Kafka properties it stops doing anything. No error, no logs, no nothing. It also doesn't continue processing.

I have only tested this when setting the property "acks" to "one".

Do you have a reproducer?

https://github.com/Spanjer1/reproducer-kafka-vertx-config

Steps to reproduce

  1. Put wrong setting like "acks": "one" in Kafka producer properties
  2. nothing happens. System.out.print("Producer is created"); is never run. https://github.com/Spanjer1/reproducer-kafka-vertx-config/blob/63c44e6962324103bdcbcab884f5030f7f731932/src/main/java/nl/reinspanjer/ProducerVerticle.java#L25

Extra

openjdk version "17.0.10" 2024-01-16 OpenJDK Runtime Environment JBR-17.0.10+1-1087.17-jcef (build 17.0.10+1-b1087.17) OpenJDK 64-Bit Server VM JBR-17.0.10+1-1087.17-jcef (build 17.0.10+1-b1087.17, mixed mode)