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
You can use the same cdk deploy
command to run an official connector from InfinyOn Hub:
List available connectors:
$ cdk hub list
Download a certified connector from the Hub (requires a free InfinyOn Cloud account):
$ cdk hub download infinyon/http-source@0.3.0
Use .ipkg
connector package file with the --ipkg
option to run it:
$ cdk deploy start --ipkg infinyon-http-source-0.3.0.ipkg --config sample-config.yaml
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.