SwiftKafka icon indicating copy to clipboard operation
SwiftKafka copied to clipboard

Config properties not reflecting in rdkafka

Open aneee004 opened this issue 3 years ago • 0 comments

I have added the following config property in my Swift file.

config["bootstrap.servers"] = "localhost:9092"

I tested the property using breakpoint, and it is successfully reflected.

(lldb) po config["bootstrap.servers"]
▿ Optional<String>
  - some : "localhost:9092"

However, I still get the following warning and producer messages do not pass through.

%5|1667541464.556|CONFWARN|rdkafka#producer-1| [thrd:app]: No `bootstrap.servers` configured: client will not be able to connect to Kafka cluster

aneee004 avatar Nov 04 '22 06:11 aneee004