datahub icon indicating copy to clipboard operation
datahub copied to clipboard

lineage_emitter_kafka.py connection refused

Open maxmanus96 opened this issue 2 years ago • 0 comments

Describe the bug When I tried to run lineage_emitter_kafka.py result is connection refused. Broker is located on port 29092, I tried with public IP/localhost but no change when I tried with default value "broker" it can't solve the naming says: "Failed to resolve 'broker:29092". Port is already open on firewall. Datahub runs with Docker and everything is located on Azure VM.

To Reproduce Steps to reproduce the behavior:

  1. Download the script from here https://raw.githubusercontent.com/datahub-project/datahub/master/metadata-ingestion/examples/library/lineage_emitter_kafka.py
  2. Open file with nano and change the "broker" and "schema-registry" parts with yours
  3. Run script with python3

Expected behavior Script will run without error.

Screenshots lineageError

Desktop (please complete the following information):

  • OS: Linux 20.04
  • Browser: Edge
  • Version latest

Additional context None.

maxmanus96 avatar Aug 09 '22 16:08 maxmanus96

I changed the config and now it is working. Solution is changing schema_registry url and bootstrap with your publicIP.

maxmanus96 avatar Aug 18 '22 13:08 maxmanus96