We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b363d4 commit 5ce4dc0Copy full SHA for 5ce4dc0
client/src/main/java/io/hstream/impl/HStreamClientBuilderImpl.java
@@ -75,6 +75,11 @@ public HStreamClient build() {
75
}
76
77
private List<String> parseServerUrls(String url) {
78
- return List.of(url.strip().split(","));
+ var prefix = "hstream://";
79
+ String uriStr = url.strip();
80
+ if (uriStr.startsWith(prefix)) {
81
+ uriStr = uriStr.substring(prefix.length());
82
+ }
83
+ return List.of(uriStr.split(","));
84
85
0 commit comments