Getting the DataStax Connector status

Use the Apache Pulsar™ administration tool sinks status command to display the status of the DataStax Apache Pulsar™ Connector.

bin/pulsar-admin sinks status --name sink-name

where

  • sink-name - The sink name associated with the DataStax Apache Pulsar™ Connector.

Example

bin/pulsar-admin sinks status --name cass-sink-kv
{
  "numInstances" : 1,
  "numRunning" : 1,
  "instances" : [ {
    "instanceId" : 0,
    "status" : {
      "running" : true,
      "error" : "",
      "numRestarts" : 0,
      "numReadFromPulsar" : 0,
      "numSystemExceptions" : 0,
      "latestSystemExceptions" : [ ],
      "numSinkExceptions" : 0,
      "latestSinkExceptions" : [ ],
      "numWrittenToSink" : 0,
      "lastReceivedTime" : 0,
      "workerId" : "c-standalone-fw-localhost-8080"
    }
  } ]
}