Hi,

As I talked about during the latest TomcatCon (and the previous one in
London actually ...), there's a cloud aware cluster members provider that
can be contributed to Tomcat.

The current code is here: https://github.com/rmaucher/tomcat-in-the-cloud
It uses Kubernetes to retrieve the members of a cluster, rather than
multicast (which isn't available) or static (which is well ... static)
member providers.

Credits:
Maxime Beck and JGroups did the initial code
Keiichi Fujino explained how to refactor it to fit in the Catalina cluster
API
and I refactored it as he told me to

Problems:
Only does Kubernetes for now (which is likely ok since it's now widely
available)
JSON parser dependency (org.json) that is likely not ok to have as is in
the lib folder (solutions: package renaming using a script or include json
code in Tomcat)
Needs more testing
Tomcat 9.0.13 needed (with some fixmes related to that in the code)

Comments ?

Rémy

Reply via email to