Cannot set max_waiting for consumer resource with an empty delivery_subject. Based on my understandings and the README, the former is a pull pased consumer config while the latter is a push-based consumer config. Should it be the opposite where max_waiting can be set only when delivery_subject is empty?
What version were you using?
nats-server: v2.10.12
What environment was the server running in?
ubuntu terraform
Is this defect reproducible?
Cannot set
max_waiting
for consumer resource with an emptydelivery_subject
. Based on my understandings and the README, the former is a pull pased consumer config while the latter is a push-based consumer config. Should it be the opposite wheremax_waiting
can be set only whendelivery_subject
is empty?https://github.com/nats-io/terraform-provider-jetstream/blob/e3cb3957e67b35afbc4614c4f0e2d73c9e9acdc6/jetstream/resource_jetstream_consumer.go#L291
Given the capability you are leveraging, describe your expectation?
max_waiting
can be set even whendelivery_subject
is emptyGiven the expectation, what is the defect you are observing?
max_waiting
cannot be set whendelivery_subject
is empty