Hello Ignite-Community!
As a part of an evaluation of Ignite 1.6, I'm trying to use Ignite in a
cluster *without* cluster-mode.
It should be used as local cache (independent of the other nodes).
Therefore, the (Ignite-)nodes shouldn't try to discover other
(Ignite-)nodes.
I tried
TcpDiscoverySpi localNodeDiscovery = new TcpDiscoverySpi();
TcpDiscoveryVmIpFinder ipFinder = new TcpDiscoveryVmIpFinder();
ipFinder.setAddresses(Collections.singletonList("127.0.0.1"));
localNodeDiscovery.setIpFinder(ipFinder);
IgniteConfiguration configuration = new IgniteConfiguration()
.setDiscoverySpi(localNodeDiscovery)
.setDaemon(false);
Ignite ignite = Ignition.getOrStart(configuration);
to limit cluster-discovery to the local node.
In that case Ignite does nothing at all (the startup hangs).
I've read the docs about the different cluster-modes, but I couldn't find
the information I'm looking for (which works as expected).
Any hint is appreciated,
Peter