Skip to main content
Apache Pulsar is an open-source distributed pub-sub messaging system and event streaming platform that is scalable and designed to support geo-replication.

Prerequisites

Before sinking data from RisingWave to Pulsar, please ensure the following:
  • A Pulsar cluster is running and accessible from RisingWave.
  • You have the permission to access the Pulsar topics you want to sink data to.

Syntax

Parameters

FORMAT and ENCODE options

These options should be set in FORMAT data_format ENCODE data_encode (key = 'value'), instead of the WITH clause

Example

The following SQL query in RisingWave creates a Pulsar sink.
You can also update the routing policy for an existing Pulsar sink without recreating it: