Astra Streaming Enrollment FAQ

When considering Astra Streaming for your production workloads, you might have questions about what options are available for connecting and consuming your serverless clusters. This page answers the most common questions we receive about enrollment, and we hope that this FAQ will help you navigate the enrollment process smoothly and successfully.

If you have additional questions or concerns that are not addressed here, please contact us! The Streaming team is available to assist you in any way we can.

Astra Streaming Environments

What are the different ways I can use Astra Streaming?

Astra Streaming offers two types of serverless environments: Pay As You Go and dedicated. If your Astra organization is on the Free plan, you use the Pay As You Go streaming option. When you provide a payment method, you only pay for resources used when messages are produced and consumed. Therefore, you pay as you go. In Pay As You Go streaming environments, your data and interaction with Pulsar are secured over a (public) internet connection, and there are limitations to how many resources you can create.

A dedicated environment is your own private Pulsar cluster with the additional benefits of Astra Streaming. Sign in to Astra just as you would with a Pay As You Go streaming account. When you create new tenants, additional options are available for deploying to your private cluster(s). There are less limits in dedicated environments than in Pay As You Go - it’s your cluster, after all. Finally, billing for a dedicated cluster is unique to each customer.
Contact the team to learn more.

In a Pay As You Go environment, you can create tenants in any of the supported regions, while dedicated environments are open to almost any public cloud region.
Why does DataStax call it "serverless"?

Running a production grade Pulsar cluster that can handle at-scale workloads is not a trivial task. It requires many (virtual) machines to be configured in a very particular way.

In traditional cloud environments, you would pay hourly for every machine whether they are being used for workloads or not, and you would carry the burden of maintaining the server infrastructure.

Serverless removes those operational burdens, and you pay only for the resources you actually use.

Cluster Connections

Can a dedicated cluster have a private connection?

All connections in Astra Streaming are guarded by AuthN, AuthZ, and secure (TLS) communications. With a dedicated cluster you have the option to connect over the (public) internet or establish a private connection. To learn more about private connections, refer to your cloud provider’s private link documentation:

Can a Pay As You Go streaming account have a private connection to the Pulsar cluster?

Pay As You Go streaming accounts use a shared Pulsar cluster. Without dedicated cloud resources, a private link typically can’t be established. Email the team if you would like to explore this option.

Secure Sign-on, Roles, and Permissions

Can I use my own single sign-on with Astra Streaming?

As a Pay As You Go customer, the Astra platform offers single sign-on through your GitHub account and your Google account. Astra also offers custom SSO integration as a premium option. Email the team for more information.

To integrate a custom SSO provider, you will need a non-default Astra Organization. Refer to the Astra Serverless SSO documentation or email the team for more information.
How do Astra roles and permissions map to Pulsar roles and permissions?

Pulsar has the concept of clients with role tokens. Authentication in Pulsar is the process of verifying a provided (JWT) token, and authorization is the process of determining if the role claimed in that token is allowed to complete the requested action.

Astra Streaming uses the DataStax version of Apache Pulsar (called Luna Streaming). The Luna project is an open fork of the Pulsar project that maintains feature parity with OSS Pulsar. Astra Streaming, as a managed service, abstracts some features/options of Pulsar to ensure continuous, reliable service.

Your Pay As You Go environment is an Astra Organization (Org) that has a tenant (or multiple tenants) on a shared Pulsar cluster. Each of your tenants is secured by Pulsar AuthN & AuthZ models and the Astra Org AuthN and AuthZ. The shared cluster is created and administered by Astra Streaming Admins. Each tenant is assigned a custom role (and permission) limited to only that tenant. All tokens created within a tenant are assigned roles similar to the assigning tenant.

What is the difference between the Astra token and the Astra Streaming token? Are they interchangeable?

The Astra platform offers different layers of authentication based on the desired action. In general, actions related to your Astra Org (members, org billing, usage metrics, etc.) use your Astra Token, and actions specific to a Pulsar tenant (message namespaces, topics, message metrics, etc.) use a Pulsar JWT token.

If you would like to get a little deeper into exactly which token covers what action, see the following documentation:

Data Migration and Geo-replication

What are the differences between dedicated and Pay As You Go geo-replication?

Geo-replication is available to both Pay As You Go and dedicated serverless environments. Both can replicate to other clusters, but there are some differences.

In Pay As You Go streaming, traffic between clusters is secured over the (public) internet, while dedicated clusters have the option for private communication. Pay As You Go environments can replicate between any supported region of the same cloud provider. With dedicated clusters, you can use almost any region supported by your cloud provider, as well as across cloud providers. Email the team for more information.

For more on geo-replication, see Geo-replication.

Can I migrate data from my existing Pulsar cluster to Astra Streaming?

Unless you are starting a project from scratch, you likely have message data that needs to be brought over to your Astra Streaming tenant(s). The Streaming Team has quite a bit of experience with this and can help you find the right way to migrate. Email the team for more information.

Did you know every tenant in Astra Streaming comes with custom ports for Kafka and RabbitMQ workloads? We also offer a fully compatible JMS implementation for your Java workloads! Learn more here.

Application Development

How do I separate messaging traffic?

It is common to have a hierarchy of development environments which app changes are promoted through before reaching production. The configurations of middleware and platforms supporting the app should be kept in parity to promote stability and fast iterations with low volatility.

By Tenant

To support the hierarchy of development environments pattern, we recommend using Tenants to represent each development environment. This gives you the greatest flexibility to balance a separation of roles with consistent service configuration. All tokens created within a Tenant are limited to that Tenant.

For example, start with a tenant named “Dev” that development teams have access to (and create tokens from), then create other tenants named “Staging” and “Production”. Each Tenant has progressively less permissions to create tokens, but maintains parity between the three running environments.

By Namespace

Alternatively, you might choose to separate development environments by namespace within your Astra Streaming tenant. While this doesn’t offer as much flexibility as separation by tenant, it does offer a much simpler model to manage. Also, note that in this scheme you cannot limit access by namespace. All tokens would have access to all namespaces.

Can we develop applications on open source Pulsar and then move to Astra Streaming?

As mentioned previously, Astra Streaming is actively maintained to keep parity with the official Apache Pulsar project. The notable differences arise from accessibility and security. Naturally, you have less control in a managed, serverless cluster than you do in a cluster running in your own environment. Beyond those differences, the effort to develop locally and then move to Astra Streaming should not be significant, but it is recommended to develop directly in Astra Streaming. If you are trying to save costs, use the free tier of Astra Streaming and then “switch” when you are ready to stage your production services.

Can I use Astra Streaming with my existing Kafka or RabbitMQ applications?

Yes, Astra Streaming offers a fully compatible Kafka and RabbitMQ implementation. This means you can use your existing Kafka or RabbitMQ applications with Astra Streaming. You can also use the Astra Streaming Kafka or RabbitMQ implementation with your existing Pulsar applications. Astra Streaming comes with custom ports for Kafka and RabbitMQ workloads. Learn more about the Starlight suite of APIs.

Can I use Astra Streaming with my existing Java applications?

Yes, Astra Streaming offers a fully compatible JMS implementation. This means you can use your existing JMS applications with Astra Streaming. You can also use the Astra Streaming JMS implementation with your existing Pulsar applications. Learn more about the Starlight suite of APIs.

Additional Questions

If you have additional questions about the Astra Platform, Astra Streaming, or any other DataStax product, please email the team. We’re happy to share best practices and ideas to help you get the most out of your Astra Streaming environment.

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com