0. retry policy RetryPolicy retryPolicy = new ExponentialBackoffRetry(3000,3); 1. client 1) recipes org.apache.curator.framework.recipes.leader.LeaderSelector org.apache.curator.framework.recipes.cache.TreeCache org.apache.curator.framework.recipes.c…