I use infinispan in embedded mode, both replica and distribute mode.
I write code to support create and start cache at run-time.
I cannot determine how many cache and each cache's configuration (such as max-elements, life-span, idle-time) at design-time, my client will create their own cache with different configuration and start at run-time.
I notice that: when I create and start a cache in one node, other nodes don't know that. I should create and start cache in each node, then data can be replicated / distributed.
Is there any way to realize that: when create and start cache in one node, other nodes know this and create and start the same cache (the same name, same configuration), and data can be replicated / distributed through all nodes.
thanks.
Use http://infinispan.org/docs/8.0.x/user_guide/user_guide.html#DistributedExecutor to start those caches on remote nodes, too.