Skip to content

Commit

Permalink
support auth for flink source (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicole00 authored Apr 7, 2024
1 parent e027afd commit 4afb041
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ public StorageClient getStorageClient() throws Exception {
storageClient = new StorageClient(addresses, timeout);
}

storageClient.setUser(nebulaClientOptions.getUsername());
storageClient.setPassword(nebulaClientOptions.getPassword());
if (!storageClient.connect()) {
throw new Exception("failed to connect storaged.");
}
Expand Down

0 comments on commit 4afb041

Please sign in to comment.