Start & Shutdown
This section assumes my-connector
project has been generated.
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
CDK offers a convenience function to list running connectors:
$ cdk deploy list
NAME STATUS
my-my-connector-test-connector Running
You can use the connector name to shut it down.
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.