Build applications using Kafka clients

You can use the Kafka protocol to migrate existing Kafka applications and services to Pulsar without modifying the code. See a full list of supported Kafka clients.

Get started

To set up a Pulsar cluster with the Kafka protocol enabled and configure a Kafka client to produce and consume messages, see QuickStart.

Kafka client page wizard

To help you get started with setting up Kafka client libraries and tools after provisioning your cluster, StreamNative Console provides a step-by-step wizard to walk you through the basic setup and configuration process, such as selecting or creating service accounts, downloading key files or tokens, installing client libraries, generating sample codes to run, and so on.

To get started with the Kafka client setup wizard, follow these steps.

  1. On the left navigation pane of StreamNative Console, in the Admin section, click Kafka Clients.

    gif of kafka client setup process through wizard

  2. Follow the wizard to generate the sample code you need for connecting to your Pulsar cluster.

With a copy-and-paste, you can run the given sample code to produce and consume messages.

Kafka Client Guides