mirror of
https://github.com/valitydev/clickhouse-sink-connector.git
synced 2024-11-06 18:45:27 +00:00
15 lines
459 B
Bash
Executable File
15 lines
459 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Source configuration
|
|
CUR_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
|
|
source "${CUR_DIR}/debezium-connector-config.sh"
|
|
|
|
echo "Version:"
|
|
curl -H "Accept:application/json" "${CONNECT_URL}" 2>/dev/null | jq .
|
|
|
|
echo "Connectors:"
|
|
curl -H "Accept:application/json" "${CONNECTORS_MANAGEMENT_URL}" 2>/dev/null | jq .
|
|
|
|
echo "Test connector status:"
|
|
curl -X GET -H "Accept:application/json" "${CONNECTOR_URL}" 2>/dev/null | jq .
|