I’m currently building a Microservice that needs to be able to scale, if demand is high.
The service implements a Shared Notification2.0 Consumer, which reacts to some alarms.
Now I need an Idea on how two handle Token expiration, since they all need to use the same Token one of them needs to create a new one and tell the other instances.
Also consumer naming needs to be done (here a random approach would probaply be sufficient).
Is there an idea how to handle this? I’m new to horizontal scaling.