internal static SortedDictionary<int, string> GetComsumerGroupOwners(ZooKeeperClient zkClient,
         string topic, string consumerGroupName)
        {
            SortedDictionary<int, string> partitionsOwners = new SortedDictionary<int, string>();

            string path = string.Format("/consumers/{0}/owners/{1}"
                    , consumerGroupName, topic);

            IEnumerable<string> partitions = zkClient.GetChildrenParentMayNotExist(path);
            if (partitions != null)
            {
                foreach (var p in partitions)
                {
                    string fullPatht = string.Format("/consumers/{0}/owners/{1}/{2}"
                    , consumerGroupName, topic, p);
                    string data = zkClient.ReadData<string>(fullPatht, true);
                    partitionsOwners.Add(Convert.ToInt32(p), data);
                }
            }

            return partitionsOwners;
        }