Confluent Cloud
This page describes how to create and maintain connections to your Confluent Cloud cluster.
In order to consume events from your Kafka topics hosted in Confluent Cloud within Upsolver, you need to first create a connection. The connection defines how to connect and authenticate to your Confluent Kafka cluster.
Create a Confluent connection
Simple example
A Confluent connection can be created as simply as follows:
You'll need to provide your Confluent API credentials to read from your Confluent cluster.
Full example
The following example creates a Confluent connection but sets additional options, such as CONSUMER_PROPERTIES
:
For the full list of connection options with syntax and detailed descriptions, see Confluent connection with SQL.
After you have created your connection, you are ready to move onto the next step of building your data pipeline. See reading your data into Upsolver with an ingestion job for more information.
Alter a Confluent connection
A number of connection options are considered mutable, meaning that in some cases, you can run a SQL command to alter an existing Confluent connection rather than creating a new one.
For example, take the simple Confluent connection we created previously:
If you needed to update the consumer properties, rather than creating a new connection, you can run the following command:
Note that some options such as VERSION
cannot be altered once the connection has been created.
To check which specific connection options are mutable, please refer to the Confluent connection with SQL guide.
Drop a Confluent connection
If you no longer need a connection, you can easily drop it with the following SQL command:
However, note that if existing tables or jobs are dependent upon the connection, it cannot be deleted.
For more details, see DROP CONNECTION.
Last updated