Can you create a custom and Queue for Topic Subscribers so that its size can be inspected? [closed]
For testing my system, it is very important for me to know how many messages have not yet been read by a Subscriber. Unfortunately, there is no public size() function for this Queue and many of the hacks I've been trying might be too costly in the end.
Is there a way I can implement my own Queue for my Subscriber (with public access to its size)?
Looks you opened a same question?