Code Monkey home page Code Monkey logo

felixklauke / mercantor Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 377 KB

A simple but effective network attached service registry with load balancing capabilities running in a high availability cluster used for client side service discovery in a microservice environment.

Home Page: http://felix-klauke.de

License: MIT License

Kotlin 97.42% Java 2.20% Dockerfile 0.37%
microservice service service-discovery service-registry network jersey rest load load-balancer heartbeat

mercantor's Introduction

license Issues Codacy Badge

mercantor

A simple but effective network attached service registry with optional load balancing capabilities used for service discovery in a microservice environment.

Build Status

Build Status Test Code Coverage
Master Build Status codecov
Development Build Status codecov

Usage

  • Install Gradle
  • Clone this repo
  • Install: gradle build jar

Example

Create client:

val mercantorDiscoveryClient = MercantorDiscoveryClientFactory.
        createDiscoveryClient(MercantorDiscoveryClientConfig("http://localhost:8080"));

mercantor's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

mercantor's Issues

Heartbeat storage not working

What did happen? How critical is it?
Heartbeats are not saved by the server

Expected behaviour

The server should save the last heartbeat.

Actual behaviour

Only the first heartbeat is stored.

Steps to reproduce

  1. Start server and client
  2. Register a service
  3. Wait for 2 heartbeat periods

Multiple backend handling

Add possibility to have multiple services for the same role and implement different methods of selection policy.

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.