Comments (7)
yes indeed - this has to be done. @deedarb - feel free to contribute.
from consul-cluster-manager.
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.
@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.
Tagging @tsegismont for his input here.
from consul-cluster-manager.
@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.
There is some update for this task?
from consul-cluster-manager.
@robertonav20 I stopped migrating, planning to switch to quarkus + stork
from consul-cluster-manager.
Related Issues (12)
- Release a new 1.2.0 version that is compliant with recent 3.8.0 vert.x core release. HOT 1
- Release a new 1.2.1 version that is compliant with recent 3.8.1 vert.x core release.
- EventBus address always get first one HOT 3
- NullPointerException on startup HOT 4
- Improve logging in case vert.x application instance can't reach consul instance.
- Set custom service name
- issue with "No handlers for address" HOT 2
- Introduce caching capabilities to AsyncMap.
- Decouple caching from AsyncMultiMap.
- Consider getting rid of internal application context.
- Rename "nodeHost" to "consulAgentLocation" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from consul-cluster-manager.