Latching more than one message
I have a latched topic that publishes a kind of log messages. When a client connect, he will get the latest log message, however this is often too limited, since the client needs to know what has happened in the past as well as what is happening right now. Ideally I would want to be able to define the number of messages to be latched.
Is there any way that I can - with just one topic - provide a new client the latest N messages?
Or do I have to create a dedicated service to provide the latest N messages, which the client then will have to carefully synchronize with the ongoing publishing of log messages?