Skip to main content
Version: 0.13.0

Start & Shutdown

This section assumes my-connector project has been generated.

Connector start

[Testing] your connector runs the process in the foreground. Use cdk deploy start to run your connector in the background:

$ cdk deploy start --config sample-config.yaml
Log file: /private/tmp/my-connector/my-connector.log
Connector runs with process id: 88589

List running connectors

CDK offers a convenience function to list running connectors:

$ cdk deploy list
 NAME                            STATUS
 my-my-connector-test-connector  Running

Test Result

Consume to check the result:

$ fluvio consume test-my-connector-topic -B
Hello, Fluvio - 1
Hello, Fluvio - 2
Hello, Fluvio - 3
Hello, Fluvio - 4
...

Shutdown Connector

Stop a running your connector with cdk deploy shutdown

$ cdk deploy shutdown --name my-my-connector-test-connector
Shutting down connector: my-my-connector-test-connector
pid: 56421

In the next section, we'll take a look at the logs for troubleshooting.