joaoqalves/krakend-eureka

Update of Eureka Instances doesn't work

Opened this issue · 1 comments

Hi,

I've applied the plugin to the source code of KrakenD as it's explained in the example and
the registration to Eureka Server happens without no issue but the update of the eureka instances doesn't.

image

When I open the code of subscriber.go inside an editor, it says that the goroutine inside the loop() function is unreachable,
in fact nothing is printed in the console(there is a fmt.Println("LOOP") inside the goroutine in question), so i can easy understand that the gorutine is never executed and the instances of eureka are never updated.

Hi @spino233. This was a small PoC I did some years ago and it's not intended for production :)

I don't use KrakenD nor Eureka anymore. So, if you want, you can submit a PR to fix it.

Best,
João