Confluent for VS Code Quick Start with Confluent Platform

The following steps show how to connect Confluent for VS Code to a local Confluent Platform installation. To connect to other Apache Kafka® clusters, see Connect to a Kafka Cluster.

Prerequisites

Start Confluent Platform and VS Code

  1. Start Confluent Platform. For more information, see Confluent Platform quick start.
  2. Open VS Code.
  3. In the VS Code Activity Bar, click the Confluent icon. If you have many extensions installed, you may need to click to access Additional Views and select Confluent from the context menu.

Create a connection to Confluent Platform

  1. In the Side Bar, click + Add New Connection in the Resources section.

    The extension shows the Create a new connection page.

  2. Enter a name for the connection, and choose Confluent Platform as the Connection Type.

  3. Enter the bootstrap server for Confluent Platform, and select the appropriate Authentication Type.

    Basic (username and password) and API credential authentication are supported.

  4. Enter the URL for Schema Registry, if required, and select the appropriate Authentication Type.

    Basic (username and password) and API credential authentication are supported.

Test and save your connection

  1. Click Test to test the connection.
  2. Click Save to save the connection. You can save the connection configuration even if the test wasn’t successful.
  3. Confirm that your Confluent Platform resource is displayed in the Side Bar.