Git Product home page Git Product logo

Comments (7)

romalev avatar romalev commented on June 19, 2024

yes indeed - this has to be done. @deedarb - feel free to contribute.

from consul-cluster-manager.

deedarb avatar deedarb commented on June 19, 2024

i've seen hazelcast, infinispan implementation for vertx 4.
Planning to implement for consul, but not sure about clusterHost and clusterPublicHost in new ClusterManager SPI.
Should i implement them or no?
Hazelcast starts "agent" with vertx instance, but consul do not, zookeeper is similar to consul and there is no implementations for those methods in zookeeper.

from consul-cluster-manager.

deedarb avatar deedarb commented on June 19, 2024

@vietj could you help me with understanding clusterHost & clusterPublicHost, if i understand correctly
If the cluster manager has its own server for data/membership, this returns the host it is listening to. When users don't configure the eventbus cluster host, the value will serve as a default. Returns: null if the cluster manager does not start a server or the host couldn't be determined

vertx instance will not start consul agent so i should not override clusterHost?
If the cluster manager has its own server for data/membership, this returns the host it advertises to other nodes. When users don't configure the eventbus cluster public host, the value will serve as a default. Returns: null if the cluster manager does not advertise a host that is different from the cluster host or the public host couldn't be determined
this is not clear for me: how to decide if "cluster manager does not advertise a host that is different" ?

from consul-cluster-manager.

pmlopes avatar pmlopes commented on June 19, 2024

Tagging @tsegismont for his input here.

from consul-cluster-manager.

tsegismont avatar tsegismont commented on June 19, 2024

@deedarb some cloud providers have network configurations that make you bind server sockets to a hostname that is not the name used by others to reach you from the outside (for security reasons).

Vert.x needs to know which hostname (cluster host) to use when binding the eventbus server socket. It also needs to know which hostname (public host) it should advertise to other Vert.x nodes.

from consul-cluster-manager.

robertonav20 avatar robertonav20 commented on June 19, 2024

There is some update for this task?

from consul-cluster-manager.

deedarb avatar deedarb commented on June 19, 2024

@robertonav20 I stopped migrating, planning to switch to quarkus + stork

from consul-cluster-manager.

Related Issues (12)

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.