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 1f237bd commit 8c3c5efCopy full SHA for 8c3c5ef
client/src/main/java/io/hstream/impl/HStreamClientBuilderImpl.java
@@ -77,10 +77,13 @@ public HStreamClient build() {
77
throw new HStreamDBClientException("hstreams url schema should enable tls");
78
}
79
if (enableTls) {
80
+ checkNotNull(caPath);
81
try {
82
TlsChannelCredentials.Builder credentialsBuilder =
83
TlsChannelCredentials.newBuilder().trustManager(new File(caPath));
84
if (enableTlsAuthentication) {
85
+ checkNotNull(certPath);
86
+ checkNotNull(keyPath);
87
credentialsBuilder = credentialsBuilder.keyManager(new File(certPath), new File(keyPath));
88
89
return new HStreamClientKtImpl(
0 commit comments