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

2024-09-16 Thread Hamer, Bart
As pointed out by Josep Prat and James Olsen the analysis of the problem was incorrect. After sending my original post I realized that the addresses of the servers in the bootstrap.servers url were separated by a semicolon, instead of a comma. In the example error message, I manually typed the n

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

2024-09-11 Thread James Olsen
Looking at org.apache.kafka.clients.ClientUtils.parseAndValidateAddresses(List, ClientDnsLookup) shows that error message is referring to a singular url from the list. So the issue is earlier in the chain - the list is not being decoded from the CSV. > On 12 Sep 2024, at 03:03, Josep Prat wr

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

2024-09-11 Thread Josep Prat
Hi Bart, I'm not an expert in this area, but looking at the change [1] in question and the usage of this regex, I'd say it was never the intention to accept comma separated hosts with ports (and optional protocol). The only 2 usages of HOST_PORT_PATTERN can be found in lines 538 [2] and 548 [3] in