This is an automated email from the ASF dual-hosted git repository.

coheigea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 8a1fa2d  Explicitly default the Kafka sslEndpointAlgorithm to "https", 
to mirror what Kafka sets as default. This makes our documentation a bit 
clearer.
8a1fa2d is described below

commit 8a1fa2df6a8c578c9a19bd5b76acd344c2aaca40
Author: Colm O hEigeartaigh <cohei...@apache.org>
AuthorDate: Wed Jul 1 11:58:54 2020 +0100

    Explicitly default the Kafka sslEndpointAlgorithm to "https", to mirror 
what Kafka sets as default. This makes our documentation a bit clearer.
---
 .../resources/org/apache/camel/catalog/components/kafka.json          | 4 ++--
 .../resources/org/apache/camel/catalog/docs/kafka-component.adoc      | 4 ++--
 .../generated/resources/org/apache/camel/component/kafka/kafka.json   | 4 ++--
 components/camel-kafka/src/main/docs/kafka-component.adoc             | 4 ++--
 .../java/org/apache/camel/component/kafka/KafkaConfiguration.java     | 4 ++--
 .../java/org/apache/camel/component/kafka/KafkaComponentTest.java     | 1 +
 .../camel/builder/component/dsl/KafkaComponentBuilderFactory.java     | 1 +
 .../camel/builder/endpoint/dsl/KafkaEndpointBuilderFactory.java       | 3 +++
 docs/components/modules/ROOT/pages/kafka-component.adoc               | 4 ++--
 9 files changed, 17 insertions(+), 12 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/kafka.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/kafka.json
index c99c690..4b90c86 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/kafka.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/kafka.json
@@ -105,7 +105,7 @@
     "sslCipherSuites": { "kind": "property", "displayName": "Ssl Cipher 
Suites", "group": "security", "label": "common,security", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": 
"configuration", "description": "A list of cipher suites. This is a named 
combination of authentication, encryption, MAC and key exchange algorithm used 
to  [...]
     "sslContextParameters": { "kind": "property", "displayName": "Ssl Context 
Parameters", "group": "security", "label": "common,security", "required": 
false, "type": "object", "javaType": 
"org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": 
"configuration", "description": "SSL configuration using a Camel 
SSLContextParameters object. If configured it's [...]
     "sslEnabledProtocols": { "kind": "property", "displayName": "Ssl Enabled 
Protocols", "group": "security", "label": "common,security", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"secret": false, "defaultValue": "TLSv1.2", "configurationClass": 
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": 
"configuration", "description": "The list of protocols enabled for SSL 
connections. TLSv1.2, TLSv1.1 and TLSv1 are enable [...]
-    "sslEndpointAlgorithm": { "kind": "property", "displayName": "Ssl Endpoint 
Algorithm", "group": "security", "label": "common,security", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": 
"configuration", "description": "The endpoint identification algorithm to 
validate server hostname using server certificate." },
+    "sslEndpointAlgorithm": { "kind": "property", "displayName": "Ssl Endpoint 
Algorithm", "group": "security", "label": "common,security", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"secret": false, "defaultValue": "https", "configurationClass": 
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": 
"configuration", "description": "The endpoint identification algorithm to 
validate server hostname using server certificate." },
     "sslKeymanagerAlgorithm": { "kind": "property", "displayName": "Ssl 
Keymanager Algorithm", "group": "security", "label": "common,security", 
"required": false, "type": "string", "javaType": "java.lang.String", 
"deprecated": false, "secret": false, "defaultValue": "SunX509", 
"configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", 
"configurationField": "configuration", "description": "The algorithm used by 
key manager factory for SSL connections. Default value is th [...]
     "sslKeyPassword": { "kind": "property", "displayName": "Ssl Key Password", 
"group": "security", "label": "producer,security", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "secret": true, 
"configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", 
"configurationField": "configuration", "description": "The password of the 
private key in the key store file. This is optional for client." },
     "sslKeystoreLocation": { "kind": "property", "displayName": "Ssl Keystore 
Location", "group": "security", "label": "producer,security", "required": 
false, "type": "string", "javaType": "java.lang.String", "deprecated": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": 
"configuration", "description": "The location of the key store file. This is 
optional for client and can be used for two-way authentication for cl [...]
@@ -206,7 +206,7 @@
     "sslCipherSuites": { "kind": "parameter", "displayName": "Ssl Cipher 
Suites", "group": "security", "label": "common,security", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": 
"configuration", "description": "A list of cipher suites. This is a named 
combination of authentication, encryption, MAC and key exchange algorithm used 
to [...]
     "sslContextParameters": { "kind": "parameter", "displayName": "Ssl Context 
Parameters", "group": "security", "label": "common,security", "required": 
false, "type": "object", "javaType": 
"org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": 
"configuration", "description": "SSL configuration using a Camel 
SSLContextParameters object. If configured it' [...]
     "sslEnabledProtocols": { "kind": "parameter", "displayName": "Ssl Enabled 
Protocols", "group": "security", "label": "common,security", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"secret": false, "defaultValue": "TLSv1.2", "configurationClass": 
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": 
"configuration", "description": "The list of protocols enabled for SSL 
connections. TLSv1.2, TLSv1.1 and TLSv1 are enabl [...]
-    "sslEndpointAlgorithm": { "kind": "parameter", "displayName": "Ssl 
Endpoint Algorithm", "group": "security", "label": "common,security", 
"required": false, "type": "string", "javaType": "java.lang.String", 
"deprecated": false, "secret": false, "configurationClass": 
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": 
"configuration", "description": "The endpoint identification algorithm to 
validate server hostname using server certificate." },
+    "sslEndpointAlgorithm": { "kind": "parameter", "displayName": "Ssl 
Endpoint Algorithm", "group": "security", "label": "common,security", 
"required": false, "type": "string", "javaType": "java.lang.String", 
"deprecated": false, "secret": false, "defaultValue": "https", 
"configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", 
"configurationField": "configuration", "description": "The endpoint 
identification algorithm to validate server hostname using server certific [...]
     "sslKeymanagerAlgorithm": { "kind": "parameter", "displayName": "Ssl 
Keymanager Algorithm", "group": "security", "label": "common,security", 
"required": false, "type": "string", "javaType": "java.lang.String", 
"deprecated": false, "secret": false, "defaultValue": "SunX509", 
"configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", 
"configurationField": "configuration", "description": "The algorithm used by 
key manager factory for SSL connections. Default value is t [...]
     "sslKeyPassword": { "kind": "parameter", "displayName": "Ssl Key 
Password", "group": "security", "label": "producer,security", "required": 
false, "type": "string", "javaType": "java.lang.String", "deprecated": false, 
"secret": true, "configurationClass": 
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": 
"configuration", "description": "The password of the private key in the key 
store file. This is optional for client." },
     "sslKeystoreLocation": { "kind": "parameter", "displayName": "Ssl Keystore 
Location", "group": "security", "label": "producer,security", "required": 
false, "type": "string", "javaType": "java.lang.String", "deprecated": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": 
"configuration", "description": "The location of the key store file. This is 
optional for client and can be used for two-way authentication for c [...]
diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/kafka-component.adoc
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/kafka-component.adoc
index 0dd8ed6..ea8c994 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/kafka-component.adoc
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/kafka-component.adoc
@@ -131,7 +131,7 @@ The Kafka component supports 97 options, which are listed 
below.
 | *sslCipherSuites* (security) | A list of cipher suites. This is a named 
combination of authentication, encryption, MAC and key exchange algorithm used 
to negotiate the security settings for a network connection using TLS or SSL 
network protocol.By default all the available cipher suites are supported. |  | 
String
 | *sslContextParameters* (security) | SSL configuration using a Camel 
SSLContextParameters object. If configured it's applied before the other SSL 
endpoint parameters. NOTE: Kafka only supports loading keystore from file 
locations, so prefix the location with file: in the KeyStoreParameters.resource 
option. |  | SSLContextParameters
 | *sslEnabledProtocols* (security) | The list of protocols enabled for SSL 
connections. TLSv1.2, TLSv1.1 and TLSv1 are enabled by default. | TLSv1.2 | 
String
-| *sslEndpointAlgorithm* (security) | The endpoint identification algorithm to 
validate server hostname using server certificate. |  | String
+| *sslEndpointAlgorithm* (security) | The endpoint identification algorithm to 
validate server hostname using server certificate. | https | String
 | *sslKeymanagerAlgorithm* (security) | The algorithm used by key manager 
factory for SSL connections. Default value is the key manager factory algorithm 
configured for the Java Virtual Machine. | SunX509 | String
 | *sslKeyPassword* (security) | The password of the private key in the key 
store file. This is optional for client. |  | String
 | *sslKeystoreLocation* (security) | The location of the key store file. This 
is optional for client and can be used for two-way authentication for client. | 
 | String
@@ -259,7 +259,7 @@ with the following path and query parameters:
 | *sslCipherSuites* (security) | A list of cipher suites. This is a named 
combination of authentication, encryption, MAC and key exchange algorithm used 
to negotiate the security settings for a network connection using TLS or SSL 
network protocol.By default all the available cipher suites are supported. |  | 
String
 | *sslContextParameters* (security) | SSL configuration using a Camel 
SSLContextParameters object. If configured it's applied before the other SSL 
endpoint parameters. NOTE: Kafka only supports loading keystore from file 
locations, so prefix the location with file: in the KeyStoreParameters.resource 
option. |  | SSLContextParameters
 | *sslEnabledProtocols* (security) | The list of protocols enabled for SSL 
connections. TLSv1.2, TLSv1.1 and TLSv1 are enabled by default. | TLSv1.2 | 
String
-| *sslEndpointAlgorithm* (security) | The endpoint identification algorithm to 
validate server hostname using server certificate. |  | String
+| *sslEndpointAlgorithm* (security) | The endpoint identification algorithm to 
validate server hostname using server certificate. | https | String
 | *sslKeymanagerAlgorithm* (security) | The algorithm used by key manager 
factory for SSL connections. Default value is the key manager factory algorithm 
configured for the Java Virtual Machine. | SunX509 | String
 | *sslKeyPassword* (security) | The password of the private key in the key 
store file. This is optional for client. |  | String
 | *sslKeystoreLocation* (security) | The location of the key store file. This 
is optional for client and can be used for two-way authentication for client. | 
 | String
diff --git 
a/components/camel-kafka/src/generated/resources/org/apache/camel/component/kafka/kafka.json
 
b/components/camel-kafka/src/generated/resources/org/apache/camel/component/kafka/kafka.json
index c99c690..4b90c86 100644
--- 
a/components/camel-kafka/src/generated/resources/org/apache/camel/component/kafka/kafka.json
+++ 
b/components/camel-kafka/src/generated/resources/org/apache/camel/component/kafka/kafka.json
@@ -105,7 +105,7 @@
     "sslCipherSuites": { "kind": "property", "displayName": "Ssl Cipher 
Suites", "group": "security", "label": "common,security", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": 
"configuration", "description": "A list of cipher suites. This is a named 
combination of authentication, encryption, MAC and key exchange algorithm used 
to  [...]
     "sslContextParameters": { "kind": "property", "displayName": "Ssl Context 
Parameters", "group": "security", "label": "common,security", "required": 
false, "type": "object", "javaType": 
"org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": 
"configuration", "description": "SSL configuration using a Camel 
SSLContextParameters object. If configured it's [...]
     "sslEnabledProtocols": { "kind": "property", "displayName": "Ssl Enabled 
Protocols", "group": "security", "label": "common,security", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"secret": false, "defaultValue": "TLSv1.2", "configurationClass": 
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": 
"configuration", "description": "The list of protocols enabled for SSL 
connections. TLSv1.2, TLSv1.1 and TLSv1 are enable [...]
-    "sslEndpointAlgorithm": { "kind": "property", "displayName": "Ssl Endpoint 
Algorithm", "group": "security", "label": "common,security", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": 
"configuration", "description": "The endpoint identification algorithm to 
validate server hostname using server certificate." },
+    "sslEndpointAlgorithm": { "kind": "property", "displayName": "Ssl Endpoint 
Algorithm", "group": "security", "label": "common,security", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"secret": false, "defaultValue": "https", "configurationClass": 
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": 
"configuration", "description": "The endpoint identification algorithm to 
validate server hostname using server certificate." },
     "sslKeymanagerAlgorithm": { "kind": "property", "displayName": "Ssl 
Keymanager Algorithm", "group": "security", "label": "common,security", 
"required": false, "type": "string", "javaType": "java.lang.String", 
"deprecated": false, "secret": false, "defaultValue": "SunX509", 
"configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", 
"configurationField": "configuration", "description": "The algorithm used by 
key manager factory for SSL connections. Default value is th [...]
     "sslKeyPassword": { "kind": "property", "displayName": "Ssl Key Password", 
"group": "security", "label": "producer,security", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "secret": true, 
"configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", 
"configurationField": "configuration", "description": "The password of the 
private key in the key store file. This is optional for client." },
     "sslKeystoreLocation": { "kind": "property", "displayName": "Ssl Keystore 
Location", "group": "security", "label": "producer,security", "required": 
false, "type": "string", "javaType": "java.lang.String", "deprecated": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": 
"configuration", "description": "The location of the key store file. This is 
optional for client and can be used for two-way authentication for cl [...]
@@ -206,7 +206,7 @@
     "sslCipherSuites": { "kind": "parameter", "displayName": "Ssl Cipher 
Suites", "group": "security", "label": "common,security", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": 
"configuration", "description": "A list of cipher suites. This is a named 
combination of authentication, encryption, MAC and key exchange algorithm used 
to [...]
     "sslContextParameters": { "kind": "parameter", "displayName": "Ssl Context 
Parameters", "group": "security", "label": "common,security", "required": 
false, "type": "object", "javaType": 
"org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": 
"configuration", "description": "SSL configuration using a Camel 
SSLContextParameters object. If configured it' [...]
     "sslEnabledProtocols": { "kind": "parameter", "displayName": "Ssl Enabled 
Protocols", "group": "security", "label": "common,security", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"secret": false, "defaultValue": "TLSv1.2", "configurationClass": 
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": 
"configuration", "description": "The list of protocols enabled for SSL 
connections. TLSv1.2, TLSv1.1 and TLSv1 are enabl [...]
-    "sslEndpointAlgorithm": { "kind": "parameter", "displayName": "Ssl 
Endpoint Algorithm", "group": "security", "label": "common,security", 
"required": false, "type": "string", "javaType": "java.lang.String", 
"deprecated": false, "secret": false, "configurationClass": 
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": 
"configuration", "description": "The endpoint identification algorithm to 
validate server hostname using server certificate." },
+    "sslEndpointAlgorithm": { "kind": "parameter", "displayName": "Ssl 
Endpoint Algorithm", "group": "security", "label": "common,security", 
"required": false, "type": "string", "javaType": "java.lang.String", 
"deprecated": false, "secret": false, "defaultValue": "https", 
"configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", 
"configurationField": "configuration", "description": "The endpoint 
identification algorithm to validate server hostname using server certific [...]
     "sslKeymanagerAlgorithm": { "kind": "parameter", "displayName": "Ssl 
Keymanager Algorithm", "group": "security", "label": "common,security", 
"required": false, "type": "string", "javaType": "java.lang.String", 
"deprecated": false, "secret": false, "defaultValue": "SunX509", 
"configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", 
"configurationField": "configuration", "description": "The algorithm used by 
key manager factory for SSL connections. Default value is t [...]
     "sslKeyPassword": { "kind": "parameter", "displayName": "Ssl Key 
Password", "group": "security", "label": "producer,security", "required": 
false, "type": "string", "javaType": "java.lang.String", "deprecated": false, 
"secret": true, "configurationClass": 
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": 
"configuration", "description": "The password of the private key in the key 
store file. This is optional for client." },
     "sslKeystoreLocation": { "kind": "parameter", "displayName": "Ssl Keystore 
Location", "group": "security", "label": "producer,security", "required": 
false, "type": "string", "javaType": "java.lang.String", "deprecated": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": 
"configuration", "description": "The location of the key store file. This is 
optional for client and can be used for two-way authentication for c [...]
diff --git a/components/camel-kafka/src/main/docs/kafka-component.adoc 
b/components/camel-kafka/src/main/docs/kafka-component.adoc
index 0dd8ed6..ea8c994 100644
--- a/components/camel-kafka/src/main/docs/kafka-component.adoc
+++ b/components/camel-kafka/src/main/docs/kafka-component.adoc
@@ -131,7 +131,7 @@ The Kafka component supports 97 options, which are listed 
below.
 | *sslCipherSuites* (security) | A list of cipher suites. This is a named 
combination of authentication, encryption, MAC and key exchange algorithm used 
to negotiate the security settings for a network connection using TLS or SSL 
network protocol.By default all the available cipher suites are supported. |  | 
String
 | *sslContextParameters* (security) | SSL configuration using a Camel 
SSLContextParameters object. If configured it's applied before the other SSL 
endpoint parameters. NOTE: Kafka only supports loading keystore from file 
locations, so prefix the location with file: in the KeyStoreParameters.resource 
option. |  | SSLContextParameters
 | *sslEnabledProtocols* (security) | The list of protocols enabled for SSL 
connections. TLSv1.2, TLSv1.1 and TLSv1 are enabled by default. | TLSv1.2 | 
String
-| *sslEndpointAlgorithm* (security) | The endpoint identification algorithm to 
validate server hostname using server certificate. |  | String
+| *sslEndpointAlgorithm* (security) | The endpoint identification algorithm to 
validate server hostname using server certificate. | https | String
 | *sslKeymanagerAlgorithm* (security) | The algorithm used by key manager 
factory for SSL connections. Default value is the key manager factory algorithm 
configured for the Java Virtual Machine. | SunX509 | String
 | *sslKeyPassword* (security) | The password of the private key in the key 
store file. This is optional for client. |  | String
 | *sslKeystoreLocation* (security) | The location of the key store file. This 
is optional for client and can be used for two-way authentication for client. | 
 | String
@@ -259,7 +259,7 @@ with the following path and query parameters:
 | *sslCipherSuites* (security) | A list of cipher suites. This is a named 
combination of authentication, encryption, MAC and key exchange algorithm used 
to negotiate the security settings for a network connection using TLS or SSL 
network protocol.By default all the available cipher suites are supported. |  | 
String
 | *sslContextParameters* (security) | SSL configuration using a Camel 
SSLContextParameters object. If configured it's applied before the other SSL 
endpoint parameters. NOTE: Kafka only supports loading keystore from file 
locations, so prefix the location with file: in the KeyStoreParameters.resource 
option. |  | SSLContextParameters
 | *sslEnabledProtocols* (security) | The list of protocols enabled for SSL 
connections. TLSv1.2, TLSv1.1 and TLSv1 are enabled by default. | TLSv1.2 | 
String
-| *sslEndpointAlgorithm* (security) | The endpoint identification algorithm to 
validate server hostname using server certificate. |  | String
+| *sslEndpointAlgorithm* (security) | The endpoint identification algorithm to 
validate server hostname using server certificate. | https | String
 | *sslKeymanagerAlgorithm* (security) | The algorithm used by key manager 
factory for SSL connections. Default value is the key manager factory algorithm 
configured for the Java Virtual Machine. | SunX509 | String
 | *sslKeyPassword* (security) | The password of the private key in the key 
store file. This is optional for client. |  | String
 | *sslKeystoreLocation* (security) | The location of the key store file. This 
is optional for client and can be used for two-way authentication for client. | 
 | String
diff --git 
a/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaConfiguration.java
 
b/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaConfiguration.java
index 7e12e6a..c664e4d 100644
--- 
a/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaConfiguration.java
+++ 
b/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaConfiguration.java
@@ -272,8 +272,8 @@ public class KafkaConfiguration implements Cloneable, 
HeaderFilterStrategyAware
     @UriParam(label = "common,security")
     private String sslCipherSuites;
     // ssl.endpoint.identification.algorithm
-    @UriParam(label = "common,security")
-    private String sslEndpointAlgorithm;
+    @UriParam(label = "common,security", defaultValue = "https")
+    private String sslEndpointAlgorithm = 
SslConfigs.DEFAULT_SSL_ENDPOINT_IDENTIFICATION_ALGORITHM;
     // ssl.keymanager.algorithm
     @UriParam(label = "common,security", defaultValue = "SunX509")
     private String sslKeymanagerAlgorithm = "SunX509";
diff --git 
a/components/camel-kafka/src/test/java/org/apache/camel/component/kafka/KafkaComponentTest.java
 
b/components/camel-kafka/src/test/java/org/apache/camel/component/kafka/KafkaComponentTest.java
index b976736..376b680 100644
--- 
a/components/camel-kafka/src/test/java/org/apache/camel/component/kafka/KafkaComponentTest.java
+++ 
b/components/camel-kafka/src/test/java/org/apache/camel/component/kafka/KafkaComponentTest.java
@@ -196,6 +196,7 @@ public class KafkaComponentTest extends CamelTestSupport {
         props.put(SaslConfigs.SASL_MECHANISM, "PLAIN");
         props.put(SslConfigs.SSL_KEYMANAGER_ALGORITHM_CONFIG, "SunX509");
         props.put(SslConfigs.SSL_TRUSTMANAGER_ALGORITHM_CONFIG, "PKIX");
+        props.put(SslConfigs.SSL_ENDPOINT_IDENTIFICATION_ALGORITHM_CONFIG, 
"https");
 
         return props;
     }
diff --git 
a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/KafkaComponentBuilderFactory.java
 
b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/KafkaComponentBuilderFactory.java
index eea78e8..c6f9246 100644
--- 
a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/KafkaComponentBuilderFactory.java
+++ 
b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/KafkaComponentBuilderFactory.java
@@ -1373,6 +1373,7 @@ public interface KafkaComponentBuilderFactory {
          * 
          * The option is a: <code>java.lang.String</code> type.
          * 
+         * Default: https
          * Group: security
          */
         default KafkaComponentBuilder sslEndpointAlgorithm(
diff --git 
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/KafkaEndpointBuilderFactory.java
 
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/KafkaEndpointBuilderFactory.java
index 86642fd..d9094c0 100644
--- 
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/KafkaEndpointBuilderFactory.java
+++ 
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/KafkaEndpointBuilderFactory.java
@@ -1280,6 +1280,7 @@ public interface KafkaEndpointBuilderFactory {
          * 
          * The option is a: <code>java.lang.String</code> type.
          * 
+         * Default: https
          * Group: security
          */
         default KafkaEndpointConsumerBuilder sslEndpointAlgorithm(
@@ -2904,6 +2905,7 @@ public interface KafkaEndpointBuilderFactory {
          * 
          * The option is a: <code>java.lang.String</code> type.
          * 
+         * Default: https
          * Group: security
          */
         default KafkaEndpointProducerBuilder sslEndpointAlgorithm(
@@ -3566,6 +3568,7 @@ public interface KafkaEndpointBuilderFactory {
          * 
          * The option is a: <code>java.lang.String</code> type.
          * 
+         * Default: https
          * Group: security
          */
         default KafkaEndpointBuilder sslEndpointAlgorithm(
diff --git a/docs/components/modules/ROOT/pages/kafka-component.adoc 
b/docs/components/modules/ROOT/pages/kafka-component.adoc
index c5dcb5b..7a14e7c 100644
--- a/docs/components/modules/ROOT/pages/kafka-component.adoc
+++ b/docs/components/modules/ROOT/pages/kafka-component.adoc
@@ -133,7 +133,7 @@ The Kafka component supports 97 options, which are listed 
below.
 | *sslCipherSuites* (security) | A list of cipher suites. This is a named 
combination of authentication, encryption, MAC and key exchange algorithm used 
to negotiate the security settings for a network connection using TLS or SSL 
network protocol.By default all the available cipher suites are supported. |  | 
String
 | *sslContextParameters* (security) | SSL configuration using a Camel 
SSLContextParameters object. If configured it's applied before the other SSL 
endpoint parameters. NOTE: Kafka only supports loading keystore from file 
locations, so prefix the location with file: in the KeyStoreParameters.resource 
option. |  | SSLContextParameters
 | *sslEnabledProtocols* (security) | The list of protocols enabled for SSL 
connections. TLSv1.2, TLSv1.1 and TLSv1 are enabled by default. | TLSv1.2 | 
String
-| *sslEndpointAlgorithm* (security) | The endpoint identification algorithm to 
validate server hostname using server certificate. |  | String
+| *sslEndpointAlgorithm* (security) | The endpoint identification algorithm to 
validate server hostname using server certificate. | https | String
 | *sslKeymanagerAlgorithm* (security) | The algorithm used by key manager 
factory for SSL connections. Default value is the key manager factory algorithm 
configured for the Java Virtual Machine. | SunX509 | String
 | *sslKeyPassword* (security) | The password of the private key in the key 
store file. This is optional for client. |  | String
 | *sslKeystoreLocation* (security) | The location of the key store file. This 
is optional for client and can be used for two-way authentication for client. | 
 | String
@@ -261,7 +261,7 @@ with the following path and query parameters:
 | *sslCipherSuites* (security) | A list of cipher suites. This is a named 
combination of authentication, encryption, MAC and key exchange algorithm used 
to negotiate the security settings for a network connection using TLS or SSL 
network protocol.By default all the available cipher suites are supported. |  | 
String
 | *sslContextParameters* (security) | SSL configuration using a Camel 
SSLContextParameters object. If configured it's applied before the other SSL 
endpoint parameters. NOTE: Kafka only supports loading keystore from file 
locations, so prefix the location with file: in the KeyStoreParameters.resource 
option. |  | SSLContextParameters
 | *sslEnabledProtocols* (security) | The list of protocols enabled for SSL 
connections. TLSv1.2, TLSv1.1 and TLSv1 are enabled by default. | TLSv1.2 | 
String
-| *sslEndpointAlgorithm* (security) | The endpoint identification algorithm to 
validate server hostname using server certificate. |  | String
+| *sslEndpointAlgorithm* (security) | The endpoint identification algorithm to 
validate server hostname using server certificate. | https | String
 | *sslKeymanagerAlgorithm* (security) | The algorithm used by key manager 
factory for SSL connections. Default value is the key manager factory algorithm 
configured for the Java Virtual Machine. | SunX509 | String
 | *sslKeyPassword* (security) | The password of the private key in the key 
store file. This is optional for client. |  | String
 | *sslKeystoreLocation* (security) | The location of the key store file. This 
is optional for client and can be used for two-way authentication for client. | 
 | String

Reply via email to