The latest version for DAS is WSO2 Data Analytics Server 3.1.0. View documentation for the latest release.
WSO2 Data Analytics Server is succeeded by WSO2 Stream Processor. To view the latest documentation for WSO2 SP, see WSO2 Stream Processor Documentation.

All docs This doc
Skip to end of metadata
Go to start of metadata

WSO2 DAS processes data as events, and also interact with external systems using events. An event stream is a sequence of events categorized into specific types.

This tutorial demonstrates how to create an event stream in WSO2 DAS to persist information relating to books in a book store.

For a description of concepts you need to understand before creating an event stream, see Understanding Event Streams and Event Tables.

Follow the steps below to create an event stream in WSO2 DAS.

  1. Access the WSO2 DAS Management Console using the https://<DAS_HOST>:<DAS_PORT>/carbon/ URL, and then log in with your credentials.
  2. In the Main tab, click Streams to open the Available Event Streams page, and click Add Event Stream. This opens the Define New Event Stream page.
  3. Create a new event stream by entering information as shown below.

    Event Stream NameBookStore
    Event Stream Version1.0.0


    AttributeAttribute Type

    The _timestamp attribute needs to be defined in this tutorial as a payload attribute of the long data type in order to override the timestamp automatically assigned to each event by the system. This allows you to assign any timestamp of your choice.

  4. Click Add Event Stream. The new event stream is added to the list of all available event streams as shown below.
  • No labels