Upsolver
Search…
Kafka connection
This article provides a guide on how to create a Kafka connection in Upsolver.

Create a Kafka connection

1. Enter in the host:port for your Kafka cluster.
If there are multiple hosts, the format should be host1:port1, host2:port2, ...
2. Select a topic name.
Note: This should be a pre-existing topic in your cluster.
3. (Optional) Add any additional properties necessary for the Kafka producer. The format should look as follows:
1
bootstrap.servers = HOST:PORT
2
security.protocol = SASL_SSL
3
sasl.jaas.config = org.apache.kafka.common.security.plain.PlainLoginModule required username = "API_KEY" password = "SECRET";
4
ssl.endpoint.identification.algorithm = https
5
sasl.mechanism = PLAIN
Copied!
where:
    HOST:PORT = the same Kafka host(s) entered in step 1
    API_KEY = an API key for your Kafka cluster
    SECRET = the corresponding secret for your API key
Experiencing issues connecting? You may need to peer your VPC with the VPC created for Upsolver. See: VPC peering
Last modified 1yr ago
Copy link