Getting Started with Confluent Cloud (Self-Managed)
On this page
This guide shows how to use the SingleStore Kafka Sink connector ("the connector") on Confluent Cloud by deploying it on a self-managed Kafka Connect cluster and connecting to your SingleStore deployments.
SingleStore recommends having hands-on experience with Confluent Cloud and an understanding of its concepts.
Prerequisites
-
An active SingleStore deployment.
-
Access to a Confluent Cloud cluster.
Configure the Connection
To connect to your SingleStore deployment from Confluent Cloud using the SingleStore Kafka Sink connector, perform the following tasks:
-
Download the latest ZIP or TAR distribution of Confluent Platform and extract it.
-
Launch a Confluent Cloud cluster.
Refer to Quick Start for Confluent Cloud for more information. -
Create a topic.
-
On the Confluent dashboard, select Topics > Add topic.
-
On the New topic page, enter a name for the topic and the number of partitions.
-
Select Create with defaults > Skip.
-
Add data to the Kafka topic.
-
Select Topics > <your_
Kafka_ Topic> > Messages > Produce new message. This example uses a Kafka topic named SingleStore-quickstart. -
On the Produce a new message dialog, add a message.
In this example the following are added: Key
1
Value
{"schema": {"type": "struct", "optional": false, "version": 1, "fields": [{ "field": "Id", "type": "string", "optional": true }, { "field": "Artist", "type": "string", "optional": true }, { "field": "Song", "type": "string", "optional": true }] }, "payload": { "Id": "1", "Artist": "Rick Astley", "Song": "Never Gonna Give You Up"}}
-
Select Produce.
-
-
-
Generate a Kafka Connect properties file.
-
On the Confluent Platform, select Connectors.
-
Search and select the SingleStore Sink Connector from the list of connectors.
-
On the Configure SingleStore Sink Connector page, select Next.
-
Under Connect to Confluent Cloud, select Standalone.
-
Select Create Kafka cluster API key & secret.
-
Select Create Schema Registry API key & secret.
-
Select Generate Config.
-
Copy the generated file.
-
-
In your local environment, create the
/<path_
file and paste the configuration in this file.to_ confluent>/confluent-<version>/etc/my-connect-standalone. properties -
Download the
singlestore-singlestore-kafka-connector-<version>.
file from the SingleStore Kafka Connector GitHub repository.zip -
Extract the downloaded
.
archive tozip /<path_
directory.to_ confluent>/confluent-<version>/plugins/ -
Append
plugin.
to thepath=/path/to/confluent-<version>/plugins/ my-connect-standalone.
file.properties -
Create a connection configuration file
/<path_
, and add the following to the file:to_ confluent>/confluent-<version>/etc/singlestore-sink. properties name=singlestore-sink-connector connector.class=com.singlestore.kafka.SingleStoreSinkConnector topics=SingleStore-quickstart connection.ddlEndpoint=<hostname_or_IP_address_of_SingleStore_deployment> connection.database=<SingleStore_Database> connection.user=<SingleStore_User> connection.password=<Password> value.converter=org.apache.kafka.connect.json.JsonConverter value.converter.schemas.enable=true
where,
Key
Value
connection.
ddlEndpoint connection.
dmlEndpoint IP address or hostname of the SingleStore deployment.
connection.
database Name of the SingleStore database to connect with.
connection.
user Name of the SingleStore database user with which to access the database.
connection.
password Password for the SingleStore database user.
topics
List of Kafka topics.
value.
converter Set to
org.
.apache. kafka. connect. json. JsonConverter value.
converter. schemas. enable Set to
true
.Refer to SingleStore Kafka Sink Connector Properties for more information.
-
Start Kafka Connect.
Run the following command in the Confluent directory: ./bin/connect-standalone ./etc/my-connect-standalone.properties ./etc/singlestore-sink.properties -
Wait a few minutes, and then log in to your SingleStore deployment and run the following command to verify that the data has been ingested.
SELECT * FROM `SingleStore-quickstart`;+------+-------------+-------------------------+ | Id | Artist | Song | +------+-------------+-------------------------+ | 1 | Rick Astley | Never Gonna Give You Up | +------+-------------+-------------------------+
Last modified: August 3, 2025