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


Detailed documentation on the Pulsar pubsub component

Component format

To setup Pulsar pubsub create a component of type pubsub.pulsar. See this guide on how to create and apply a pubsub configuration.

kind: Component
  name: pulsar-pubsub
  namespace: default
  type: pubsub.pulsar
  version: v1
  - name: host
    value: "localhost:6650"
  - name: enableTLS
    value: "false"

Spec metadata fields

Field Required Details Example
host Y Address of the Pulsar broker. Default is "localhost:6650" "localhost:6650"
enableTLS N Enable TLS. Default: "false" "true", "false"

Create a Pulsar instance

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

Refer to the following Helm chart Documentation.

Last modified July 12, 2022 : update nav bar for v1.4 (#2641) (2db803e)