Pulsar rule
Use Ably’s Firehose Pulsar rule if you want to send data such as messages, occupancy, lifecycle and presence events from Ably to Pulsar.
Development status
Copied!
This feature is Enterprise only, and currently in Preview.
Creating a Pulsar rule
Copied!
There are two ways to create a Pulsar rule:
- Using the Ably Dashboard.
- Using the Control API.
To create a rule in your dashboard:
- Login and select the application you wish to integrate with Pulsar.
- Click the Integrations tab.
- Click the New Integration Rule button.
- Choose Firehose.
- Choose Pulsar.
- Configure the settings applicable to your use case and your Pulsar installation.
- Click Create.
Pulsar rule settings
Copied!
The following explains the Pulsar general rule settings:
Section | Purpose | |
---|---|---|
Source | Defines the type of event to deliver. | |
Channel Filter | Allows filtering of the rule based on a regular expression matching the channel name. | |
Routing key | An optional value to use as the `partitionKey` on messages published to Pulsar. | |
Topic | Defines the Pulsar topic to publish messages to. Must be in the format `tenant/namespace/topic_name`. | |
Service URL | Specifies the Pulsar cluster URL in the format `pulsar://host:port` or `pulsar+ssl://host:port`. | |
JWT Token | Used for authentication with JWT tokens. Only JWT token authentication is supported. | |
TLS trust certificates | Allows for specifying a list of trusted CA certificates to verify TLS certificates presented by Pulsar. | |
Another TLS trust cert | Option to add additional trusted certificates for verification. |
See some examples of creating rules in the rules section of the Control API documentation. You can also refer to the rules section of the Control API Reference for information on creating a Pulsar rule. You will need to select a ruleType
of pulsar
.