davsclaus commented on a change in pull request #6413:
URL: https://github.com/apache/camel/pull/6413#discussion_r747791216
##########
File path:
components/camel-google/camel-google-pubsub/src/main/java/org/apache/camel/component/google/pubsub/GooglePubsubComponent.java
##########
@@ -87,6 +91,11 @@
description = "How many milliseconds should a producer be
allowed to terminate.")
private int publisherTerminationTimeout = 60000;
+ @Metadata(
+ label = "consumer",
+ description = "Additional retryable error codes for synchronous
pull. By default the PubSub client library retries ABORTED, UNAVAILABLE,
UNKNOWN")
+ private StatusCode.Code[] synchronousPullRetryableCodes = new
StatusCode.Code[0];
Review comment:
We use a String value in other components where we separate the values
by comma - this is the most friendly for tooling , spring-boot auto
configuration, etc.
Then you can say
camel.component.google-pubsub.synchronousPullRetryableCodes =
DEADLINE_EXCEEDED,RESOURCE_EXHAUSTED
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]