private static void WriteTopicConfig(ZkClient zkClient, string topic, Dictionary <string, string> config) { var map = new { version = 1, config = config }; ZkUtils.UpdatePersistentPath(zkClient, ZkUtils.GetTopicConfigPath(topic), JObject.FromObject(map).ToString()); }