senecajs / seneca

A microservices toolkit for Node.js.
http://senecajs.org
MIT License
3.95k stars 314 forks source link

How to integrate it with Netflix Eureka? #670

Open danielsan opened 6 years ago

danielsan commented 6 years ago

Hi everyone,

I'm trying to choose a microservices framework to use with node but I really need to be able to integrate it with Eureka since we already have a microservices infrastructure using Eureka :'(

Does anybody know how to use seneca with Eureka for service register/discovery?

rjrodger commented 6 years ago

this should be possible using https://github.com/senecajs/seneca-balance-client BUT :) you'll need to write the Eureka integration...

How does Eureka expose service locations? HTTP API?

danielsan commented 6 years ago

It's not very complicated, but not very straight forward either. One could use the eureka-js-client module to do it.

It'd be cool to have something kind of out of the box for it.