Pulsar

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.

  1. apiVersion: dapr.io/v1alpha1
  2. kind: Component
  3. metadata:
  4. name: pulsar-pubsub
  5. namespace: default
  6. spec:
  7. type: pubsub.pulsar
  8. version: v1
  9. metadata:
  10. - name: host
  11. value: "localhost:6650"
  12. - name: enableTLS
  13. value: "false"

Spec metadata fields

FieldRequiredDetailsExample
hostYAddress of the Pulsar broker. Default is “localhost:6650”“localhost:6650”
enableTLSYEnable TLS. Default: “false”“true”, “false”

Create a Pulsar instance

  1. docker run -it \
  2. -p 6650:6650 \
  3. -p 8080:8080 \
  4. --mount source=pulsardata,target=/pulsar/data \
  5. --mount source=pulsarconf,target=/pulsar/conf \
  6. apachepulsar/pulsar:2.5.1 \
  7. bin/pulsar standalone

Refer to the following Helm chart Documentation.

Related links

Last modified March 18, 2021: Merge pull request #1321 from dapr/aacrawfi/logos (9a399d5)