Closed Xploeng closed 1 month ago
This issue has been marked as stale due to 60 days of inactivity. Stale issues will be closed after a further 30 days of inactivity; please remove the stale label in order to prevent this occurring.
Closing stale issue due to further inactivity.
We have the exact same issue here. Why the Shovel kubernetes resource is not deleted when using srcDeleteAfter?
Describe the bug
Shovels that are declared using the topology operator reappear after they delete themselves when the topology operator restarts.
Shovels that have 'srcDeleteAfter' set to anything else than 'never' delete themselves at some point, but the Custom Resource Defintion in Kubernetes remains. That leads to the topology operator declaring the shovel again if it restarts.
To Reproduce
Steps to reproduce the behavior:
Expected behavior I would expect the shovel to stay deleted even after topology operator restart. Not sure if the CRD should be deleted too.
Version and environment information
Additional context
I'm trying to use a shovel as a one time operation to transfer some messages from a stream to a work queue. The work queue then persists, and after the initial transfer, only gets messages via an exchange. This all works fine until the first restart of the topology operator deployment, when the shovel is declared again and moves the messages from the stream into the work queue again.
This is the topology operator log after restart. The declaration before the restart looks the same.