dapr / components-contrib

Community driven, reusable components for distributed apps
Apache License 2.0
548 stars 479 forks source link

dapr pubsub.rabbitmq component not honoring deleteWhenUnused=false #3583

Open rajbaratht opened 2 months ago

rajbaratht commented 2 months ago

In what area(s)?

dapr pubsub.rabbitmq component with deleteWhenUnused: false is not honored when exchanges are created

kd component/pubsub
Name:         pubsub
Namespace:    backend
Labels:       app=dapr
              chart=components
Annotations:  meta.helm.sh/release-name: components
              meta.helm.sh/release-namespace: backend
API Version:  dapr.io/v1alpha1
Kind:         Component
Metadata:
  Creation Timestamp:  2023-06-24T14:30:17Z
  Generation:          2
  Resource Version:    671471219
Spec:
  Metadata:
    Name:   exchangeKind
    Value:  topic
    Name:   durable
    Value:  true
    Name:   deleteWhenUnused
    Value:  false
    Name:   connectionString
    Secret Key Ref:
      Key:   host
      Name:  rabbitmq-host-secret
    Name:    caCert
    Secret Key Ref:
      Key:   ca.crt
      Name:  xxx
  Type:      pubsub.rabbitmq
  Version:   v1
Events:      <none>

What version of Dapr?

dapr 1.14.1 with rabbitmq version 3.12.12

Expected Behavior

Rabbitmq exchanges should be created without AD feature set.

Actual Behavior

Rabbitmq exchanges created with AD flag set. image

Steps to Reproduce the Problem

  1. Create pubsub.rabbitmq components with the values attached
  2. Check the exchanges created in the rabbitmq
dapr-bot commented 3 weeks ago

This issue has been automatically marked as stale because it has not had activity in the last 60 days. It will be closed in the next 7 days unless it is tagged (pinned, good first issue, help wanted or triaged/resolved) or other activity occurs. Thank you for your contributions.

dapr-bot commented 2 weeks ago

This issue has been automatically closed because it has not had activity in the last 67 days. If this issue is still valid, please ping a maintainer and ask them to label it as pinned, good first issue, help wanted or triaged/resolved. Thank you for your contributions.