Hi Team, I am using a datahub client to do metadat...
# ingestion
b
Hi Team, I am using a datahub client to do metadata ingestion from mysql to kafka - But I am getting the following error when I run the recipe CLI -
"Connect to ipv4#127.0.0.1:9092 failed: Connection refused (after 0ms in state CONNECT, 4 identical error(s) suppressed)."
Looks like it is trying to connect to localhost 9092 instead of remote server's kafka. Here is my recipe .yaml source: type: "mysql" config: env: "DEV" username: datahub password: datahub host_port: <RomoteIPAddr>:3306 sink: type: "datahub-kafka" config: connection: bootstrap: "<RomoteIPAddr>:9092" schema_registry_url: "http//&lt;RomoteIPAddr&gt;8081"
c
@brash-sundown-77702 You need to check your networking configuration. Please verify your hosts file as well as dns configuration.
b
Thanks @careful-pilot-86309 - s, it was network configuration issue only. Replacing 'localhost' with the 'IP address of the host server' in
KAFKA_ADVERTISED_LISTENERS=<PLAINTEXT://broker:29092>,PLAINTEXT_<HOST://localhost:9092>
in https://github.com/datahub-project/datahub/blob/master/docker/quickstart/docker-compose.quickstart.yml fixed the issue.
c
Glad to hear that your issue is resolved. 👍