is there elegant way subscribe updates after trigger first update of data using rabbitmq? or.. there way know when new consumer added , trigger sending data?
for example:
service getting updates service b (using rabbitmq, service b pushes ips need send data to).
service getting requests service c , sends each request ips service b.
my problem when service up, there might 1-5 minutes until service b pushes update. meanwhile, service c can send 100 requests, , i'll have no ips send these requests ...
if queue have known new consumer added - trigger sending ips..
i hope explains problem.
any appreciated.
Comments
Post a Comment