Skip to Content
Docs

Pulsar

Description

The Pulsar connection type (pulsar) connects a Flow or Agent to an external Apache Pulsar broker to send or receive messages.

Required Information

After you select this type in Connection Type, the console asks for the following fields. Every connection also has a Connection ID, Connection Name, and Connection Type.

Field Required Description
Service URL Yes The URL of the Pulsar broker.
Topic Template No A template for the full topic name. The topic name provided by the Flow is inserted at ${topicName}.
Auth Mode Yes oauth (client credentials) or bearer (a static token). The credential fields depend on this choice.
Headers No Optional key-value properties attached to messages produced through this connection. Under Headers, select Add, then enter a Key and Value. Values are masked like other secrets. Select Remove entry to delete a header.

Note: If you use Pulsar through the Kafka-on-Pulsar (KoP) protocol, configure Kafka connection instead of a Pulsar connection.

Auth Modes

Auth Mode Additional required fields
oauth Auth Endpoint: the OAuth provider's issuer URL, used by the Pulsar client to obtain access tokens.
Client ID: the ID of the client application.
Client Secret: the secret for the client application.
Audience: the intended recipient of the token.
bearer Bearer Token: the token used for authentication.

Topic Template Example

With a Topic Template of myenv.myapplication.${topicName}, a Flow that specifies the topic name mytopic uses the fully qualified topic myenv.myapplication.mytopic.