This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch camel-3.1.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.1.x by this push:
new 6424372 CAMEL-14649 - Cannot parse catalog/components/kafka.json
6424372 is described below
commit 64243723a758b107d546fc499ee532fac2a48e3e
Author: Andrea Cosentino <[email protected]>
AuthorDate: Tue Mar 3 18:09:39 2020 +0100
CAMEL-14649 - Cannot parse catalog/components/kafka.json
---
.../resources/META-INF/services/org/apache/camel/component.properties | 2 +-
.../generated/resources/org/apache/camel/component/kafka/kafka.json | 4 ++--
components/camel-kafka/src/main/docs/kafka-component.adoc | 2 +-
.../java/org/apache/camel/component/kafka/KafkaConfiguration.java | 2 +-
core/camel-componentdsl/src/generated/resources/metadata.json | 2 +-
5 files changed, 6 insertions(+), 6 deletions(-)
diff --git
a/components/camel-kafka/src/generated/resources/META-INF/services/org/apache/camel/component.properties
b/components/camel-kafka/src/generated/resources/META-INF/services/org/apache/camel/component.properties
index ba57eac..5416258 100644
---
a/components/camel-kafka/src/generated/resources/META-INF/services/org/apache/camel/component.properties
+++
b/components/camel-kafka/src/generated/resources/META-INF/services/org/apache/camel/component.properties
@@ -2,6 +2,6 @@
components=kafka
groupId=org.apache.camel
artifactId=camel-kafka
-version=3.1.0-SNAPSHOT
+version=3.1.1-SNAPSHOT
projectName=Camel :: Kafka
projectDescription=Camel Kafka support
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 8049724..8a7502d 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
@@ -16,7 +16,7 @@
"firstVersion": "2.13.0",
"groupId": "org.apache.camel",
"artifactId": "camel-kafka",
- "version": "3.1.0-SNAPSHOT"
+ "version": "3.1.1-SNAPSHOT"
},
"componentProperties": {
"brokers": { "kind": "property", "displayName": "Brokers", "group":
"common", "required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "secret": false, "description": "URL of the Kafka brokers
to use. The format is host1:port1,host2:port2, and the list can be a subset of
brokers or a VIP pointing to a subset of brokers. This option is known as
bootstrap.servers in the Kafka documentation." },
@@ -76,7 +76,7 @@
"key": { "kind": "parameter", "displayName": "Key", "group": "producer",
"label": "producer", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "secret": false, "configurationClass":
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField":
"configuration", "description": "The record key (or null if no key is
specified). If this option has been configured then it take precedence over
header KafkaConstants#KEY" },
"keySerializerClass": { "kind": "parameter", "displayName": "Key
Serializer Class", "group": "producer", "label": "producer", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"secret": false, "defaultValue":
"org.apache.kafka.common.serialization.StringSerializer", "configurationClass":
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField":
"configuration", "description": "The serializer class for keys (defaults to the
sa [...]
"lazyStartProducer": { "kind": "parameter", "displayName": "Lazy Start
Producer", "group": "producer", "label": "producer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": 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 producer may otherwise
fail during starting and cause the [...]
- "lingerMs": { "kind": "parameter", "displayName": "Linger Ms", "group":
"producer", "label": "producer", "required": false, "type": "integer",
"javaType": "java.lang.Integer", "deprecated": false, "secret": false,
"defaultValue": "0", "configurationClass":
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField":
"configuration", "description": "The producer groups together any records that
arrive in between request transmissions into a single batched request. Norm
[...]
+ "lingerMs": { "kind": "parameter", "displayName": "Linger Ms", "group":
"producer", "label": "producer", "required": false, "type": "integer",
"javaType": "java.lang.Integer", "deprecated": false, "secret": false,
"defaultValue": "0", "configurationClass":
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField":
"configuration", "description": "The producer groups together any records that
arrive in between request transmissions into a single batched request. Norm
[...]
"maxBlockMs": { "kind": "parameter", "displayName": "Max Block Ms",
"group": "producer", "label": "producer", "required": false, "type": "integer",
"javaType": "java.lang.Integer", "deprecated": false, "secret": false,
"defaultValue": "60000", "configurationClass":
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField":
"configuration", "description": "The configuration controls how long sending to
kafka will block. These methods can be blocked for multiple reaso [...]
"maxInFlightRequest": { "kind": "parameter", "displayName": "Max In Flight
Request", "group": "producer", "label": "producer", "required": false, "type":
"integer", "javaType": "java.lang.Integer", "deprecated": false, "secret":
false, "defaultValue": "5", "configurationClass":
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField":
"configuration", "description": "The maximum number of unacknowledged requests
the client will send on a single connection before bl [...]
"maxRequestSize": { "kind": "parameter", "displayName": "Max Request
Size", "group": "producer", "label": "producer", "required": false, "type":
"integer", "javaType": "java.lang.Integer", "deprecated": false, "secret":
false, "defaultValue": "1048576", "configurationClass":
"org.apache.camel.component.kafka.KafkaConfiguration", "configurationField":
"configuration", "description": "The maximum size of a request. This is also
effectively a cap on the maximum record size. Note that th [...]
diff --git a/components/camel-kafka/src/main/docs/kafka-component.adoc
b/components/camel-kafka/src/main/docs/kafka-component.adoc
index 7317930..0f0f3b3 100644
--- a/components/camel-kafka/src/main/docs/kafka-component.adoc
+++ b/components/camel-kafka/src/main/docs/kafka-component.adoc
@@ -128,7 +128,7 @@ with the following path and query parameters:
| *key* (producer) | The record key (or null if no key is specified). If this
option has been configured then it take precedence over header
KafkaConstants#KEY | | String
| *keySerializerClass* (producer) | The serializer class for keys (defaults to
the same as for messages if nothing is given). |
org.apache.kafka.common.serialization.StringSerializer | String
| *lazyStartProducer* (producer) | 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 producer may otherwise fail during
starting and cause the route to fail being started. By deferring this startup
to be lazy then the startup failure can be handled during routing messages via
Camel's routing error handlers. Beware that when the first message is processed
then creating and [...]
-| *lingerMs* (producer) | The producer groups together any records that arrive
in between request transmissions into a single batched request. Normally this
occurs only under load when records arrive faster than they can be sent out.
However in some circumstances the client may want to reduce the number of
requests even under moderate load. This setting accomplishes this by adding a
small amount of artificial delaythat is, rather than immediately sending out a
record the producer will wa [...]
+| *lingerMs* (producer) | The producer groups together any records that arrive
in between request transmissions into a single batched request. Normally this
occurs only under load when records arrive faster than they can be sent out.
However in some circumstances the client may want to reduce the number of
requests even under moderate load. This setting accomplishes this by adding a
small amount of artificial delay that is, rather than immediately sending out a
record the producer will w [...]
| *maxBlockMs* (producer) | The configuration controls how long sending to
kafka will block. These methods can be blocked for multiple reasons. For e.g:
buffer full, metadata unavailable.This configuration imposes maximum limit on
the total time spent in fetching metadata, serialization of key and value,
partitioning and allocation of buffer memory when doing a send(). In case of
partitionsFor(), this configuration imposes a maximum time threshold on waiting
for metadata | 60000 | Integer
| *maxInFlightRequest* (producer) | The maximum number of unacknowledged
requests the client will send on a single connection before blocking. Note that
if this setting is set to be greater than 1 and there are failed sends, there
is a risk of message re-ordering due to retries (i.e., if retries are enabled).
| 5 | Integer
| *maxRequestSize* (producer) | The maximum size of a request. This is also
effectively a cap on the maximum record size. Note that the server has its own
cap on record size which may be different from this. This setting will limit
the number of record batches the producer will send in a single request to
avoid sending huge requests. | 1048576 | Integer
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 67a5c73..7aeaa82 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
@@ -1331,7 +1331,7 @@ public class KafkaConfiguration implements Cloneable,
HeaderFilterStrategyAware
* under load when records arrive faster than they can be sent out. However
* in some circumstances the client may want to reduce the number of
* requests even under moderate load. This setting accomplishes this by
- * adding a small amount of artificial delay—that is, rather than
+ * adding a small amount of artificial delay that is, rather than
* immediately sending out a record the producer will wait for up to the
* given delay to allow other records to be sent so that the sends can be
* batched together. This can be thought of as analogous to Nagle's
diff --git a/core/camel-componentdsl/src/generated/resources/metadata.json
b/core/camel-componentdsl/src/generated/resources/metadata.json
index d36beb9..62e661e 100644
--- a/core/camel-componentdsl/src/generated/resources/metadata.json
+++ b/core/camel-componentdsl/src/generated/resources/metadata.json
@@ -3857,7 +3857,7 @@
"firstVersion": "2.13.0",
"groupId": "org.apache.camel",
"artifactId": "camel-kafka",
- "version": "3.1.0-SNAPSHOT"
+ "version": "3.1.1-SNAPSHOT"
},
"KubernetesConfigMapsComponentBuilderFactory": {
"kind": "component",