Component schema

    TagDetailsExample use case
    {uuid}Randomly generated UUIDv4When you need a unique identifier in self-hosted mode; for example, multiple application instances consuming a
    {podName}Name of the pod containing the Dapr sidecarUse to have a persisted behavior, where the ConsumerID does not change on restart when using StatefulSets in Kubernetes
    {namespace}Namespace where the Dapr sidecar resides combined with its appIdUsing a shared when multiple application instances consume a Kafka topic in Kubernetes
    {appID}The configured appID of the resource containing the Dapr sidecarHaving a shared clientId when multiple application instances consumer a Kafka topic in self-hosted mode
    1. apiVersion: dapr.io/v1alpha1
    2. kind: Component
    3. metadata:
    4. name: messagebus
    5. spec:
    6. version: v1
    7. - name: consumerID
    8. value: "{uuid}"
    9. - name: url
    10. value: "tcp://admin:public@localhost:1883"
    11. - name: qos
    12. value: 1
    13. - name: retain
    14. - name: cleanSession
    15. value: "false"