This is a very basic proposal that would allow to mark certain entities as "unrecoverable", as in, they won't be stored in the topology recovery cache and thus won't be recovered. But also won't keep accumulating if the queues are deleted via a mechanism such as TTL, or another client.
Topology Filtering Interface
ConnectionFactory can accept a TopologyRecoveryEntityFilter (or something like that) that would accept a new methods similar in spirit to Predicate<T> but potentially with a list of parameters, e.g.
See https://github.com/rabbitmq/rabbitmq-java-client/discussions/1311 for background.
This is a very basic proposal that would allow to mark certain entities as "unrecoverable", as in, they won't be stored in the topology recovery cache and thus won't be recovered. But also won't keep accumulating if the queues are deleted via a mechanism such as TTL, or another client.
Topology Filtering Interface
ConnectionFactory
can accept aTopologyRecoveryEntityFilter
(or something like that) that would accept a new methods similar in spirit toPredicate<T>
but potentially with a list of parameters, e.g.By default, an "all-accepting" implementation can be used.