Configure Kafka Connect¶
Kafka Connect is a tool for streaming data between Kafka and other data systems. It uses connectors to stream data into or out of Kafka. Connectors in Connect define where data should be copied to and from.
Confluent for Kubernetes (CFK) Blueprints provides the platform admins the capability to install and manage connectors via the ConfluentPlatformBlueprint and the Confluent cluster custom resource (CR), such as to:
- Control how to load specific connectors on the Connect cluster.
- Provide credentials using mounted secrets.
At the deployment level, the ConnectCluster CR should specify which connectors should be installed for the specific Confluent Platform deployment.
Adding connectors to an existing Connect cluster does not require the Connect cluster to be restarted.
Configure how to load connector plugins¶
Connector plugins are the binaries or JARs that implement the classes/abstractions of connectors. Connector plugins are installed in Connect workers.
When configuring Connect, you need to specify how to install connector plugins for the Connect deployment.
we should also talk about how connectCluster can configure to load the specific connectors supported by blueprint. The connectCluster Class references the supported connector via name.
After you install the connector plugins as described in this topic, see Manage Connectors using Confluent for Kubernetes Blueprints for declaratively managing connectors using the Connector custom resource definition (CRD).
CFK Blueprints can download and install connector plugins/JARs from Confluent Hub or a custom artifacts location URL.
CFK Blueprints does not support downloading connectors from two different location types. You can set a ConnectClusterClass CR to download either from Confluent Hub or from a custom location.
To store the connector plugins, you need to have a specified size of node volume
available. The default size is 4 GB, but you can specify a different size in the
ConnectClusterClass CR using
Provide the download info in the ConnectClusterClass CR:
kind: ConnectClusterClass spec: provisioner: cfk: connectorPlugins: confluentHubPlugins: ---  - name: ---  owner: ---  version: ---  urlPlugins: ---  - name: ---  archivePath: ---  checksum: ---  storageLimit: --- 
urlPlugins() and not both.
 Provide an array of plugins to be downloaded from Confluent Hub.
 Required. Specify a list of the connector plugins allowed to be installed on the Connect cluster.
The connectCluster CR references these names to select the connectors to install in
 Required. The individual or organization that provides the plugin, for example,
 Required. The version of this plugin. Set to the version of the plugin or
 Provide an array of plugins to be downloaded from a custom location.
 Required. Specify a list of the connector plugins allowed to be installed on the Connect cluster. The connectCluster CR references these names to select the connectors to install in
 Required. The archive path of the
zipfile that contains this plugin.
 Required. Defines the sha512sum checksum of the plugin’s remote file. It is used to verify the remote file after download.
 The maximum amount of node volume that can be used to store the connector plugins. The default value is 4 GB.