The documentation you are viewing is for Dapr v0.11 which is an older version of Dapr. For up-to-date documentation, see the latest version.


Detailed documentation on the Pulsar pubsub component

Setup Pulsar

docker run -it \
  -p 6650:6650 \
  -p 8080:8080 \
  --mount source=pulsardata,target=/pulsar/data \
  --mount source=pulsarconf,target=/pulsar/conf \
  apachepulsar/pulsar:2.5.1 \
  bin/pulsar standalone

Please refer to the following Helm chart Documentation.

Create a Dapr component

The next step is to create a Dapr component for Pulsar.

Create the following YAML file named pulsar.yaml:

kind: Component
  name: <NAME>
  namespace: <NAMESPACE>
  type: pubsub.pulsar
  version: v1
  - name: host
    value: <REPLACE WITH PULSAR URL> #default is localhost:6650
  - name: enableTLS
    value: <TRUE/FALSE>

Apply the configuration

Visit this guide for instructions on configuring pub/sub components.

Last modified July 7, 2022: update nav bar v0.11 (#2633) (b309d3d)