GithubHelp home page GithubHelp logo

lokate's Introduction

Discovery Service

Vert.x service for service discovery.

Configuration URIs

DNS

dns://localhost:8600/

Consul

consul:http://192.168.99.100:8500

Query URIs

DNS A Record Query.

discovery:dns:A:///admin.rbss-impressions-service-staging.service.consul?port=9090
discovery:dns:A://localhost:8600/admin.rbss-impressions-service-staging.service.consul?port=8080

DNS SVR Record Query.

discovery:dns:SRV:///admin.rbss-impressions-service-staging.service.consul
discovery:dns:SRV://localhost:8600/admin.rbss-impressions-service-staging.service.consul

Consul Query

discovery:consul:///impressions-service?name=eventbus&staging
discovery:consul:http://consul.rbmhops.net:3500/impressions-service?name=eventbus&staging

Echo

One service

discovery:echo:http://foo.com:8080

Many

discovery:echo:http://foo.com:9090,http://bar.com:9091

You can use echo for testing locally.

Notes

We used to support Docker, EC2 and Mesos

Docker

docker:http://localhost:3500/

Docker Query using custom host/port

discovery:docker:http://localhost:3500/impressions-service?containerPort=8080

Docker Query using default host and port.

discovery:docker:///impressions-service?containerPort=8080

We dropped the support. We might add it back. If we add it back, we will do it as a separate jar file.

We use JDK services.

Resources/META-INF.services/io.advantageous.discovery.DiscoveryServiceFactory

io.advantageous.discovery.impl.DnsDiscoveryServiceFactory
io.advantageous.discovery.impl.ConsulDiscoveryServiceFactory

lokate's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.