Quickstart

This guide will cover the basics for getting started using Streamdal.

Before we begin, let’s familiarize ourselves with a couple of terms that are used throughout our platform.

Terminology

Collections

Streamdal hooks directly into your message broker or CDC stream as a polite consumer, and relays all of the event data/streams to our platform. All of the data captured is indexed in a logical grouping called a Collection. Before we can tap into any data, a Collection needs to be created and scoped within the console UI. This is the first step in getting started.

Read more about Collections here.

Plumber

plumber is an open-source Swiss Army Knife CLI tool used for interacting with messaging and streaming systems like Kafka, RabbitMQ, NATS, SQS, and many others. It also acts as the Streamdal agent. Whether you are working locally, on-prem, or in the cloud, you can deploy plumber in a variety of ways to interact with and connect to your systems.

Read more about Plumber here.


Step 1: Create your First Collection

After registration, you are put directly into the dashboard view. This is where you get a holistic view of all data, monitors, and associated logs.

From here you can:

  1. Select either the plus icon next to your avatar and username and select ‘Add Collection,’ or you can click on the Collections button in the left nav pane to create new collections
  2. Select schema type
  3. Enter a name for the collection
  4. Upload schemas (note that plaintext and JSON are inferred, so no upload is required!)
  5. Configure data lake to use hosted data lake (default)
  6. Click create!
step1_create
Information

With every collection created, there is a unique assigned collection token. This will be passed to Plumber in order for it to send data to the correct Collection.

Step 2: Install and Configure Plumber

Click here for detailed instructions for installing Plumber. Once installed, you will need to connect Plumber to your broker/messaging system, and create a relay between Plumber and Streamdal with your collection token.

For this step in the guide, we will be demonstrating on a local RabbitMQ. Check out the different environment variables here for what flags to pass for different systems like Kafka, Kineses, SQS, etc.

tip

If you ever need to find Plumber connection IDs, you can use: plumber get connection

plumber

You can find the collection token in the console UI of the collection you created:

token

Ensure that the environment variable PLUMBER_RELAY_TOKEN is set to the unique collection token. This is similar to the --collection-token flag you can pass manually, and is needed to point Plumber to the unique collection.

Start Observing Data

And that’s it! You can start watching events appear in the console.

If you’ve installed Plumber, then you also have a powerful tool for interacting with your messaging system. Click here to learn how to write data to your broker with Plumber.

Now you are ready to take advantage of more advanced functionality:

Not sure what to feature to try next? Be sure to review the various use cases for a better idea of the kinds of performance, observability, and reliability you can enjoy with Streamdal.