インターフェース KafkaConnectionDetails.Configuration
- 含まれているインターフェース:
KafkaConnectionDetails
public static interface KafkaConnectionDetails.Configuration
Kafka 接続の詳細構成。
- 導入:
- 4.0.0
- 作成者:
- Moritz Halbritter, Andy Wilkinson, Phillip Webb
メソッドのサマリー
修飾子と型メソッド説明ブートストラップサーバーのリストを返します。default @Nullable StringSEセキュリティプロトコルを返します。default @Nullable SslBundleSSL バンドルを返します。指定されたブートストラップサーバーを使用して新しい構成を作成します。of(ListSE<StringSE> bootstrapServers, @Nullable SslBundle sslBundle, @Nullable StringSE securityProtocol) 指定されたブートストラップサーバー、SSL バンドル、セキュリティプロトコルを使用して新しい構成を作成します。指定されたブートストラップサーバーと SSL バンドルを使用して新しい構成を作成します。
メソッドの詳細
of
指定されたブートストラップサーバーを使用して新しい構成を作成します。- パラメーター:
bootstrapServers- ブートストラップサーバー- 戻り値:
- 構成
of
static KafkaConnectionDetails.Configuration of(ListSE<StringSE> bootstrapServers, SslBundle sslBundle) 指定されたブートストラップサーバーと SSL バンドルを使用して新しい構成を作成します。- パラメーター:
bootstrapServers- ブートストラップサーバーsslBundle- SSL バンドル- 戻り値:
- 構成
of
static KafkaConnectionDetails.Configuration of(ListSE<StringSE> bootstrapServers, @Nullable SslBundle sslBundle, @Nullable StringSE securityProtocol) 指定されたブートストラップサーバー、SSL バンドル、セキュリティプロトコルを使用して新しい構成を作成します。- パラメーター:
bootstrapServers- ブートストラップサーバーsslBundle- SSL バンドルsecurityProtocol- セキュリティプロトコル- 戻り値:
- 構成
getBootstrapServers
getSslBundle
getSecurityProtocol