early-airplane-84388
09/17/2022, 5:58 AMFailed to instantiate Actions Pipeline using config {'name': 'hello_world', 'source': {'type': 'kafka', 'config': {'connection': {'bootstrap': '<http://34.1XX.XX.XXX:9092>', 'schema_registry_url': '<http://34.1XX.XX.XXX:8081>'}}}, 'action': {'type': 'hello_world'}} due to
'Caught exception while attempting to instantiate Event Source of type kafka' due to
'1 validation error for KafkaEventSourceConfig
connection -> bootstrap
host contains bad characters, found <http://34.1XX.XX.XXX> (type=assertion_error)'.
Run with --debug to get full stacktrace.
e.g. 'datahub --debug actions -c hello_world.yaml'
early-airplane-84388
09/19/2022, 5:15 AMmammoth-bear-12532
http://...
in your kafka bootstrap config ... when it is usually just the raw ip address or hostname of your kafka brokerearly-airplane-84388
09/20/2022, 4:59 AM%4|1663562981.536|FAIL|rdkafka#consumer-1| [thrd:<http://34.1XX.XX.XXX:9092/bootstrap|34.1XX.XX.XXX:9092/bootstrap>]: <http://34.1XX.XX.XXX:9092/bootstrap|34.1XX.XX.XXX:9092/bootstrap>: Connection setup timed out in state CONNECT (after 30031ms in state CONNECT)
%4|1663563012.535|FAIL|rdkafka#consumer-1| [thrd:<http://34.1XX.XX.XXX:9092/bootstrap|34.1XX.XX.XXX:9092/bootstrap>]: <http://34.1XX.XX.XXX:9092/bootstrap|34.1XX.XX.XXX:9092/bootstrap>: Connection setup timed out in state CONNECT (after 30031ms in state CONNECT), 1 identical error(s) suppressed)
...
Here is the hello_word.yaml example that I'm using:
name: "hello_world"
source:
type: "kafka"
config:
connection:
bootstrap: ${KAFKA_BOOTSTRAP_SERVER:-<http://34.1XX.XX.XXX:9092|34.1XX.XX.XXX:9092>}
schema_registry_url: ${SCHEMA_REGISTRY_URL:-<http://34.1XX.XX.XXX:8081>}
action:
type: "hello_world"
mammoth-bear-12532
early-airplane-84388
09/20/2022, 12:39 PMkcat -b <http://34.1XX.XX.XXX:9092|34.1XX.XX.XXX:9092> -X receive.message.max.bytes=2147483647 -t EntityChangeEvent_v1
But got the below error ->
% ERROR: Failed to query metadata for topic EntityChangeEvent_v1: Local: Broker transport failure
PS: In localhost I'm able to run the DataHub Action & also connect via kcat but couldn't do so for the DataHub on Kubernetes.early-airplane-84388
09/20/2022, 1:03 PMmammoth-bear-12532
mammoth-bear-12532
incalculable-ocean-74010
09/20/2022, 3:31 PMearly-airplane-84388
09/20/2022, 5:07 PMincalculable-ocean-74010
09/23/2022, 2:56 PMincalculable-ocean-74010
09/23/2022, 2:57 PMincalculable-ocean-74010
09/23/2022, 2:58 PMincalculable-ocean-74010
09/23/2022, 2:59 PMincalculable-ocean-74010
09/23/2022, 3:00 PM