You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2023/09/18 08:11:08 UTC
[camel] 01/01: Camel-Kafka: Make Schema registries parameters generic
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch camel-kafka-schema-registries-params
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 15a8dce73814add1437f43c6719c9a7b3ed4a218
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Sep 18 10:02:46 2023 +0200
Camel-Kafka: Make Schema registries parameters generic
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
.../org/apache/camel/catalog/components/kafka.json | 16 +--
.../org/apache/camel/component/kafka/kafka.json | 16 +--
.../camel/component/kafka/KafkaConfiguration.java | 17 ++-
.../dsl/KafkaComponentBuilderFactory.java | 40 +++----
.../endpoint/dsl/KafkaEndpointBuilderFactory.java | 125 ++++++++++-----------
5 files changed, 105 insertions(+), 109 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 45837cb2d53..0365f8abedd 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
@@ -56,7 +56,7 @@
"pollTimeoutMs": { "index": 31, "kind": "property", "displayName": "Poll Timeout Ms", "group": "consumer", "label": "consumer", "required": false, "type": "duration", "javaType": "java.lang.Long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "5000", "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "The timeout used when polling the KafkaConsumer." },
"seekTo": { "index": 32, "kind": "property", "displayName": "Seek To", "group": "consumer", "label": "consumer", "required": false, "type": "object", "javaType": "org.apache.camel.component.kafka.SeekPolicy", "enum": [ "BEGINNING", "END" ], "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "Set if KafkaConsumer will read from the beginning or the [...]
"sessionTimeoutMs": { "index": 33, "kind": "property", "displayName": "Session Timeout Ms", "group": "consumer", "label": "consumer", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "10000", "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "The timeout used to detect failures when using Kafka's group managem [...]
- "specificAvroReader": { "index": 34, "kind": "property", "displayName": "Specific Avro Reader", "group": "consumer", "label": "confluent,consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "This enables the use of a specific Avro reader for use with the Co [...]
+ "specificAvroReader": { "index": 34, "kind": "property", "displayName": "Specific Avro Reader", "group": "consumer", "label": "schema,consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "This enables the use of a specific Avro reader for use with the in mu [...]
"topicIsPattern": { "index": 35, "kind": "property", "displayName": "Topic Is Pattern", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "Whether the topic is a pattern (regular expression). This can be used to subscribe t [...]
"valueDeserializer": { "index": 36, "kind": "property", "displayName": "Value Deserializer", "group": "consumer", "label": "consumer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "org.apache.kafka.common.serialization.StringDeserializer", "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "Deserializer class [...]
"createConsumerBackoffInterval": { "index": 37, "kind": "property", "displayName": "Create Consumer Backoff Interval", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 5000, "description": "The delay in millis seconds to wait before trying again to create the kafka consumer (kafka-client)." },
@@ -104,10 +104,10 @@
"autowiredEnabled": { "index": 79, "kind": "property", "displayName": "Autowired Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching [...]
"kafkaClientFactory": { "index": 80, "kind": "property", "displayName": "Kafka Client Factory", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.camel.component.kafka.KafkaClientFactory", "deprecated": false, "autowired": true, "secret": false, "description": "Factory to use for creating org.apache.kafka.clients.consumer.KafkaConsumer and org.apache.kafka.clients.producer.KafkaProducer instances. This allows configuring a custom f [...]
"synchronous": { "index": 81, "kind": "property", "displayName": "Synchronous", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "Sets whether synchronous processing should be strictly used" },
- "schemaRegistryURL": { "index": 82, "kind": "property", "displayName": "Schema Registry URL", "group": "confluent", "label": "confluent", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "URL of the Confluent Platform schema registry servers to use. The format is host1:port1,hos [...]
- "healthCheckConsumerEnabled": { "index": 83, "kind": "property", "displayName": "Health Check Consumer Enabled", "group": "health", "label": "health", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Used for enabling or disabling all consumer based health checks from this component" },
- "healthCheckProducerEnabled": { "index": 84, "kind": "property", "displayName": "Health Check Producer Enabled", "group": "health", "label": "health", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Used for enabling or disabling all producer based health checks from this component. Notice: Camel has by default disabled all producer based health-checks. You can turn on produce [...]
- "interceptorClasses": { "index": 85, "kind": "property", "displayName": "Interceptor Classes", "group": "monitoring", "label": "common,monitoring", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "Sets interceptors for producer or consumers. Producer interceptors have to be cla [...]
+ "healthCheckConsumerEnabled": { "index": 82, "kind": "property", "displayName": "Health Check Consumer Enabled", "group": "health", "label": "health", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Used for enabling or disabling all consumer based health checks from this component" },
+ "healthCheckProducerEnabled": { "index": 83, "kind": "property", "displayName": "Health Check Producer Enabled", "group": "health", "label": "health", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Used for enabling or disabling all producer based health checks from this component. Notice: Camel has by default disabled all producer based health-checks. You can turn on produce [...]
+ "interceptorClasses": { "index": 84, "kind": "property", "displayName": "Interceptor Classes", "group": "monitoring", "label": "common,monitoring", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "Sets interceptors for producer or consumers. Producer interceptors have to be cla [...]
+ "schemaRegistryURL": { "index": 85, "kind": "property", "displayName": "Schema Registry URL", "group": "schema", "label": "schema", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "URL of the schema registry servers to use. The format is host1:port1,host2:port2. This is known a [...]
"kerberosBeforeReloginMinTime": { "index": 86, "kind": "property", "displayName": "Kerberos Before Relogin Min Time", "group": "security", "label": "common,security", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "60000", "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "Login thread sleep time between ref [...]
"kerberosConfigLocation": { "index": 87, "kind": "property", "displayName": "Kerberos Config Location", "group": "security", "label": "common,security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "Location of the kerberos config file." },
"kerberosInitCmd": { "index": 88, "kind": "property", "displayName": "Kerberos Init Cmd", "group": "security", "label": "common,security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "\/usr\/bin\/kinit", "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "Kerberos kinit command path. Default is \/usr\/bin\/k [...]
@@ -184,7 +184,7 @@
"pollTimeoutMs": { "index": 30, "kind": "parameter", "displayName": "Poll Timeout Ms", "group": "consumer", "label": "consumer", "required": false, "type": "duration", "javaType": "java.lang.Long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "5000", "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "The timeout used when polling the KafkaConsumer." },
"seekTo": { "index": 31, "kind": "parameter", "displayName": "Seek To", "group": "consumer", "label": "consumer", "required": false, "type": "object", "javaType": "org.apache.camel.component.kafka.SeekPolicy", "enum": [ "BEGINNING", "END" ], "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "Set if KafkaConsumer will read from the beginning or the [...]
"sessionTimeoutMs": { "index": 32, "kind": "parameter", "displayName": "Session Timeout Ms", "group": "consumer", "label": "consumer", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "10000", "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "The timeout used to detect failures when using Kafka's group manage [...]
- "specificAvroReader": { "index": 33, "kind": "parameter", "displayName": "Specific Avro Reader", "group": "consumer", "label": "confluent,consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "This enables the use of a specific Avro reader for use with the C [...]
+ "specificAvroReader": { "index": 33, "kind": "parameter", "displayName": "Specific Avro Reader", "group": "consumer", "label": "schema,consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "This enables the use of a specific Avro reader for use with the in m [...]
"topicIsPattern": { "index": 34, "kind": "parameter", "displayName": "Topic Is Pattern", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "Whether the topic is a pattern (regular expression). This can be used to subscribe [...]
"valueDeserializer": { "index": 35, "kind": "parameter", "displayName": "Value Deserializer", "group": "consumer", "label": "consumer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "org.apache.kafka.common.serialization.StringDeserializer", "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "Deserializer clas [...]
"bridgeErrorHandler": { "index": 36, "kind": "parameter", "displayName": "Bridge Error Handler", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the li [...]
@@ -229,8 +229,8 @@
"lazyStartProducer": { "index": 75, "kind": "parameter", "displayName": "Lazy Start Producer", "group": "producer (advanced)", "label": "producer,advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a produ [...]
"kafkaClientFactory": { "index": 76, "kind": "parameter", "displayName": "Kafka Client Factory", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.camel.component.kafka.KafkaClientFactory", "deprecated": false, "autowired": false, "secret": false, "description": "Factory to use for creating org.apache.kafka.clients.consumer.KafkaConsumer and org.apache.kafka.clients.producer.KafkaProducer instances. This allows to configure a custo [...]
"synchronous": { "index": 77, "kind": "parameter", "displayName": "Synchronous", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "Sets whether synchronous processing should be strictly used" },
- "schemaRegistryURL": { "index": 78, "kind": "parameter", "displayName": "Schema Registry URL", "group": "confluent", "label": "confluent", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "URL of the Confluent Platform schema registry servers to use. The format is host1:port1,ho [...]
- "interceptorClasses": { "index": 79, "kind": "parameter", "displayName": "Interceptor Classes", "group": "monitoring", "label": "common,monitoring", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "Sets interceptors for producer or consumers. Producer interceptors have to be cl [...]
+ "interceptorClasses": { "index": 78, "kind": "parameter", "displayName": "Interceptor Classes", "group": "monitoring", "label": "common,monitoring", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "Sets interceptors for producer or consumers. Producer interceptors have to be cl [...]
+ "schemaRegistryURL": { "index": 79, "kind": "parameter", "displayName": "Schema Registry URL", "group": "schema", "label": "schema", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "URL of the schema registry servers to use. The format is host1:port1,host2:port2. This is known [...]
"kerberosBeforeReloginMinTime": { "index": 80, "kind": "parameter", "displayName": "Kerberos Before Relogin Min Time", "group": "security", "label": "common,security", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "60000", "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "Login thread sleep time between re [...]
"kerberosConfigLocation": { "index": 81, "kind": "parameter", "displayName": "Kerberos Config Location", "group": "security", "label": "common,security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "Location of the kerberos config file." },
"kerberosInitCmd": { "index": 82, "kind": "parameter", "displayName": "Kerberos Init Cmd", "group": "security", "label": "common,security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "\/usr\/bin\/kinit", "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "Kerberos kinit command path. Default is \/usr\/bin\/ [...]
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 45837cb2d53..0365f8abedd 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
@@ -56,7 +56,7 @@
"pollTimeoutMs": { "index": 31, "kind": "property", "displayName": "Poll Timeout Ms", "group": "consumer", "label": "consumer", "required": false, "type": "duration", "javaType": "java.lang.Long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "5000", "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "The timeout used when polling the KafkaConsumer." },
"seekTo": { "index": 32, "kind": "property", "displayName": "Seek To", "group": "consumer", "label": "consumer", "required": false, "type": "object", "javaType": "org.apache.camel.component.kafka.SeekPolicy", "enum": [ "BEGINNING", "END" ], "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "Set if KafkaConsumer will read from the beginning or the [...]
"sessionTimeoutMs": { "index": 33, "kind": "property", "displayName": "Session Timeout Ms", "group": "consumer", "label": "consumer", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "10000", "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "The timeout used to detect failures when using Kafka's group managem [...]
- "specificAvroReader": { "index": 34, "kind": "property", "displayName": "Specific Avro Reader", "group": "consumer", "label": "confluent,consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "This enables the use of a specific Avro reader for use with the Co [...]
+ "specificAvroReader": { "index": 34, "kind": "property", "displayName": "Specific Avro Reader", "group": "consumer", "label": "schema,consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "This enables the use of a specific Avro reader for use with the in mu [...]
"topicIsPattern": { "index": 35, "kind": "property", "displayName": "Topic Is Pattern", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "Whether the topic is a pattern (regular expression). This can be used to subscribe t [...]
"valueDeserializer": { "index": 36, "kind": "property", "displayName": "Value Deserializer", "group": "consumer", "label": "consumer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "org.apache.kafka.common.serialization.StringDeserializer", "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "Deserializer class [...]
"createConsumerBackoffInterval": { "index": 37, "kind": "property", "displayName": "Create Consumer Backoff Interval", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 5000, "description": "The delay in millis seconds to wait before trying again to create the kafka consumer (kafka-client)." },
@@ -104,10 +104,10 @@
"autowiredEnabled": { "index": 79, "kind": "property", "displayName": "Autowired Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching [...]
"kafkaClientFactory": { "index": 80, "kind": "property", "displayName": "Kafka Client Factory", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.camel.component.kafka.KafkaClientFactory", "deprecated": false, "autowired": true, "secret": false, "description": "Factory to use for creating org.apache.kafka.clients.consumer.KafkaConsumer and org.apache.kafka.clients.producer.KafkaProducer instances. This allows configuring a custom f [...]
"synchronous": { "index": 81, "kind": "property", "displayName": "Synchronous", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "Sets whether synchronous processing should be strictly used" },
- "schemaRegistryURL": { "index": 82, "kind": "property", "displayName": "Schema Registry URL", "group": "confluent", "label": "confluent", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "URL of the Confluent Platform schema registry servers to use. The format is host1:port1,hos [...]
- "healthCheckConsumerEnabled": { "index": 83, "kind": "property", "displayName": "Health Check Consumer Enabled", "group": "health", "label": "health", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Used for enabling or disabling all consumer based health checks from this component" },
- "healthCheckProducerEnabled": { "index": 84, "kind": "property", "displayName": "Health Check Producer Enabled", "group": "health", "label": "health", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Used for enabling or disabling all producer based health checks from this component. Notice: Camel has by default disabled all producer based health-checks. You can turn on produce [...]
- "interceptorClasses": { "index": 85, "kind": "property", "displayName": "Interceptor Classes", "group": "monitoring", "label": "common,monitoring", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "Sets interceptors for producer or consumers. Producer interceptors have to be cla [...]
+ "healthCheckConsumerEnabled": { "index": 82, "kind": "property", "displayName": "Health Check Consumer Enabled", "group": "health", "label": "health", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Used for enabling or disabling all consumer based health checks from this component" },
+ "healthCheckProducerEnabled": { "index": 83, "kind": "property", "displayName": "Health Check Producer Enabled", "group": "health", "label": "health", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Used for enabling or disabling all producer based health checks from this component. Notice: Camel has by default disabled all producer based health-checks. You can turn on produce [...]
+ "interceptorClasses": { "index": 84, "kind": "property", "displayName": "Interceptor Classes", "group": "monitoring", "label": "common,monitoring", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "Sets interceptors for producer or consumers. Producer interceptors have to be cla [...]
+ "schemaRegistryURL": { "index": 85, "kind": "property", "displayName": "Schema Registry URL", "group": "schema", "label": "schema", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "URL of the schema registry servers to use. The format is host1:port1,host2:port2. This is known a [...]
"kerberosBeforeReloginMinTime": { "index": 86, "kind": "property", "displayName": "Kerberos Before Relogin Min Time", "group": "security", "label": "common,security", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "60000", "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "Login thread sleep time between ref [...]
"kerberosConfigLocation": { "index": 87, "kind": "property", "displayName": "Kerberos Config Location", "group": "security", "label": "common,security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "Location of the kerberos config file." },
"kerberosInitCmd": { "index": 88, "kind": "property", "displayName": "Kerberos Init Cmd", "group": "security", "label": "common,security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "\/usr\/bin\/kinit", "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "Kerberos kinit command path. Default is \/usr\/bin\/k [...]
@@ -184,7 +184,7 @@
"pollTimeoutMs": { "index": 30, "kind": "parameter", "displayName": "Poll Timeout Ms", "group": "consumer", "label": "consumer", "required": false, "type": "duration", "javaType": "java.lang.Long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "5000", "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "The timeout used when polling the KafkaConsumer." },
"seekTo": { "index": 31, "kind": "parameter", "displayName": "Seek To", "group": "consumer", "label": "consumer", "required": false, "type": "object", "javaType": "org.apache.camel.component.kafka.SeekPolicy", "enum": [ "BEGINNING", "END" ], "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "Set if KafkaConsumer will read from the beginning or the [...]
"sessionTimeoutMs": { "index": 32, "kind": "parameter", "displayName": "Session Timeout Ms", "group": "consumer", "label": "consumer", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "10000", "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "The timeout used to detect failures when using Kafka's group manage [...]
- "specificAvroReader": { "index": 33, "kind": "parameter", "displayName": "Specific Avro Reader", "group": "consumer", "label": "confluent,consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "This enables the use of a specific Avro reader for use with the C [...]
+ "specificAvroReader": { "index": 33, "kind": "parameter", "displayName": "Specific Avro Reader", "group": "consumer", "label": "schema,consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "This enables the use of a specific Avro reader for use with the in m [...]
"topicIsPattern": { "index": 34, "kind": "parameter", "displayName": "Topic Is Pattern", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "Whether the topic is a pattern (regular expression). This can be used to subscribe [...]
"valueDeserializer": { "index": 35, "kind": "parameter", "displayName": "Value Deserializer", "group": "consumer", "label": "consumer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "org.apache.kafka.common.serialization.StringDeserializer", "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "Deserializer clas [...]
"bridgeErrorHandler": { "index": 36, "kind": "parameter", "displayName": "Bridge Error Handler", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the li [...]
@@ -229,8 +229,8 @@
"lazyStartProducer": { "index": 75, "kind": "parameter", "displayName": "Lazy Start Producer", "group": "producer (advanced)", "label": "producer,advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a produ [...]
"kafkaClientFactory": { "index": 76, "kind": "parameter", "displayName": "Kafka Client Factory", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.camel.component.kafka.KafkaClientFactory", "deprecated": false, "autowired": false, "secret": false, "description": "Factory to use for creating org.apache.kafka.clients.consumer.KafkaConsumer and org.apache.kafka.clients.producer.KafkaProducer instances. This allows to configure a custo [...]
"synchronous": { "index": 77, "kind": "parameter", "displayName": "Synchronous", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "Sets whether synchronous processing should be strictly used" },
- "schemaRegistryURL": { "index": 78, "kind": "parameter", "displayName": "Schema Registry URL", "group": "confluent", "label": "confluent", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "URL of the Confluent Platform schema registry servers to use. The format is host1:port1,ho [...]
- "interceptorClasses": { "index": 79, "kind": "parameter", "displayName": "Interceptor Classes", "group": "monitoring", "label": "common,monitoring", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "Sets interceptors for producer or consumers. Producer interceptors have to be cl [...]
+ "interceptorClasses": { "index": 78, "kind": "parameter", "displayName": "Interceptor Classes", "group": "monitoring", "label": "common,monitoring", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "Sets interceptors for producer or consumers. Producer interceptors have to be cl [...]
+ "schemaRegistryURL": { "index": 79, "kind": "parameter", "displayName": "Schema Registry URL", "group": "schema", "label": "schema", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "URL of the schema registry servers to use. The format is host1:port1,host2:port2. This is known [...]
"kerberosBeforeReloginMinTime": { "index": 80, "kind": "parameter", "displayName": "Kerberos Before Relogin Min Time", "group": "security", "label": "common,security", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "60000", "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "Login thread sleep time between re [...]
"kerberosConfigLocation": { "index": 81, "kind": "parameter", "displayName": "Kerberos Config Location", "group": "security", "label": "common,security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "Location of the kerberos config file." },
"kerberosInitCmd": { "index": 82, "kind": "parameter", "displayName": "Kerberos Init Cmd", "group": "security", "label": "common,security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "\/usr\/bin\/kinit", "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "Kerberos kinit command path. Default is \/usr\/bin\/ [...]
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 d264f316d74..8901c2bcd6c 100755
--- 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
@@ -328,10 +328,10 @@ public class KafkaConfiguration implements Cloneable, HeaderFilterStrategyAware
// sasl.jaas.config
private String saslJaasConfig;
- // Confluent only options
- @UriParam(label = "confluent")
+ // Schema registry only options
+ @UriParam(label = "schema")
private String schemaRegistryURL;
- @UriParam(label = "confluent,consumer")
+ @UriParam(label = "schema,consumer")
private boolean specificAvroReader;
// Additional properties
@@ -867,9 +867,9 @@ public class KafkaConfiguration implements Cloneable, HeaderFilterStrategyAware
}
/**
- * URL of the Confluent Platform schema registry servers to use. The format is host1:port1,host2:port2. This is
- * known as schema.registry.url in the Confluent Platform documentation. This option is only available in the
- * Confluent Platform (not standard Apache Kafka)
+ * URL of the schema registry servers to use. The format is host1:port1,host2:port2. This is known as
+ * schema.registry.url in multiple Schema registries documentation. This option is only available externally (not
+ * standard Apache Kafka)
*/
public void setSchemaRegistryURL(String schemaRegistryURL) {
this.schemaRegistryURL = schemaRegistryURL;
@@ -880,9 +880,8 @@ public class KafkaConfiguration implements Cloneable, HeaderFilterStrategyAware
}
/**
- * This enables the use of a specific Avro reader for use with the Confluent Platform schema registry and the
- * io.confluent.kafka.serializers.KafkaAvroDeserializer. This option is only available in the Confluent Platform
- * (not standard Apache Kafka)
+ * This enables the use of a specific Avro reader for use with the in multiple Schema registries documentation with
+ * Avro Deserializers implementation. This option is only available externally (not standard Apache Kafka)
*/
public void setSpecificAvroReader(boolean specificAvroReader) {
this.specificAvroReader = specificAvroReader;
diff --git a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/KafkaComponentBuilderFactory.java b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/KafkaComponentBuilderFactory.java
index 48a0c82a621..d5b5f46020d 100644
--- a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/KafkaComponentBuilderFactory.java
+++ b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/KafkaComponentBuilderFactory.java
@@ -1647,25 +1647,6 @@ public interface KafkaComponentBuilderFactory {
doSetProperty("synchronous", synchronous);
return this;
}
- /**
- * URL of the Confluent Platform schema registry servers to use. The
- * format is host1:port1,host2:port2. This is known as
- * schema.registry.url in the Confluent Platform documentation. This
- * option is only available in the Confluent Platform (not standard
- * Apache Kafka).
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: confluent
- *
- * @param schemaRegistryURL the value to set
- * @return the dsl builder
- */
- default KafkaComponentBuilder schemaRegistryURL(
- java.lang.String schemaRegistryURL) {
- doSetProperty("schemaRegistryURL", schemaRegistryURL);
- return this;
- }
/**
* Used for enabling or disabling all consumer based health checks from
* this component.
@@ -1723,6 +1704,25 @@ public interface KafkaComponentBuilderFactory {
doSetProperty("interceptorClasses", interceptorClasses);
return this;
}
+ /**
+ * URL of the Confluent Platform schema registry servers to use. The
+ * format is host1:port1,host2:port2. This is known as
+ * schema.registry.url in the Confluent Platform documentation. This
+ * option is only available in the Confluent Platform (not standard
+ * Apache Kafka).
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: schema
+ *
+ * @param schemaRegistryURL the value to set
+ * @return the dsl builder
+ */
+ default KafkaComponentBuilder schemaRegistryURL(
+ java.lang.String schemaRegistryURL) {
+ doSetProperty("schemaRegistryURL", schemaRegistryURL);
+ return this;
+ }
/**
* Login thread sleep time between refresh attempts.
*
@@ -2285,10 +2285,10 @@ public interface KafkaComponentBuilderFactory {
case "autowiredEnabled": ((KafkaComponent) component).setAutowiredEnabled((boolean) value); return true;
case "kafkaClientFactory": ((KafkaComponent) component).setKafkaClientFactory((org.apache.camel.component.kafka.KafkaClientFactory) value); return true;
case "synchronous": getOrCreateConfiguration((KafkaComponent) component).setSynchronous((boolean) value); return true;
- case "schemaRegistryURL": getOrCreateConfiguration((KafkaComponent) component).setSchemaRegistryURL((java.lang.String) value); return true;
case "healthCheckConsumerEnabled": ((KafkaComponent) component).setHealthCheckConsumerEnabled((boolean) value); return true;
case "healthCheckProducerEnabled": ((KafkaComponent) component).setHealthCheckProducerEnabled((boolean) value); return true;
case "interceptorClasses": getOrCreateConfiguration((KafkaComponent) component).setInterceptorClasses((java.lang.String) value); return true;
+ case "schemaRegistryURL": getOrCreateConfiguration((KafkaComponent) component).setSchemaRegistryURL((java.lang.String) value); return true;
case "kerberosBeforeReloginMinTime": getOrCreateConfiguration((KafkaComponent) component).setKerberosBeforeReloginMinTime((java.lang.Integer) value); return true;
case "kerberosConfigLocation": getOrCreateConfiguration((KafkaComponent) component).setKerberosConfigLocation((java.lang.String) value); return true;
case "kerberosInitCmd": getOrCreateConfiguration((KafkaComponent) component).setKerberosInitCmd((java.lang.String) value); return true;
diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/KafkaEndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/KafkaEndpointBuilderFactory.java
index 0877421d0ee..cb801da1691 100644
--- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/KafkaEndpointBuilderFactory.java
+++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/KafkaEndpointBuilderFactory.java
@@ -1145,10 +1145,10 @@ public interface KafkaEndpointBuilderFactory {
return this;
}
/**
- * This enables the use of a specific Avro reader for use with the
- * Confluent Platform schema registry and the
- * io.confluent.kafka.serializers.KafkaAvroDeserializer. This option is
- * only available in the Confluent Platform (not standard Apache Kafka).
+ * This enables the use of a specific Avro reader for use with the in
+ * multiple Schema registries documentation with Avro Deserializers
+ * implementation. This option is only available externally (not
+ * standard Apache Kafka).
*
* The option is a: <code>boolean</code> type.
*
@@ -1164,10 +1164,10 @@ public interface KafkaEndpointBuilderFactory {
return this;
}
/**
- * This enables the use of a specific Avro reader for use with the
- * Confluent Platform schema registry and the
- * io.confluent.kafka.serializers.KafkaAvroDeserializer. This option is
- * only available in the Confluent Platform (not standard Apache Kafka).
+ * This enables the use of a specific Avro reader for use with the in
+ * multiple Schema registries documentation with Avro Deserializers
+ * implementation. This option is only available externally (not
+ * standard Apache Kafka).
*
* The option will be converted to a <code>boolean</code>
* type.
@@ -1235,25 +1235,6 @@ public interface KafkaEndpointBuilderFactory {
doSetProperty("valueDeserializer", valueDeserializer);
return this;
}
- /**
- * URL of the Confluent Platform schema registry servers to use. The
- * format is host1:port1,host2:port2. This is known as
- * schema.registry.url in the Confluent Platform documentation. This
- * option is only available in the Confluent Platform (not standard
- * Apache Kafka).
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: confluent
- *
- * @param schemaRegistryURL the value to set
- * @return the dsl builder
- */
- default KafkaEndpointConsumerBuilder schemaRegistryURL(
- String schemaRegistryURL) {
- doSetProperty("schemaRegistryURL", schemaRegistryURL);
- return this;
- }
/**
* Sets interceptors for producer or consumers. Producer interceptors
* have to be classes implementing
@@ -1275,6 +1256,24 @@ public interface KafkaEndpointBuilderFactory {
doSetProperty("interceptorClasses", interceptorClasses);
return this;
}
+ /**
+ * URL of the schema registry servers to use. The format is
+ * host1:port1,host2:port2. This is known as schema.registry.url in
+ * multiple Schema registries documentation. This option is only
+ * available externally (not standard Apache Kafka).
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: schema
+ *
+ * @param schemaRegistryURL the value to set
+ * @return the dsl builder
+ */
+ default KafkaEndpointConsumerBuilder schemaRegistryURL(
+ String schemaRegistryURL) {
+ doSetProperty("schemaRegistryURL", schemaRegistryURL);
+ return this;
+ }
/**
* Login thread sleep time between refresh attempts.
*
@@ -3499,25 +3498,6 @@ public interface KafkaEndpointBuilderFactory {
doSetProperty("workerPoolMaxSize", workerPoolMaxSize);
return this;
}
- /**
- * URL of the Confluent Platform schema registry servers to use. The
- * format is host1:port1,host2:port2. This is known as
- * schema.registry.url in the Confluent Platform documentation. This
- * option is only available in the Confluent Platform (not standard
- * Apache Kafka).
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: confluent
- *
- * @param schemaRegistryURL the value to set
- * @return the dsl builder
- */
- default KafkaEndpointProducerBuilder schemaRegistryURL(
- String schemaRegistryURL) {
- doSetProperty("schemaRegistryURL", schemaRegistryURL);
- return this;
- }
/**
* Sets interceptors for producer or consumers. Producer interceptors
* have to be classes implementing
@@ -3539,6 +3519,24 @@ public interface KafkaEndpointBuilderFactory {
doSetProperty("interceptorClasses", interceptorClasses);
return this;
}
+ /**
+ * URL of the schema registry servers to use. The format is
+ * host1:port1,host2:port2. This is known as schema.registry.url in
+ * multiple Schema registries documentation. This option is only
+ * available externally (not standard Apache Kafka).
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: schema
+ *
+ * @param schemaRegistryURL the value to set
+ * @return the dsl builder
+ */
+ default KafkaEndpointProducerBuilder schemaRegistryURL(
+ String schemaRegistryURL) {
+ doSetProperty("schemaRegistryURL", schemaRegistryURL);
+ return this;
+ }
/**
* Login thread sleep time between refresh attempts.
*
@@ -4387,24 +4385,6 @@ public interface KafkaEndpointBuilderFactory {
doSetProperty("shutdownTimeout", shutdownTimeout);
return this;
}
- /**
- * URL of the Confluent Platform schema registry servers to use. The
- * format is host1:port1,host2:port2. This is known as
- * schema.registry.url in the Confluent Platform documentation. This
- * option is only available in the Confluent Platform (not standard
- * Apache Kafka).
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: confluent
- *
- * @param schemaRegistryURL the value to set
- * @return the dsl builder
- */
- default KafkaEndpointBuilder schemaRegistryURL(String schemaRegistryURL) {
- doSetProperty("schemaRegistryURL", schemaRegistryURL);
- return this;
- }
/**
* Sets interceptors for producer or consumers. Producer interceptors
* have to be classes implementing
@@ -4426,6 +4406,23 @@ public interface KafkaEndpointBuilderFactory {
doSetProperty("interceptorClasses", interceptorClasses);
return this;
}
+ /**
+ * URL of the schema registry servers to use. The format is
+ * host1:port1,host2:port2. This is known as schema.registry.url in
+ * multiple Schema registries documentation. This option is only
+ * available externally (not standard Apache Kafka).
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: schema
+ *
+ * @param schemaRegistryURL the value to set
+ * @return the dsl builder
+ */
+ default KafkaEndpointBuilder schemaRegistryURL(String schemaRegistryURL) {
+ doSetProperty("schemaRegistryURL", schemaRegistryURL);
+ return this;
+ }
/**
* Login thread sleep time between refresh attempts.
*