This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Configuration

Learn how to configure the extensions for Kafka Connect.

    This section describes how to configure the Kafka Connect extension.

    Extension

    The Kafka Connect extension can be enabled/disabled via the configuration properties:

    # Example
    jikkou {
      extensions.provider.kafkaconnect.enabled = true
    }
    

    Configuration

    You can configure the properties to be used to connect the Kafka Connect cluster through the Jikkou client configuration property: jikkou.kafkaConnect.

    Example:

    jikkou {
      kafkaConnect {
        # Array of Kafka Connect clusters configurations.
        clusters = [
          {
            # Name of the cluster (e.g., dev, staging, production, etc.)
            name = "locahost"
            # URL of the Kafka Connect service
            url = "http://localhost:8083"
            # Method to use for authenticating on Kafka Connect. Available values are: [none, basicauth, ssl]
            authMethod = none
            # Use when 'authMethod' is 'basicauth' to specify the username for Authorization Basic header
            basicAuthUser = null
            # Use when 'authMethod' is 'basicauth' to specify the password for Authorization Basic header
            basicAuthPassword = null
            # Enable debug logging
            debugLoggingEnabled = false
      
            # Ssl Config: Use when 'authMethod' is 'ssl'
            # The location of the key store file.
            sslKeyStoreLocation = "/certs/registry.keystore.jks"
            # The file format of the key store file.
            sslKeyStoreType = "JKS"
            # The password for the key store file.
            sslKeyStorePassword = "password"
            # The password of the private key in the key store file.
            sslKeyPassword = "password"
            # The location of the trust store file.
            sslTrustStoreLocation = "/certs/registry.truststore.jks"
            # The file format of the trust store file.
            sslTrustStoreType = "JKS"
            # The password for the trust store file.
            sslTrustStorePassword = "password"
            # Specifies whether to ignore the hostname verification.
            sslIgnoreHostnameVerification = true
          }
        ]
      }
    }