Created
December 20, 2019 09:07
-
-
Save anjanashankar9/45f8a13ccf214428300f1935fb4d27d2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void setData(CuratorFramework client, String path, String data) throws Exception { | |
byte[] payload = data.getBytes(); | |
client.setData() | |
.forPath(path, payload); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment