This tutorial shows how to integrate Upstash Kafka with RisingWave
risingwave_input
, since we are going to stream from this topic to RisingWave. The name of the second topic can be risingwave_output
. This one is going to receive the stream from RisingWave.
Clusters
in the right bar. Click on Create Cluster
and select your plan and cluster configuration.
Query
page.
You need to create a user to log in to the cluster on Cloud first. The user will be a superuser by default.
UPSTASH-KAFKA-*
placeholders with the credentials from Upstash Kafka console.
This query will create a source on RisingWave. The source can be seen on the left in the console.
risingwave_input
topic in your Kafka cluster.
Produce a message in this topic in a JSON format. The message should include the fields we defined in the source creation query.
UPSTASH-KAFKA-*
placeholders with the credentials from Upstash Kafka console.
To test this sink, go to your Upstash console, open the risingwave_output
topic in your Kafka cluster. Open the messages tab to see incoming messages.
Now insert a new row to the table to be streamed: