Link Search Menu Expand Document

Daikon Eureka

Daikon Eureka is a library that add to Daikon the ability to publish on an Eureka Server and discover other services.

Project

https://github.com/DaikonWeb/daikon-eureka

How to use

To publish your service:

HttpServer()
    .initDiscoveryClient()
    .start()

To discover a service:

HttpServer()
    .initDiscoveryClient()
    .get("/") { _, _, ctx ->
        val service = ctx.discoveryClient().getNextServerFromEureka("onion", false)
    }
    .start()

Configure Eureka

See the Eureka guide


An Open Source Project