New to RisingWave webhooks? Before configuring RudderStack, it’s recommended to run a quick local smoke test to confirm your RisingWave webhook listener is reachable and your table is ingesting events. See Webhook endpoint and Quick local smoke test.
1. Create a table in RisingWave
Next, create a table configured to accept webhook data from RudderStack.
Or you can also use raw string for verification without secret:
2. Set up webhook in RudderStack
After configuring RisingWave to accept webhook data, set up RudderStack to send events to your RisingWave instance.RisingWave webhook URL
The webhook URL should follow this format:Configure webhook in RudderStack
For more detailed instructions, refer to the RudderStack documentation.1
Access RudderStack Dashboard: Log in to your RudderStack dashboard.
2
As a CDP, RudderStack allow your build your own data pipeline. To sink data into RisingWave, you first need to have data sources. You can build your sources following the guidance.
After creating your source, in the left sidebar, click on Collect > Destinations > New Destination.
3
Choose Webhook as the Destination:
- Search for
webhookin the list of available destinations. - Select webhook and proceed to configure it.
4
Configure the webhook settings:
- Name destination: Specify the name of your webhook destination.
- Connect Sources: Choose the data source you want to push to RisingWave from.
- Webhook URL: Enter your RisingWave webhook URL.
- URL Method: Select
POST. - Headers: Keep the
content-type: application/jsonunchanged. Add anAuthorizationheader with the value set to your secret string (‘TEST_WEBHOOK’ or the secure string you used when creatingtest_secretin RisingWave).- Header Key:
Authorization(Or replace with the value you like, make sure it’s aligned with theCREATE TABLEDML SQL). - Header Value:
TEST_WEBHOOK(replace with your actual secret).
- Header Key:
5
Save and Activate the Destination:
- Review your settings.
- Click continue to activate the webhook destination.
3. Push Data from RudderStack via Webhook
With the webhook configured, RudderStack will automatically send HTTP POST requests to your RisingWave webhook URL whenever there are data generated from the connected source. RisingWave will receive these requests, validate the signatures, and insert the payload data into the target table.4. Further event processing
The data in the table is already ready for further processing. You can access the fields usingdata->'field_name' in SQL queries.
You can create a materialized view to extract specific fields from the JSON payload.
rudderstack_events like a regular table to perform analytics, generate reports, or trigger further processing.