Skip to content

Commit 650e6b2

Browse files
authored
docs(gcs sink): add 401 and 408 under retry policy (#21458)
* docs(gcs sink): add 401 and 408 under retry policy * refactor(docs): allow retry policy to be overriden
1 parent d2f855c commit 650e6b2

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

website/cue/reference/components/sinks.cue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -635,12 +635,12 @@ components: sinks: [Name=string]: {
635635

636636
retry_policy: {
637637
title: "Retry policy"
638-
body: """
638+
body: *"""
639639
Vector will retry failed requests (status == 429, >= 500, and != 501).
640640
Other responses will not be retried. You can control the number of
641641
retry attempts and backoff rate with the `request.retry_attempts` and
642642
`request.retry_backoff_secs` options.
643-
"""
643+
""" | string
644644
}
645645
}
646646
}

website/cue/reference/components/sinks/gcp_cloud_storage.cue

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,16 @@ components: sinks: gcp_cloud_storage: {
141141
"""
142142
}
143143

144+
retry_policy: {
145+
title: "Retry policy"
146+
body: """
147+
Vector will retry failed requests (status == 401, == 408, == 429, >= 500, and != 501).
148+
Other responses will not be retried. You can control the number of
149+
retry attempts and backoff rate with the `request.retry_attempts` and
150+
`request.retry_backoff_secs` options.
151+
"""
152+
}
153+
144154
storage_class: {
145155
title: "Storage Class"
146156
body: """

0 commit comments

Comments
 (0)