Use KeyAffinityService for REPL as well as DIST mode.