Cloud and BYOC for Orca Agent Engine are in Private Preview — request an invite
Docs

Kafka Connect

Deploy and operate Kafka Connect connectors in Orca Agent Engine on StreamNative Cloud.

Kafka Connect runs source and sink connector plugins against a managed Connect worker. The Workspace registry exposes worker health, plugin discovery, connector configuration, lifecycle, tasks, topics, and offsets.

This resource is a StreamNative Cloud capability served under /apis/cloud.sn.io/v1. A self-hosted engine does not advertise the cloud.sn.io extension group. The ork CLI and TypeScript SDK check GET /apis and report that the capability is unavailable before sending the resource request.

Get your registry endpoint

Registry endpoint

Examples on this page target your registry endpoint - the deployment host root, with no path suffix. For CLI, set ORCA_REGISTRY_URL and exactly one of ORCA_ACCESS_TOKEN (Bearer) or ORCA_API_KEY (x-api-key). For TypeScript SDK, set ORCA_BASE_URL / ORCA_API_KEY (Bearer). To find the endpoint, see Connect to the registry.

Connector configuration fields

FieldTypeRequiredDescription
namestringYesConnector name.
configobjectYesString-to-string Kafka Connect configuration. Must include connector.class.
config.sn.connectionstringYesWorkspace Kafka connection.
initial_stateenumNoRUNNING, PAUSED, or STOPPED.

Connector plugins define the rest of the config map. Inspect the installed plugin list and config definition before applying a connector.

Discover plugins

ork kafka-connect get plugins -o json
ork kafka-connect describe plugin io.confluent.connect.s3.S3SinkConnector -o json

Create or update a connector

The CLI apply command creates the connector when it does not exist and replaces its configuration when it does. --connection writes sn.connection into the config before sending it.

connector.json
{
  "name": "event-archive",
  "initial_state": "RUNNING",
  "config": {
    "connector.class": "io.confluent.connect.s3.S3SinkConnector",
    "tasks.max": "2",
    "topics": "events"
  }
}
ork kafka-connect apply \
  --config-file connector.json \
  --connection events-kafka \
  -o json

To replace an existing connector's configuration through the SDK, call orca.cloud.connectors.kafka.connectors.updateConfig(name, completeConfig). The raw route is PUT /apis/cloud.sn.io/v1/connectors/kafka/connectors/{name}/config.

Operate Kafka Connect

CapabilityCLITypeScript
Worker health/infoork kafka-connect health, info.kafka.health(), .kafka.serverInfo()
List/retrieve/delete connectorsget connectors, describe connector, delete connector.connectors.list(), .retrieve(), .delete()
Configapply, patch connector.retrieveConfig(), .updateConfig()
Status and tasksget status, get tasks, get task-status.retrieveStatus(), .listTasks(), .retrieveTaskStatus()
Lifecyclepause, resume, stop, restart.pause(), .resume(), .stop(), .restart()
Offsetsget offsets, patch offsets, delete offsets.retrieveOffsets(), .updateOffsets(), .resetOffsets()
Active topicsget topics, reset topics.retrieveActiveTopics(), .resetActiveTopics()

The CLI reference documents config patching, task restart options, offset formats, and confirmation behavior.

Connector plugin config validation is not implemented. The Cloud OpenAPI operation declares no successful response, the TypeScript SDK deliberately omits it, and the CLI does not expose it. Inspect the plugin definition, then apply the complete config and use the returned API error to correct invalid fields.

Permissions

Treat every credential that can call the Workspace's cloud.sn.io routes as full access to its Kafka Connect connectors, and separate access with Workspaces. See Control registry access.

What's next

On this page