Beispiel #1
0
 /// <summary>
 /// Upload files from a given path to a config in Zookeeper
 /// </summary>
 /// <param name="dir">Path to the files</param>
 /// <param name="configName">The name to give the config</param>
 /// <param name="token"></param>
 /// <exception cref="IOException">If an I/O error occurs or the path does not exist</exception>
 public async Task uploadConfigDir(string dir, string configName, CancellationToken token)
 {
     await zkClient.uploadToZK(dir, ConfigsZKnode + "/" + configName, UploadFilenameExcludeRegex, token);
 }