Step 3: Connect Your Kafka Cluster/s
This page describes how to connect Superstream to one or more Kafka clusters
Option 1: Using Superstream Console
Step 1: Login to Superstream Console
If this is your first login, please use the link included in your welcome email.
Step 2: Add a new connection
In the upper-right corner, you will find this button:
Step 3: Fill in the details
Please do not close the window until a message is shown.
Option 2: During Superstream engine deployment
Every Engine is capable of establishing connections with one or several Kafka clusters simultaneously. To determine the optimal strategy for your setup, it is advisable to seek guidance from the Superstream team.
Kafka clusters should be defined in the config.yaml
file:
name
: A unique name for the connection to be displayed through Superstream GUI.type
: The type of Kafka. Options includeconfluent_kafka
,confluent_cloud_kafka
,MSK
, andapache_kafka
.hosts
: A list of bootstrap servers for the Kafka cluster.
Authentication:
noAuthentication
: Setenabled
totrue
if no authentication is required.ssl
: For SSL encryption without SASL authentication.enabled
: Set totrue
to enable SSL authentication.protocol
: Should always beSSL
.ca
,cert
,key
: Paths to your CA certificate, client certificate, and client key files.insecureSkipVerify
: Set totrue
to bypass server certificate verification (not recommended for production environments).
sasl
: For SASL authentication.enabled
: Set totrue
enable SASL authentication.mechanism
: The SASL mechanism to use. Options:PLAIN
,SCRAM-SHA-512
.protocol
: Should beSASL_SSL
for encrypted connections.username
andpassword
: Credentials for SASL authentication.tls
: Optional TLS configuration for SASL authentication.
If TLS is used with SASL, specify the following:
enabled
: Set totrue
to enable TLS.ca
,cert
,key
: Paths to your CA certificate, client certificate, and client key files, if required.insecureSkipVerify
: Set totrue
to bypass server certificate verification (not recommended for production environments).
Example
Below is an example configuration for a SASL_SSL authenticated connection:
Replace placeholders (e.g., <connection_name>
, <bootstrap_server_1>
) with your actual Kafka connection details. As shown in the examples, Follow the correct indentation and formatting.
For any questions or further assistance, please refer to the official Kafka documentation or reach out to your Kafka provider.
*Optional* Add a vendor API key to gain deeper insights.
You can add an API key to gain deeper insights for eligible Kafka vendors such as Confluent, Aiven, Redpanda, and AWS.
Here's how to do it if you didn't set it up during the initial client connection establishment:
Step 1: Head over to Settings -> "Keys"
Step 2: Fill in the form with your key information
Head over to your Confluent Console -> Right-side Menu -> API Keys
On the right-top corner, click on "+ Add API key"
Choose "My Account"
The scope should be "Cloud resource management"
Give the new key a name of your choice
Paste the generated credentials in the Superstream Console
Last updated