How to remove a topic when it has no subscribers?

Viewed 187

I am building a Diffusion solution that create a tree of topics.

I am creating topics on demand to reflect values received from a RabbitMQ feed. Each topic has a memory cost, so I am looking to remove the topic once it has had no subscribers for some time.

How can this do done with unified Java API?

1 Answers
Related