Introspect server status

The /info resource gives you information about the status of a ksqlDB Server, which can be useful for health checks and troubleshooting. You can use the curl command to query the /info endpoint:

curl -sX GET "http://localhost:8088/info" | jq '.'

Your output should resemble:

{
  "KsqlServerInfo": {
    "version": "0.8.0",
    "kafkaClusterId": "j3tOi6E_RtO_TMH3gBmK7A",
    "ksqlServiceId": "default_"
  }
}

You can also check the health of your ksqlDB server by using the /healthcheck resource:

curl -sX GET "http://localhost:8088/healthcheck" | jq '.'

Your output should resemble:

{
  "isHealthy": true,
  "details": {
    "metastore": {
      "isHealthy": true
    },
    "kafka": {
      "isHealthy": true
    }
  }
}

Last update: 2020-03-19