Skip to content

Commit d44830d

Browse files
author
Stephen Powis
committed
Update README
1 parent b7a61b8 commit d44830d

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ final Configuration configuration = new Configuration("https://hostname.for.kafk
7373
* with.
7474
*/
7575
configuration.useTrustStore(
76-
new File("/path/to/truststore.jks"), "TrustStorePasswordHere or NULL"
76+
new File("/path/to/truststore.jks"), "Optional Password Here or NULL"
7777
);
7878

7979
/*
@@ -83,6 +83,14 @@ configuration.useTrustStore(
8383
*/
8484
//configuration.useInsecureSslCertificates();
8585

86+
/*
87+
* If your Kafka-Connect instance is configured to require a valid client certificate, you can configure a KeyStore for
88+
* the client to send with each request:
89+
*/
90+
configuration.useKeyStore(
91+
new File("/path/to/keystore.jks"), "Optional Password Here or NULL"
92+
);
93+
8694
/*
8795
* Create an instance of KafkaConnectClient, passing your configuration.
8896
*/

0 commit comments

Comments
 (0)