I protype with moleculer and just wondering on an architecural issue. My app is build with many pieces: moleculer services, redis, nats, C language app,... and it's deployed on ks8 cluster. I have to subscribe to an event published by moleculer service in my C app. Having redis and nats on board I have to options:
- use native ioredis api from moleculer servise to publish an event and consume it in my C client (done)
- use NATS moleculer tansporter and consume it in C client (not even started)
What is suggested way of dealing with such architecture from your point of view?