-
Notifications
You must be signed in to change notification settings - Fork 892
Open
Description
I just tried a basic produce sample from this repo and I can't get the library to connect to my remote MacOSX that has the Kafka broker. What I find suspicious is that the console shows and attempt to connect into my local host machine when i'm defining a remote IP.
I defined the args[0] as "192.168.68.70:19092"
string brokerList = args[0];
string topicName = args[1];
var config = new ProducerConfig { BootstrapServers = brokerList };
using (var producer = new ProducerBuilder<string, string>(config).Build())
%3|1773171019.654|FAIL|rdkafka#producer-1| [thrd:localhost:19092/0]: localhost:19092/0: Connect to ipv6#[::1]:19092 failed: Unknown error (after 2034ms in state CONNECT)
%3|1773171019.654|ERROR|rdkafka#producer-1| [thrd:app]: rdkafka#producer-1: localhost:19092/0: Connect to ipv6#[::1]:19092 failed: Unknown error (after 2034ms in state CONNECT)
Why is showing the message " localhost:19092" ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels