为 kusto 接收器连接器设置信任库

问题描述 投票:0回答:1

我想为 kusto 接收器连接器设置指定的信任库文件和密码。 我应该使用哪些参数? 看来连接器默认会使用jre下的truststore文件,对吧?

谢谢,

我想为 kusto 接收器连接器设置指定的信任库文件和密码。

azure-data-explorer
1个回答
0
投票

qusto sing 连接器使用默认的 Java 信任存储,如果您想为 Kusto Sink 连接器设置指定的信任存储文件和密码,请按照下面的示例配置片段进行操作。

name=my-kusto-sink-connector
connector.class=com.microsoft.azure.kusto.kafka.connect.sink.KustoSinkConnector
tasks.max=1
topics=my-topic
key.converter=org.apache.kafka.connect.converters.ByteArrayConverter
value.converter=org.apache.kafka.connect.converters.ByteArrayConverter
kusto.tables.mapping=my-table:my-topic
kusto.ingestion.properties.file=path/to/ingestion/properties/file
kusto.authentication.clientId=myClientId
kusto.authentication.clientKey=myClientKey
kusto.authentication.authority=myAuthority
ssl.truststore.location=/path/to/your/truststore.jks
ssl.truststore.password=yourTruststorePassword

© www.soinside.com 2019 - 2024. All rights reserved.