Skip to main content

Diagrid Pub/Sub

Type: pubsub.diagrid

Status: managed

Example

apiVersion: cra.diagrid.io/v1beta1
kind: Component
metadata:
name: <name>
spec:
type: pubsub.diagrid
version: v1
metadata:
# Name of the Pubsub managed service
- name: pubsub
value: "pubsub"
# The consumer group ID (Optional)
#- name: consumerID
# value: "<appid name>"

Metadata

pubsub (string)

Required - Name of the Pubsub managed service

Example value: pubsub

consumerID (string)

The consumer group ID

Default value: <appid name>

Example value: myapp

Documentation: https://docs.dapr.io/developing-applications/building-blocks/pubsub/pubsub-overview/#consumer-groups-and-competing-consumers-pattern