Starofall / RTX

Realtime experiment framework for self-adaptions in a big data environment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Connection to kafka failed

Ckkk112138 opened this issue · comments

I was trying to run the experiments using RTX but it kept showing "Error: connection to kafka failed". I am using the kafka through Docker.
problem

If you are using Kafka through Docker on Windows, kafak ist bound to localhost.
So it is not able to connect to it through the domain "kafka".

You can either change the configuration file to link to "localhost:9092" instead of "kafka:9092" OR create a local dns mapping in your Windows hosts file that assigns kafka to 127.0.0.1