Hey HiveMQ-Team,
I am recently comparing message brokers.
Therefore I read your guide on persistence.
Nevertheless I am not sure whether my specific usecase is met.
------ Scenario ------
Imagine an AuthorizationServer (one or many instances), which publishes its rotating asymetric PublicKey on a messageQueue (e.g. topic = secKeys).
There are other instances in the service mesh - lets call them clients.
The clients need the PublicKeys for Token validation and do not know the location of the AuthorizationServers. They have to rely on the secKey topic for PublicKey retreival.
The keys are rotated weekly.
Hence, if a client is booted with bad timing (e.g. update), it will not receive a publickey for 5+ days although connected with HiveMQ-Persistence.
Is there a feature in HiveMQ which acts alike the “NATS JetStream” feature?
→ JetStream - NATS Docs
Messages are persisted for all clients (even NewBees) until:
… expiry on TimeToLive
… deletion on Acknowledge
Best wishes,
Parrot