Difficulty: Beginner
Estimated Time: 20 minutes

Astra Streaming (DataStax's Apache™ Pulsar-as-a-service offering) lets us produce and consume messages in a reliable and globally scalable manner.

In this scenario, we'll use Astra Stream to:

  • Create an Astra Streaming tenant
  • Create a topic on the tenant
  • Build a message producer
  • Build a message consumer
  • Build a message reader
  • Create an Astra DB sink connector
  • Run and observe a streaming system

The streaming system layout looks like this:

Streaming system layout

As a prerequisite, be sure to setup a free Astra account at astra.datastax.com.

This will be cool! let's get started!

Code Complete

In this scenario, we learned to use Astra Stream to:

  • Create an Astra Streaming tenant
  • Creaate a topic on the tenant
  • Build a message producer
  • Build a message consumer
  • Build a message reader
  • Create an Astra DB sink connector
  • Run and observe a streaming system

With Astra Streaming, it's easy to build a scalable cloud-native streaming system.

Please give this scenario a rating (click on the stars near the top).

Have questions or more feedback? Send us a message.

Create Astra Streaming Producers, Consumers and Readers in Java

Step 1 of 12

Watch an introductory video on Astra Streaming

Here's a short video that shows how to use Astra Streaming.

You can enlarge the video to full-screen by clicking in the bottom-right corner of the video.

Now, you give it a try!