This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new c96925e6710 CAMEL-20625: fix description for the
consumerBytesOutstanding param (#13660)
c96925e6710 is described below
commit c96925e671078579de69f93421d3a01e363c360e
Author: Stanislav Deviatov <[email protected]>
AuthorDate: Fri Mar 29 13:28:25 2024 +0100
CAMEL-20625: fix description for the consumerBytesOutstanding param (#13660)
Also, the consumerMessagesOutstanding param is labeled as advanced
---
.../apache/camel/component/google/pubsublite/google-pubsub-lite.json | 4 ++--
.../camel/component/google/pubsublite/GooglePubsubLiteComponent.java | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git
a/components/camel-google/camel-google-pubsub-lite/src/generated/resources/META-INF/org/apache/camel/component/google/pubsublite/google-pubsub-lite.json
b/components/camel-google/camel-google-pubsub-lite/src/generated/resources/META-INF/org/apache/camel/component/google/pubsublite/google-pubsub-lite.json
index 7d3de375d7d..ac0990d5f57 100644
---
a/components/camel-google/camel-google-pubsub-lite/src/generated/resources/META-INF/org/apache/camel/component/google/pubsublite/google-pubsub-lite.json
+++
b/components/camel-google/camel-google-pubsub-lite/src/generated/resources/META-INF/org/apache/camel/component/google/pubsublite/google-pubsub-lite.json
@@ -24,8 +24,8 @@
},
"componentProperties": {
"bridgeErrorHandler": { "index": 0, "kind": "property", "displayName":
"Bridge Error Handler", "group": "consumer", "label": "consumer", "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 (if possible) occurred while the Camel consumer is trying
to pickup incoming messages, or the like [...]
- "consumerMessagesOutstanding": { "index": 1, "kind": "property",
"displayName": "Consumer Messages Outstanding", "group": "consumer", "label":
"consumer", "required": false, "type": "integer", "javaType": "long",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 1000,
"description": "The number of messages that may be outstanding to the client.
Must be 0." },
- "consumerBytesOutstanding": { "index": 2, "kind": "property",
"displayName": "Consumer Bytes Outstanding", "group": "consumer (advanced)",
"label": "consumer,advanced", "required": false, "type": "integer", "javaType":
"long", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": 10485760, "description": "How many milliseconds should each
producer stay alive in the cache. Must be greater than the allowed size of the
largest message (1 MiB)." },
+ "consumerBytesOutstanding": { "index": 1, "kind": "property",
"displayName": "Consumer Bytes Outstanding", "group": "consumer (advanced)",
"label": "consumer,advanced", "required": false, "type": "integer", "javaType":
"long", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": 10485760, "description": "The number of quota bytes that may be
outstanding to the client. Must be greater than the allowed size of the largest
message (1 MiB)." },
+ "consumerMessagesOutstanding": { "index": 2, "kind": "property",
"displayName": "Consumer Messages Outstanding", "group": "consumer (advanced)",
"label": "consumer,advanced", "required": false, "type": "integer", "javaType":
"long", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": 1000, "description": "The number of messages that may be
outstanding to the client. Must be 0." },
"lazyStartProducer": { "index": 3, "kind": "property", "displayName":
"Lazy Start Producer", "group": "producer", "label": "producer", "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 producer may otherwise fail [...]
"publisherCacheSize": { "index": 4, "kind": "property", "displayName":
"Publisher Cache Size", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 100,
"description": "Maximum number of producers to cache. This could be increased
if you have producers for lots of different topics." },
"publisherCacheTimeout": { "index": 5, "kind": "property", "displayName":
"Publisher Cache Timeout", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
180000, "description": "How many milliseconds should each producer stay alive
in the cache." },
diff --git
a/components/camel-google/camel-google-pubsub-lite/src/main/java/org/apache/camel/component/google/pubsublite/GooglePubsubLiteComponent.java
b/components/camel-google/camel-google-pubsub-lite/src/main/java/org/apache/camel/component/google/pubsublite/GooglePubsubLiteComponent.java
index c8633a4eec8..d6f3d354d7d 100644
---
a/components/camel-google/camel-google-pubsub-lite/src/main/java/org/apache/camel/component/google/pubsublite/GooglePubsubLiteComponent.java
+++
b/components/camel-google/camel-google-pubsub-lite/src/main/java/org/apache/camel/component/google/pubsublite/GooglePubsubLiteComponent.java
@@ -68,11 +68,11 @@ public class GooglePubsubLiteComponent extends
DefaultComponent {
private int publisherCacheTimeout = 180000;
@Metadata(label = "consumer,advanced", defaultValue = "10485760",
- description = "How many milliseconds should each producer stay
alive in the cache. " +
+ description = "The number of quota bytes that may be outstanding
to the client. " +
"Must be greater than the allowed size of the
largest message (1 MiB).")
private long consumerBytesOutstanding = 10 * 1024 * 1024;
- @Metadata(label = "consumer", defaultValue = "1000",
+ @Metadata(label = "consumer,advanced", defaultValue = "1000",
description = "The number of messages that may be outstanding to
the client. Must be >0.")
private long consumerMessagesOutstanding = 1000;