- install docker/docker-compose
- clone this repo!
docker-compose up -d
Go control-center:
localhost:9021
Run the KSQL script:
scripts/03_ksql.ksql';
exit;
./04_elastic_dynamic_template
Write topic runner_status
and runner_location
to Elastic
./05_kafka_to_elastic_sink
Check connector status:
curl -s "http://localhost:8083/connectors?expand=info&expand=status" | \
jq '. | to_entries[] | [ .value.info.type, .key, .value.status.connector.state,.value.status.tasks[].state,.value.info.config."connector.class"]|join(":|:")' | \
column -s : -t| sed 's/\"//g'| sort