We have been using jdbc based discovery successfully, but have been trying
to get this to work with docker. The problem is of course that all the
internal IP's inside the docker container are useless, so we'd really need
some way to override the discovery mechanism. Now you could of course say
that I should be using the static mechanism, but configuration-wise it
makes things really messy.

It would be much cleaner to simply make each node publish its "correct"
external address to the discovery api, so that the JDBC discovery mechanism
would contain only the external address (ignoring loopbacks here, unsure if
there is a use case).

By reading the source it would appear that this is not really supported, or
am I missing something ? (It would appear like I need some kind of
ovverride in the TcpDiscoveryMulticastIpFinder#initializeLocalAddresses/U.
resolveLocalAddresses
area).


Kristian

Reply via email to