Shenrak

Shenrak

Connect Phoenix web server to Netflix Eureka

Hi !

I am trying to create a micro-service in Elixir, and I want to connect it to Netflix Eureka, which is currently used to manage several existing microservices written in Java and Javascript. The elixir microservice is designed to be kind of a POC but we want to integrate it in the long term.

I found the eurexa project but i’m not sure if it works and it seems that it is not maintained. Moreover it has near-zero documentation…

Has any of you guys any idea on how to do that ?

Thanks for your time

Most Liked

Matsa59

Matsa59

Check if the API used by the eurexa don’t change for 5 years. If it don’t you can use it.

However, the code doesn’t allow you to use custom things : it use httpoison and poison. So it will add 2 more dependencies to your app.

Also it is not on hex.pm (not an issue but nice to know).

Maybe you can simply use it and fork the project / send them PRs.


Personally I wouldn’t use it and code everything for my hands (fork their repo and do a big PR or create a new lib)

Shenrak

Shenrak

Thank you for your time, I’ll think about it !

Your answer is really helpful

Where Next?

Popular in Questions Top

RisingFromAshes
I’ve read in another post that it may be possible with a router helper - but I couldn’t find an appropriate one, and tbh, I’m still just ...
New
9mm
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New
komlanvi
Hi everyone, I was playing with phoenix liveView but I run into an issue. I have a form and want to validate each input text when the te...
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
shijith.k
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New
aalberti333
As the title describes, I’m trying to run Enum.map() over a list of key/value pairs, where the value is a map. My data looks like this: ...
New
pmjoe
I have a relationship of love and hate with Elixir. Lots of things are just absolutely right, but there are some things that are kind of ...
New

Other popular topics Top

KronicDeth
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine) This is a plugin that adds support for Elixir to JetBrains IntelliJ...
289 36820 110
New
nobody
Hi! In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir? Searched the docs for ip address and the web, no good results. Thanks!
New
Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
dokuzbir
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New
msaraiva
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
564 44265 214
New
AstonJ
Posting this to see if we can make things easier for people to get into Neovim. If you use Neovim and have a favourite distro please let ...
New

We're in Beta

About us Mission Statement