File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ final Configuration configuration = new Configuration("https://hostname.for.kafk
7373 * with.
7474 */
7575configuration. 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 */
You can’t perform that action at this time.
0 commit comments