Skip to main content
Version: 0.11.11

Overview - Build Your Own Connector

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.

$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

For additional information visit Install Rust guide.

Next add the musl toolchain:

$ rustup target add x86_64-unknown-linux-musl

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

Steps

The CDK command line allows developers to build, test, and publish Connectors to the Hub:

  1. Generate a Connector
  2. Build and Test
  3. Start and Shutdown
  4. Logging
  5. Secrets
  6. Publish to Connector Hub

References

You may use the following github repositories as inspiration

Template Connectors

Template for bootstrapping a source repository:

Official Connectors

Source code repo for the InfinyOn official connectors:

Experimental Connectors

These connectors are not guaranteed to work with latest fluvio: