Connecting to Confluent Cloud

This article describes how to connect to Confluent Cloud.

 

Connecting to Confluent Cloud

To connect to the Confluent Cloud, you must configure SASL_SSL connection data in addition to the bootstrap servers and the optional schema registry.

Where can I find my connection data?

Go to your cluster in the Confluent Cloud and click on the "Tools & client configuration" tab. Then select the Clients tab. Click on Java to expand the card containing all configuration data.

Step by step guide to connecting to Confluent Cloud

  1. Give your cluster a name.
    Example: My Confluent Cluster
  2. Enter the bootstrap server as described above. Confluent Cloud uses a load balancer, so you only need to enter one address.
    Example: pkc-412.us-central1.gcp.confluent.cloud:9092
  3. If you want to use a schema registry, enter the corresponding address in the Schema Registry input field. Otherwise, you can skip this point.

    Example: https://psrc-4ad.us-central1.gcp.confluent.cloud

    Please note that no port is required here.

    If you want to use a Schema Registry, you must configure Basic Authentication in the Schema Registry tab in the Security & Authentication area. Otherwise, you can skip this point. Click on the Schema Registry tab and select "BASIC" as the authentication method.

    In the User Info field, enter your Schema Registry Key followed by a colon and your Secret. You can get a key and a secret on the Confluent Cloud website in the Schemas section.

    Example: S4OGSAKAI97ZU3:Dk290asdIDHOPAWnmc9/twASDPOdajsjda/dai
  4. Select SASL_SSL from the Security Protocol drop-down menu and click on the SASL tab.
    Enter the SASL Jaas Config in the corresponding input field.

    Example: org.apache.kafka.common.security.plain.PlainLoginModule required username="{{ CLUSTER_API_KEY }}" password="{{{ CLUSTER_API_SECRET }}";
    Or: org.apache.kafka.common.security.plain.PlainLoginModule required username="HASIX76NIXO7XNU" password="NAsjaSIHsuzIjtyzB2S1BZq+GgF89FasIAODHOU8/VIqTku";
  5. Select PLAIN as the SASL Mechanism.
  6. Click on Confirm. Your connection data is now saved and the dialog is closed. You can now click the Connect button on the card of your cluster in KaDeck to connect to the cluster.
  7. You can optionally set the SSL Endpoint Identification Algorithm to https on the Settings page of KaDeck.
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.