Connectors
Messaging & Event Streaming
Apache Pulsar
Event streaming: send, receive, and acknowledge messages on topics and subscriptions
- Signs in with
- Connection details
- Runs on
- Cloud or On-Prem Worker
- Operations
- 10
- Ready-made triggers
- 0
Connect Apache Pulsar
- In Neblex open Connect › Connections and click New Connection.
- Search for Apache Pulsar and give the connection a clear name.
- Fill in the fields. Secret values are encrypted and never shown again.
- Click Test, then Create Connection.
If the system is only reachable inside your network, choose an On-Prem Worker under Test from and run the flow on that Worker. See On-Prem Workers.
| Field | What to enter |
|---|---|
| Service URLRequired | pulsar+ssl:// for an encrypted connection or pulsar:// without encryption. Several hosts may be listed, separated by commas.Example: pulsar+ssl://pulsar.example.com:6651 |
| Sign-inRequired | |
| TokenOptionalSecret | The JSON Web Token the cluster issued for this client. |
| Issuer URLOptional | The OAuth 2.0 issuer; its token endpoint is found from the issuer's discovery document.Example: https://auth.example.com/ |
| Client IDOptional | |
| Client secretOptionalSecret | |
| AudienceOptional | The audience the cluster expects in its tokens, if it names one. |
| ScopeOptional | |
| UsernameOptional | |
| PasswordOptionalSecret | |
| Check the certificate nameOptional | Require each broker certificate to name the broker's host. Turn off only for clusters whose certificates do not; the certificate is still checked against the trusted authorities. |
| Server CA certificate (PEM)Optional | Optional private certificate authority that signed the broker certificates. Leave empty for publicly trusted certificates. |
| Client certificate (PEM)Optional | For clusters that require client certificates; enter the private key below as well. |
| Client private key (PEM)OptionalSecret | |
| Advertised listenerOptional | The broker listener to use when the cluster advertises several, for example an external one. |
Use it in a flow
- Open a flow, open the node library and search for Apache Pulsar.
- Drag it onto the canvas and choose an Operation and your connection.
- Map the operation's fields from earlier steps, or click Map with Matt.
- Use Test this step to see what it returns, then save.
To start a flow from Apache Pulsar without a ready-made trigger: a Poll for changes trigger can check one of its list operations on a schedule and pass on only what is new; if Apache Pulsar can send webhooks, a Webhook trigger receives them at its own URL.
Operations
10 operations in 4 groups. Each one is a step you can add to a flow.
Connection1
Test the connectionping | Connect to the cluster, sign in and return the broker's version and its maximum message size. |
Messages4
Acknowledge messagesacknowledge | Acknowledge received messages on a subscription so they are not delivered again. | |
Deliver messages againnegativeAcknowledge | Ask the broker to deliver received messages again (a negative acknowledgement). | |
Receive messagesreceive | Receive up to the maximum number of messages from a subscription, from every partition. | |
Send a messagesend | Publish one message per input record and wait for the broker's receipt. |
Subscriptions2
Delete a subscriptionunsubscribe | Delete a subscription and its position on every partition. | |
Move a subscriptionseek | Move a subscription to a message, a publish time, or the oldest or newest message, on every partition. |
Topics3
Get the last message IDgetLastMessageId | Return the ID of the newest message of a topic, one record per partition. | |
Get topic partitionsgetPartitionedMetadata | Return how many partitions a topic has. | |
List topicslistTopics | List the topics of a namespace, filtered by the broker with a pattern and by name. |