Hi Andrey, 

Yes, service deployment offers rich functionality in terms of deployment
options, but I am asking about similar functionality related to
deploying/creating caches in .NET/C#. 

I have found something similar here (Microservices example on top of
ApacheIgnite: https://github.com/dmagda/MicroServicesExample) using
IgnitePredicate, but it seems the API does not exist for .NET/C#.

Here is the code from the repository:

<bean class="org.apache.ignite.configuration.CacheConfiguration">
                    <property name="name" value="vehicles"/>
                    <property name="memoryMode" value="OFFHEAP_TIERED"/>

                    <property name="nodeFilter">
                        <bean class="common.filters.DataNodeFilter"/>
                    </property>
</bean>

public class DataNodeFilter implements IgnitePredicate<ClusterNode>
{
    public boolean apply(ClusterNode node) {
        Boolean dataNode = node.attribute("data.node");

        return dataNode != null && dataNode;
    }
}



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/How-to-deploy-cache-to-selected-cluster-group-tp10437p10447.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to