Skip to main content

SmallRye bootstrap.servers value no longer accepted in kafka-clients v3.8.0

Hi,

One of our Quarkus applications connects to Kafka topics using the kafka-clients library. Quarkus provides support for Apache Kafka through the SmallRye Reactive Messaging framework. According to the SmallRye documentation the bootstrap.servers property in the application.properties file should contain a comma separated list (see the Configuration Reference section on this page: https://smallrye.io/smallrye-reactive-messaging/smallrye-reactive-messaging/3.4/kafka/kafka.html). With kafka-clients v3.7.1 this worked fine, but after upgrading to v3.8.0 starting the application fails with this exception:

org.apache.kafka.common.KafkaException: Failed to construct kafka consumer
Caused by: org.apache.kafka.common.config.ConfigException: Invalid url in bootstrap.servers: kafka://test1:9094,kafka://test2:9094

This is caused by the changed regex pattern named HOST_PORT_PATTERN in the org.apache.kafka.common.utils.Utils class, which no longer accepts a comma separated list.  Could you please look into this?
Thanks!

Met vriendelijke groeten / Kind regards / Mit freundlichen Grüßen,

 

Bart Hamer

Software Specialist

BTO-SM-BAM

 

Aanwezig: ma/di/wo/do

 

 

 

M

+31 (0)6 46 94 13 75

E

Bart.Hamer@tennet.eu

I

www.tennet.eu 

 

TenneT TSO B.V.
Utrechtseweg 310
Arnhem
Postbus 718
6800 AS Arnhem
Nederland

 

Handelsregister: Arnhem  09155985

Denk aan het milieu. Print dit bericht alleen als het noodzakelijk is.

 

Comments