Created
May 1, 2019 09:58
-
-
Save rmoff/3dc53b0dfede6809fb0091ce0296f9a8 to your computer and use it in GitHub Desktop.
Show status of all Kafka Connect connectors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -s "http://localhost:8083/connectors"| \ | |
jq '.[]'| \ | |
xargs -I{connector_name} curl -s "http://localhost:8083/connectors/"{connector_name}"/status" | \ | |
jq -c -M '[.name,.connector.state,.tasks[].state]|join(":|:")' | \ | |
column -s : -t | \ | |
sed 's/\"//g' | \ | |
sort |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@juzn01 a good place to go for help is https://www.confluent.io/en-gb/community/ask-the-community/