This connector is available as a built-in connector on StreamNative Cloud.
Prerequisites
- If you don’t already have a collection in Zilliz Cloud or Milvus cluster, create a collection with a vector field.
- Collect the
endpoint,token, andcollection.nameparameters from your Zilliz Cloud instance or Milvus cluster.
Quick Start
- Setup the kcctl client: doc
-
Set up a Milvus cluster, we can set up a local Milvus cluster using docker-compose:
-
Initialize the local Milvus cluster, below is a python script to do so:
-
Create a JSON file like the following:
-
Run the following command to create the connector:
Configuration
The Milvus Kafka Connect Sink connector is configured using the following Required properties:
For more information about the configuration properties, see the offical Milvus Kafka Connect Sink Connector documentation.
Known Issues
- The Milvus Kafka Connect Sink connector does not support the dynamic fields feature yet, and when the dynamic fields feature enabled on the Milvus server, or enabled on the Zilliz Cloud instance, the connector will not work properly and throw below error: