/// <summary>
 /// 使用Zookeeper,自定义允许最大回拨时间
 /// </summary>
 /// <param name="bootstrapper">原引导着</param>
 /// <param name="connectString">Zookeeper连接字符串</param>
 /// <param name="sessionTimeout">超时时间</param>
 /// <param name="projectKey">项目主键,同一个项目下的WokerId范围:1~1023</param>
 /// <param name="maxCallbackTimespan">允许最大回拨时间</param>
 /// <returns></returns>
 public static IdHelperBootstrapper UseZookeeper(this IdHelperBootstrapper bootstrapper, string connectString, int sessionTimeout, string projectKey, TimeSpan maxCallbackTimespan)
 {
     return(new ZookeeperBootstrapper(connectString, sessionTimeout, projectKey, maxCallbackTimespan));
 }
 /// <summary>
 /// 使用Zookeeper,默认允许最大回拨时间为10分钟
 /// </summary>
 /// <param name="bootstrapper">原引导着</param>
 /// <param name="connectString">Zookeeper连接字符串</param>
 /// <param name="sessionTimeout">超时时间</param>
 /// <param name="projectKey">项目主键,同一个项目下的WokerId范围:1~1023</param>
 /// <returns></returns>
 public static IdHelperBootstrapper UseZookeeper(this IdHelperBootstrapper bootstrapper, string connectString, int sessionTimeout, string projectKey)
 {
     return(new ZookeeperBootstrapper(connectString, sessionTimeout, projectKey, new TimeSpan(0, 10, 0)));
 }