In today’s first episode of Axual Expresso, a series of short videos where we learn more about streaming and the Axual Platform, Elise learns about the definition of a stream and in what scenarios and why a stream is useful to process data in real-time. Also, Abhinav shows how easy it is to create a stream on the Axual Streaming Platform. 

 

More to come

In the next episodes, we are going to dive deeper into streaming. In the second episode, we will learn about “Producing and Consuming Applications”. And in the last one, we will look into “Producing and Consuming Data”.

Do you want to learn more about creating streams?

Sign up here to receive the other two Episodes in your mailbox:

In this video:

These are the questions asked in the video:

1. What is a stream exactly?

A stream is a continuous sequence of objects. The object there could be anything but most often it represents an event describing what happened. As an analogy, think of a pipe with water running through it. In the scenario, the water is the data. the object that is flowing through and the pipe is the stream that is holding that data. 

2. When is a stream useful? When can you use a stream?

A stream can be useful in many scenarios. Think of the scenario where you have a customer who has some accounts and you want to update that customer when certain events happen on that account. Especially if it’s a critical event happening you may want to update the customer immediately, as soon as the event happens.

Another example could be tracking user behavior on a website, which is quite useful in marketing scenarios. In such scenarios using a stream is desirable because otherwise you may get that event late and the processing of the data might happen too late.

So, basically, if you have a scenario where the event has to be processed in real-time you should use stream.  

3. So if you have such a scenario where you want to track it immediately, how can you create a stream?

On the Axual Platform you can create any stream. Here’s how you do it:

Start by giving a name to the stream (in our case “Customer Updates”) and then give it a short description. Any stream on the Axual Platform must be owned by the team, in our example, the team is “Team Turbulence.” Then set the stream’s key and a value.

Next, choose the retention policy. This is very important. The retention policy determines what happens to the message. How long it remains in the topic. Once you’ve created the Stream Definition you can select the environment to deploy it. Then you can configure it by clicking on Configure Stream. 

You can decide the retention period and the number of partitions. Finally, Save!

Here’s your Stream created. 

How Kafka ensures scalability of IoT applications

No bottlenecks by scaling your development teams