Get Started on HStream Platform
This page guides you on how to try out the HStream Platform quickly from scratch. You will learn how to create a stream, write records to the stream, and query records from the stream.
Apply for a Trial
Before starting, you need to apply for a trial account for the HStream Platform. If you already have an account, you can skip this step.
Create a new account
INFO
By creating an account, you agree to the Terms of Service and Privacy Policy.
To create a new account, please fill in the required information on the form provided on the Sign Up page, all fields are shown below:
- Username: Your username.
- Email: Your email address. This email address will be used for the HStream Platform login.
- Password: Your password. The password must be at least eight characters long.
- Company (Optional): Your company name.
After completing the necessary fields, click the Sign Up button to proceed with creating your new account. In case of a successful account creation, you will be redirected to the login page.
Log in to the HStream Platform
To log in to the HStream Platform after creating an account, please fill in the required information on the form provided on the Log In page, all fields are shown below:
- Email: Your email address.
- Password: Your password.
Once you have successfully logged in, you will be redirected to the home of HStream Platform.
Create a stream
To create a new stream, follow the steps below:
- Head to the Streams page and locate the New stream button.
- Once clicked, you will be directed to the New stream page.
- Here, simply provide a name for the stream and leave the other fields as default.
- Finally, click on the Create button to finalize the stream creation process.
The stream will be created immediately, and you will see the stream listed on the Streams page.
TIP
For more information about how to create a stream, see Create a Stream.
Write records to the stream
After creating a stream, you can write records to the stream. Go to the stream details page by clicking the stream name in the table and then click the Write records button. A drawer will appear, and you can write records to the stream in the drawer.
In this example, we will write the following record to the stream:
{ "name": "Alice", "age": 18 }
Please fill it in the Value Field and click the Produce button.
If the record is written successfully, you will see a success message and the response of the request.
Next, we can query this record from the stream.
TIP
For more information about how to write records to a stream, see Write Records to Streams.
Get records from the stream
After writing records to the stream, you can get records from the stream. Go back to the stream page, click the Records tab, you will see a empty table.
Click the Get records button, and then the record written in the previous step will be displayed.
Next steps
- Explore the stream in details.
- Create a subscription to consume records from the stream.
- Query records from streams.