Eureka working :)

http://localhost:8100/currency-converter-feign/from/EUR/to/INR/quantity/2000

{"id":10002,"from":"EUR","to":"INR","conversionMultiple":75.00,"quantity":2000,"totalCalculatedAmount":150000.00,"port":8001}

 

Both services registered with Eureka:

Instances currently registered with Eureka

Application AMIs Availability Zones Status
CURRENCY-CONVERSION-SERVICE n/a (1) (1) UP (1) – gandalf.lan:currency-conversion-service:8100
CURRENCY-EXCHANGE-SERVICE n/a (2) (2) UP (2) – gandalf.lan:currency-exchange-service:8000 , gandalf.lan:currency-exchange-service:8001

 

Finally it all works, but got one error:

2018-10-10 10:15:56.797 ERROR 1524 — [et_localhost-13] c.n.e.cluster.ReplicationTaskProcessor : It seems to be a socket read timeout exception, it will retry later. if it continues to happen and some eureka node occupied all the cpu time, you should set property ‘eureka.server.peer-node-read-timeout-ms’ to a bigger value

Not too worried, going on to Zuul API Gateway now.

Leave a comment