++ Updates. On Tue, Sep 27, 2022 at 12:54 PM Namita Jaokar <jaokarnami...@gmail.com> wrote:
> Hi All, > > I am currently exploring a scenario where my producer and consumer are at > different networks and systems. > > Below is my scenario: > > My kafka producer is on a client network on a system that does not have > Apache kafka installed. > My Kafka consumer is on my network and my system. > I have the zookeeper and kafka server setup at the consumer system. > I want the producer to send data to the consumer which is on my network. I > have tried this case in my spring boot application. > It gives me an error stating [Producer clientId=producer-1] Connection to > node -1 (localhost/127.0.0.1:9092) could not be established. Broker may > not be available. > > How will I let my producer and consumer communicate in this case? > > What configurations are required to establish the connection between the > two. I am using Windows Operating System and trying out above scenario in > java. > Please advise. > > Thanks & Regards, > Namita Jaokar > > On Tue, Sep 27, 2022 at 12:54 PM Namita Jaokar <jaokarnami...@gmail.com> wrote: > Hi All, > > I am currently exploring a scenario where my producer and consumer are at > different networks and systems. > > Below is my scenario: > > My kafka producer is on a client network on a system that does not have > Apache kafka installed. > My Kafka consumer is on my network and my system. > I have the zookeeper and kafka server setup at the consumer system. > I want the producer to send data to the consumer which is on my network. I > have tried this case in my spring boot application. > It gives me an error stating [Producer clientId=producer-1] Connection to > node -1 (localhost/127.0.0.1:9092) could not be established. Broker may > not be available. > > How will I let my producer and consumer communicate in this case? > What configurations are required to establish the connection between the > two. > Please advise. > > Thanks & Regards, > Namita Jaokar > >