Merge pull request #7 from apache/ignite-15759

IGNITE-15759 Replace local affinity function with the custom one