0

I am working on micro-service through the express gateway and I just want to integrate socket.io.

I have already integrated the socket.io to my one microservice and I need to connect that socket to my all other microservices.

How can I send a socket object connection from one node service to another node service?

Please help

  • Is it your intention to use Express Gateway between the sockets? – James McLeod Nov 14 '20 at 14:50
  • Yes, I am using the express gateway, now I want socket interaction between two microservices. – Shubham Tyagi Feb 15 '21 at 06:19
  • What do you need to do this for? It sounds like a lot of additional complexity over just using Express Gateway for inter-service communication. – James McLeod Feb 15 '21 at 11:53
  • I want to integrate socket.io on the express gateway .yml file so that we can integrate one scoket.io connect in every microservice for communication between microservice as well as frontend. – Shubham Tyagi Feb 18 '21 at 12:43
  • I think it would be better (less coupled) to have the Microservices communicate through Express Gateway rather than introducing a separate communication path. I think you’ll have to hack EG to do this, and it seems like a lot of work for no real benefit over using http or https via Express Gateway for inter-microservice communication. – James McLeod Feb 18 '21 at 18:41

0 Answers0