In the second episode of Axual Expresso, a series of short videos where we learn more about streaming and the Axual Platform, Elise learns what consumers and producers are and how you can create an application easily on the Axual Platform with a short demo by Abhinav Sonkar.
More to come
If you missed the first episode you can catch up here: https://axual.com/expresso-1-what-is-a-stream 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 next Episode in your mailbox:
In this video:
These are the questions asked in the video:
1. For using streams you need producers and consumers. What is a producer exactly?
In the last video we learned what a stream is but the stream itself is part of the story. You need some applications to actually use that stream. So the producer is basically an application which generates data that needs to be put on the stream.
2. What is a consumer?
The consumer is the other side of the stream, so, once you have the data on the stream, the consumer is an application that will receive that data and process it further. And the processing here can mean forwarding the data inside the database for indexing, going into the data lake, and so on.
3. But how can you create an application?
In the Axual Platform you can create an application easily. In the video we make a demonstration continuing from the stream we created in the first video. So after you create a stream you click on “Create an application” and you start filling in the details of the new application. These are:
- ID: the name, which will go into the code of the application
- Name of Application, which will appear on the UI
- Short name, which will appear in the diagrams
- Owner: team who owns the application
- Type, for example, this platform will be in Java
- Public (accessible to anyone logging onto the Axual Platform) or Private (only the owner will be able to access the stream)
At this point, nothing has been created in the back end.
Before we can do anything with this application we need to configure the principle which defines how this application is going to access a stream with what credentials.
The next step is to upload the necessary certificates, these are virtual SSL-based authentication certificates. Once uploaded, you can review and save all the details.
Your new application has been created.