public ZKClientMiddleware(ZKClient zkclient, ILogger <ZKClientMiddleware> logger, CCClientHelper ccGHelper)
 {
     _logger   = logger;
     _zkclient = zkclient;
     _zkclient.Init();
     _          = _zkclient.CheckCCAsync();
     _ccGHelper = ccGHelper;
 }
 public ZKClient(IOptions <ZKSetting> zksetting, ILogger <ZKClient> logger, CCClientHelper ccGHelper)
 {
     _logger = logger;
     if (zksetting != null)
     {
         _zksetting = zksetting.Value;
     }
     _ccGHelper = ccGHelper;
 }