Outdated Version

You are viewing an older version of this section. View current production version.

Installing the SingleStore DB Kafka Connector via Download min read


This guide shows you how to get and install the Java-based SingleStore DB Kafka Connector for connecting with open source Apache Kafka. The process looks like this:

  1. Make sure you satisfy the prerequisites.
  2. Download the connector JAR file.
  3. Configure the connector properties.

Prerequisites

Make sure you have met the following prerequisites before installing the connector.

  • MemSQL version 6.8 or newer installed and running
  • Java Development Kit (JDK) installed
  • Apache Kafka installed and running
  • Kafka Schema Registry configured
  • Kafka Connect
  • Installed/configured mariadb connector

Download and the SingleStore DB Kafka Connector

Get the SingleStore DB Kafka Connector JAR file here: https://github.com/memsql/memsql-kafka-connector

You will need to have the JDK installed and configured, with JAVA_HOME pointing to where the JDK is installed.

See the README and the Quickstart files on the GitHub page for more information.

Configure the SingleStore DB (MemSQL) Connector Properties

The connector is configurable via a property file or Kafka-REST. The properties should be specified before starting the kafka-connect job.

The connector properties include the standard Kafka properties as well as some SingleStore DB-specific properties.

For an explanation of the various SingleStore DB-specific configuration properties, see SingleStore DB Kafka Connector Properties.