vertx-kafka-client
vertx-kafka-client copied to clipboard
Invalid Kafka Producer Property makes KafkaProducer.create() hang
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
- Put wrong setting like "acks": "one" in Kafka producer properties
- 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)