When a consumer is deleted from the server, NACK does not recreate it
rozidan opened this issue · comments
What version were you using?
NACK: 0.14.1
Nats-server: 2.10.9
What environment was the server running in?
RKE2: v1.26.4+rke2r1
Is this defect reproducible?
- Create consumer with nack
- The consumer has been successfully created on the NATS server.
- Delete the consumer with nats-box
- Restart NACK
Given the capability you are leveraging, describe your expectation?
The consumer should be recreated
Given the expectation, what is the defect you are observing?
The consumer is not recreated
nack log:
"type: 'Normal' reason: 'Noop' Nothing done for consumer..."
Please see a similar issue fixed as part of #162 for streams
Thanks for opening the issue.
This is part of consideration for the Future of NACK, as right now it does not have reconcile loop.
For more details and discussion, check the discussion: #166
Feel encouraged to share you feedback there! 🙂
same for a stream
kubectl logs nack-XXXXXXX
Nothing done for stream "XXXX" (prevent-delete=false, prevent-update=false)
I have to delete the object and recreate it
This is something we work on while moving forward #166
This is not a bug - the NACK does not have a reconcile loop to act on changes.
The new version of it will fully support it.
Will fix #162 be released for v0.14.2? If so, can a similar fix be released for consumers?
Yes, the fix will be part of the next release. I need to take a look into the consumer code if the same easy fix can be applied.