Thanks Alexey. 1. Tried the Ignite instance with the below code, but seems that it also cannot injected automatically. Is there extra work, e.g. any config/implements some interface, to make the annotation: IgniteInstanceResource work?
/** Ignite instance. */ @IgniteInstanceResource private Ignite ignite; 2. when is the AffinityFunction synced between all the nodes? only in the node join? If the BackupFilter's result depends on some node specific thing, e.g. a local file which may change very rarely, it will cause the ignite not to work, right? 3. Actually our use scenario is just as below: i) group all the machines in the cluster into different groups ii) don't hope all the replicas of one partitions are assigned to the same group iii) when do the deployment, all the groups are restarted one by one, so this can make sure the data in the memory don't lose. This should be a common scenario for the all the production use, right? Is there a common way to do this in Ignite team now? Thanks, -Jason -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/How-to-use-the-logger-in-the-BackupFilter-tp6442p6461.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.