First time creating a connector? Read this first.
Requirements
You will need:-
A Kafka cluster in Confluent Cloud.
(Create a cluster.)
The following video shows how to set up a Kafka cluster in Confluent Cloud:
- The hostname and port number of the bootstrap Kafka cluster to connect to..
- The name of the topic to read messages from or write messages to on the cluster. Create a topic. Access available topics.
- For authentication, an API key and secret.
Examples
To create a Kafka destination connector, see the following examples. For more information on working with destination connectors using the Unstructured API, see Destination endpoints.Configuration settings
Replace the preceding placeholders as follows:string
required
A unique name for the connector.
string
The hostname of the bootstrap Kafka cluster to connect to.
integer
default:"9092"
The port number of the bootstrap Kafka cluster to connect to.
string
default:"default_group_id"
The ID of the consumer group. A consumer group is a way to allow a pool of consumers to divide the consumption of data over topics and partitions.
string
For authentication, the API key for access to the cluster.
string
For authentication, the secret for access to the cluster.
string
The name of the topic to read messages from or write messages to on the cluster.
integer
default:"100"
Destination connector only. The maximum number of messages to send in a single batch.
integer
default:"100"
Source connector only. The maximum number of messages that the consumer will try to consume.

