インターフェース KafkaConnectionDetails.Configuration

含まれているインターフェース:
KafkaConnectionDetails

public static interface KafkaConnectionDetails.Configuration
Kafka 接続の詳細構成。
導入:
4.0.0
作成者:
Moritz Halbritter, Andy Wilkinson, Phillip Webb
  • メソッドの詳細

    • of

      static KafkaConnectionDetails.Configuration of(ListSE<StringSE> bootstrapServers)
      指定されたブートストラップサーバーを使用して新しい構成を作成します。
      パラメーター:
      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

      ListSE<StringSE> getBootstrapServers()
      ブートストラップサーバーのリストを返します。
      戻り値:
      ブートストラップサーバーのリスト
    • getSslBundle

      default @Nullable SslBundle getSslBundle()
      SSL バンドルを返します。
      戻り値:
      SSL バンドル
    • getSecurityProtocol

      default @Nullable StringSE getSecurityProtocol()
      セキュリティプロトコルを返します。
      戻り値:
      セキュリティプロトコル