Overview
 

Intro

Fluvio Connector Development Kit (CDK) is a command-line tool whose primary goal is to help developers build, test, deploy Connectors, and publish them to the Hub. CDK only supports connectors developed in the Rust programming language. Other languages will be added in future releases.

 

Requirements

Install Rust compiler and Cargo. See https://www.rust-lang.org/tools/install for installation instructions.

You can run and test CDK connectors with downloaded connectors from the hub, but if you want to build connectors, the rust compiler should have a musl target installed.

After installing the standard rust toolchain, add the musl toolchain:

rustup target add x86_64-unknown-linux-musl

Some Linux distributions will also require adding a musl compiler package.

 

Steps

CDK provides a set of commands to help developers build, test, and publish Connector:

  1. Generate a Connector
  2. Build and Test
  3. Start and Shutdown
  4. Troubleshooting
  5. Secrets
  6. Publish to Connector Hub
  7. Use Examples in Github
 

References