Skip to content

tjuchniewicz/hazelcast-eureka-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is example shows how we use Hazelcast Eureka Discovery when Hazelcast is embedded in a web application and we share one Eureka client between web and Hazelcast.

In this example we use https://github.com/hazelcast/hazelcast-eureka fork: https://github.com/ebjwc/eurekast-one/tree/gh-1a.

To start this example:

cd eureka
mvn spring-boot:run

cd hazelcast-node
mvn spring-boot:run -Dserver.port=8181

cd hazelcast-node
mvn spring-boot:run -Dserver.port=8282

Eureka registry: http://localhost:8761/eureka/apps (see metadata map)

Node 1 health: http://localhost:8181/health (see hazelcast.nodesCount)

Node 2 health: http://localhost:8282/health

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published