Giter VIP home page Giter VIP logo

camel-consul-leader's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

camel-consul-leader's Issues

Redundant and repetitive logging

Example from running in "island" mode:

2016-01-28 09:58:43.915  INFO 12476 --- [pool-1-thread-1] j.c.consul.leader.ConsulLeaderElector    : Starting route=poll.es
2016-01-28 09:58:43.916  INFO 12476 --- [pool-1-thread-1] o.a.camel.spring.SpringCamelContext      : Route: poll.es started and consuming from: Endpoint[timer://pollTimer?period=1000]
2016-01-28 09:58:43.916  INFO 12476 --- [pool-1-thread-1] o.a.c.c.controlbus.ControlBusProducer    : ControlBus task done [${camelContext.startRoute("poll.es")}] with result -> void

This repeats for each poll

Support periodic step-down from leadership

For example if the route under control has been idle for N MINUTES, then stop route and step down.

This would make it possible to keep other aspiring leaders somewhat lukewarm.

Cluster lock fails during start

  1. Consul sessionKey=Optional[0fef6935-50e1-a2f6-978d-cda039dac10a]
  2. 2016/02/10 11:37:06 [WARN] consul.kvs: Rejecting lock of service/xxx/leader due to lock-delay until 2016-02-10 11:37:18.682462267 +0000 UTC
  3. 2016/02/10 11:37:23 [ERR] http: Request PUT /v1/kv/service/xxx/leader?acquire=0fef6935-50e1-a2f6-978d-cda039dac10a, error: invalid session "0fef6935-50e1-a2f6-978d-cda039dac10a" from=172.17.0.23:48013

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.