SSL 経由で MDS と通信するための Confluent Platform コンポーネントの構成

このトピックでは、SSL 経由で MDS と通信する Confluent Platform コンポーネントのための Kafka クライアントの構成について説明します。これらのファイルは、Confluent Platform インストールサーバーディレクトリの次の場所にあります。

コンポーネント 更新するプロパティファイル
Schema Registry /etc/schema-registry/schema-registry.properties
ksqlDB /etc/ksqldb/ksql-server.properties
Connect /etc/kafka/connect-distributed.properties
Confluent Control Center /etc/confluent-control-center/control-center.properties
REST Proxy /etc/kafka-rest/kafka-rest.properties

目的のコンポーネントについて、以下の Kafka クライアント構成を指定します。かっこ(<>)で囲まれた内容は、環境に応じてカスタマイズする必要があります。

confluent.metadata.bootstrap.server.urls=https://<MDS-advertised-listener0>:8090,https://<MDS-advertised-listener1>:8090,...
confluent.metadata.http.auth.credentials.provider=BASIC
confluent.metadata.basic.auth.user.info=<username>:<password>
confluent.metadata.ssl.truststore.location=<truststore-location>
confluent.metadata.ssl.truststore.password=<truststore-password>
confluent.metadata.ssl.keystore.location=<keystore-location>
confluent.metadata.ssl.keystore.password=<keystore-password>
confluent.metadata.ssl.key.password=<key-password>
confluent.metadata.ssl.endpoint.identification.algorithm=HTTPS

関連情報