Quick Start
Learn how to install, configure, and run the GridGain Kafka Connector, and how to manage connectors through the Kafka Connect REST API.
Kafka Connect Ecosystem
There are different types of nodes in a distributed Kafka Connect ecosystem. This Kafka documentation uses the following terminology to refer to specific type of a cluster node:
Kafka cluster nodes are called Kafka Brokers
Kafka Connect cluster nodes are called Kafka Connect Workers
GridGain cluster nodes are called GridGain Servers

GridGain Kafka Connector Installation
Kafka Connector installation require 3 steps:
Prepare Connector Package
Register Connector with Kafka
Register Connector with GridGain
Step 1: Prepare Connector Package
The connector ships as the gridgain/gridgain-kafka-connect Confluent Hub component. It is not part of the GridGain server package. Use the component version that matches your GridGain cluster version.
Download the component archive from Confluent Hub, unzip it, and rename the extracted directory to gridgain-kafka-connect. The component's lib directory already contains the GridGain JARs the connector needs.
If your cluster runs GridGain Ultimate Edition, also copy libs/gridgain-ultimate/*.jar from the GridGain server package into the component's lib directory. The component contains the Enterprise Edition JARs only.
Alternatively, download the component archive from the Confluent Hub listing and unzip it under a directory on your Kafka Connect workers' plugin.path, then restart the workers.
If your cluster runs GridGain Ultimate, the component carries only the Enterprise jars. Copy the libs/gridgain-ultimate/*.jar files from the GridGain server package into the component's lib/ directory on every Kafka Connect worker.
Step 2: Register GridGain Connector with Kafka
For every Kafka Connect Worker:
Copy the
gridgain-kafka-connectdirectory you prepared in Step 1 to where you want Kafka Connectors to be located.Edit Kafka Connect Worker configuration (
$KAFKA_HOME/config/connect-standalone.propertiesfor single-worker Kafka Connect cluster or$KAFKA_HOME/config/connect-distributed.propertiesfor multiple node Kafka Connect cluster) to register the connector on the plugin path (replaceCONNECTORS_PATHwith directory where you copied the connector package):
Step 3: Register GridGain Connector with GridGain
This step is needed only for a source connector with failoverPolicy=BACKLOG. That connector deploys its backlog service as a cluster singleton, so the connector classes must be on the classpath of every GridGain server node. Other failover policies need nothing on the server nodes.
gridgain-kafka-connect-{gg-version}.jarfrom the component'slibdirectoryconnect-api-{kafka-version}.jarandkafka-clients-{kafka-version}.jarfrom the$KAFKA_HOME/libsdirectory on a Kafka Connect worker (or a later version, if you choose to use it). The component does not include them.Copy the
ignite-slf4jmodule fromlibs/optionaltolibsIf Kafka Connect runs on JDK 17 or later, the following JVM properties must be added to your Kafka Connect configuration:
gridgain-kafka-connect-{gg-version}.jar(located in thelibdirectory of the connector component)connect-api-{kafka-version}.jarandkafka-clients-{kafka-version}.jar, located on Kafka Connect workers in the$KAFKA_HOME/libsdirectory (or a later version, if you choose to use it). The component does not carry them, because the Connect runtime provides them on the workers.The
ignite-slf4jmodule, copied fromlibs/optionaltolibs
If Kafka Connect runs on JDK 17 or later, the following JVM properties must be added to your Kafka Connect configuration:
GridGain Kafka Connector Configuration
SSL Configuration
The GridGain connector is agnostic of the underlying communication channels. To have a secure communication between the GridGain connector and other components, implement SSL using one of the following options:
SSL between the GridGain cluster and GridGain connector - follow the SSL/TLS guide
SSL between Kafka and GridGain connector - use the TLS authentication
Source Properties
The only GridGain Source connector mandatory properties are the connector's name, class, and path to Ignite configuration describing how to connect to the source GridGain cluster. Here's what a minimal source connector configuration named "gridgain-kafka-connect-source" might look like:
See Source Connector Configuration for the full properties list.
Sink Properties
The only GridGain Sink connector mandatory properties are the connector's name, class, list of topics to stream data from and a path to Ignite configuration describing how to connect to the sink GridGain cluster. Here's what a minimal source connector configuration named "gridgain-kafka-connect-sink" might look like:
See Sink Connector Configuration for the full properties list.
Running Kafka Connect Ecosystem
See Installing and Configuring Kafka Connect for detailed documentation. As a summary, you need to:
Configure and Install Kafka Connectors
Configure and start Zookeeper
Configure and start Kafka brokers
Configure and start Kafka Connect workers
We already reviewed how to configure and install Kafka connectors. Below are shell commands to run Kafka Connect ecosystem on the same host using default zookeeper, broker, and connect worker configuration files (normally you would run each node on a separate host):
Managing Kafka Connectors
Each Kafka worker exposes REST API to manage Kafka Connectors (available on port 8083 by default). See Kafka Connect REST Interface for information on how to create, remove, pause, and resume connectors as well as see the status of the connectors and tasks.
See Also
This page is: Copyright © 2026 MariaDB. All rights reserved.
Last updated
Was this helpful?

