- Build Applications
Using Kafka clients to connect to StreamNative Cloud
You can use the Kafka protocol to migrate existing Kafka applications and services to Pulsar without modifying the code.
- To set up a Pulsar cluster with the Kafka protocol enabled and configure a Kafka client to produce and consume messages, use the Kafka Protocol QuickStart Guide.
Supported Kafka clients
You can use the following Kafka clients to connect to your Pulsar cluster.
Kafka client page wizard
To help you get started with setting up Kafka client libraries and tools after provisioning your cluster, StreamNative Cloud 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.
On the left navigation pane of StreamNative Cloud Console, in the Admin section, click Kafka Clients.
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.