Use OSS Pulsar REST APIs
In addition to the Astra Streaming DevOps API and the Astra Streaming Pulsar Admin API, you can use some of the functionality provided by the open source Apache Pulsar™ project’s REST APIs to programmatically interact with your tenants.
Limitations
Not all functionality is available to Astra Streaming tenants because Astra Streaming is a managed service.
For example, the OSS Pulsar Admin API isn’t the same as the Astra Streaming Pulsar Admin API.
In OSS Pulsar you manage all aspects of your Pulsar instances, including clusters and tenants. In Astra Streaming, clusters are a managed service; You manage only the tenants and resources within those tenants.
Some OSS Pulsar Admin API endpoints aren’t supported in the Astra Streaming Pulsar Admin API because they don’t align with the Astra Streaming managed service.
Usage
For detailed information about using these APIs, refer to the OSS Apache Pulsar™ REST API documentation.
To use the Pulsar REST APIs with Astra Streaming tenants, you need the following:
-
An active Astra account with access to Astra Streaming.
-
An active Astra Streaming tenant.
-
A Pulsar token for your tenant.
-
Your tenant’s Web Service URL.
To get the Web Service URL, do the following:
-
In the Astra Portal header, click Applications, and then select Streaming.
-
Click the name of your tenant.
-
Click the Connect tab.
-
Find the Tenant Details section. This section includes the essential information you need to communicate with your Pulsar tenant, including the Web Service URL.
The Web Service URL isn’t the same as the Pulsar Broker Service URL.
Web Service URLs start with
http. Broker Service URLs start withpulsar(+ssl).
-