Skip to content

Pulsar subscribeMode not working #4187

@darraghjones

Description

@darraghjones

Expected Behavior

When the following is set on a pulsar pubsub component:

  - name: subscribeMode
    value: "non_durable"

I expect the created subscrption to be non-durable.

Actual Behavior

The created subscrption is duarable.

Steps to Reproduce the Problem

Create a pulsar.pubsub component like the following:

apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
  name: pulsar-pubsub
spec:
  type: pubsub.pulsar
  version: v1
  metadata:
  - name: host
    value: "localhost:6650"
  - name: enableTLS
    value: "false"
  - name: tenant
    value: "public"
  - name: consumerID
    value: "channel1"
  - name: namespace
    value: "default"
  - name: persistent
    value: "true"
  - name: disableBatching
    value: "false"
  - name: receiverQueueSize
    value: "1000"
  - name: subscribeMode
    value: "non_durable"

Create a subscription using that component. Veryify that the created subsciption Is Not Durable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions