Suraj Dubey

Suraj Dubey

  • 953
  • 816
  • 42.9k

Connection issue while sending message producer to consumer.

Dec 2 2021 5:52 AM

I am created two microservices. and i am sending message form producer to consumer but while i am running my application i 
gatting issue off connection not gatting idea what is worng happen there. 

output 
%3|1638424059.742|FAIL|rdkafka#producer-1| [thrd:localhost:9092/bootstrap]: localhost:9092/bootstrap: Connect to ipv4#127.0.0.1:9092 failed: Connection refused (after 0ms in state CONNECT, 30 identical error(s) suppressed)
%3|1638424059.742|ERROR|rdkafka#producer-1| [thrd:app]: rdkafka#producer-1: localhost:9092/bootstrap: Connect to ipv4#127.0.0.1:9092 failed: Connection refused (after 0ms in state CONNECT, 30 identical error(s) suppressed)
%3|1638424067.974|FAIL|rdkafka#producer-5| [thrd:localhost:9092/bootstrap]: localhost:9092/bootstrap: Connect to ipv4#127.0.0.1:9092 failed: Connection refused (after 0ms in state CONNECT, 30 identical error(s) suppressed)
%3|1638424067.974|ERROR|rdkafka#producer-5| [thrd:app]: rdkafka#producer-5: localhost:9092/bootstrap: Connect to ipv4#127.0.0.1:9092 failed: Connection refused (after 0ms in state CONNECT, 30 identical error(s) suppressed)
%3|1638424069.778|FAIL|rdkafka#producer-3| [thrd:localhost:9092/bootstrap]: localhost:9092/bootstrap: Connect to ipv4#127.0.0.1:9092 failed: Connection refused (after 0ms in state CONNECT, 30 identical error(s) suppressed)
%3|1638424069.778|ERROR|rdkafka#producer-3| [thrd:app]: rdkafka#producer-3: localhost:9092/bootstrap: Connect to ipv4#127.0.0.1:9092 failed: Connection refused (after 0ms in state CONNECT, 30 identical error(s) suppressed)
The program 'dotnet' has exited with code 0 (0x0).

Please sugget what is wrong there. i am new using kakfa. and wested lots of time on it but not gatting solution. please give solution. your answer will be appriciate. 

thanks.
 


Answers (1)