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
:
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.
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, they cannot be deleted.
Learn More
Last updated