You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/types/subscription.md
+24Lines changed: 24 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,6 +116,8 @@ nav_order: 3
116
116
|`query`| Webhooks only: Static query params to set on the webhook request | `` |
117
117
|`tlsConfigName`| The name of an existing TLS configuration associated to the namespace to use |`string`|
118
118
|`input`| Webhooks only: A set of options to extract data from the first JSON input data in the incoming message. Only applies if withData=true |[`WebhookInputOptions`](#webhookinputoptions)|
119
+
|`retry`| Webhooks only: a set of options for retrying the webhook call |[`WebhookRetryOptions`](#webhookretryoptions)|
120
+
|`httpOptions`| Webhooks only: a set of options for HTTP |[`WebhookHTTPOptions`](#webhookhttpoptions)|
119
121
120
122
## WebhookInputOptions
121
123
@@ -128,4 +130,26 @@ nav_order: 3
128
130
|`replytx`| A top-level property of the first data input, to use to dynamically set whether to pin the response (so the requester can choose) |`string`|
129
131
130
132
133
+
## WebhookRetryOptions
134
+
135
+
| Field Name | Description | Type |
136
+
|------------|-------------|------|
137
+
|`enabled`| Enables retry on HTTP calls, defaults to false |`bool`|
138
+
|`count`| Number of times to retry the webhook call in case of failure |`int`|
139
+
|`initialDelay`| Initial delay between retries when we retry the webhook call |`string`|
140
+
|`maxDelay`| Max delay between retries when we retry the webhookcall |`string`|
141
+
142
+
143
+
## WebhookHTTPOptions
144
+
145
+
| Field Name | Description | Type |
146
+
|------------|-------------|------|
147
+
|`tlsHandshakeTimeout`| The max duration to hold a TLS handshake alive |`string`|
148
+
|`requestTimeout`| The max duration to hold a TLS handshake alive |`string`|
149
+
|`maxIdleConns`| The max number of idle connections to hold pooled |`int`|
150
+
|`idleTimeout`| The max duration to hold a HTTP keepalive connection between calls |`string`|
151
+
|`connectionTimeout`||`string`|
152
+
|`expectContinueTimeout`| See [ExpectContinueTimeout in the Go docs](https://pkg.go.dev/net/http#Transport)|`string`|
Copy file name to clipboardExpand all lines: docs/reference/types/wsstart.md
+24Lines changed: 24 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -107,6 +107,8 @@ nav_order: 23
107
107
|`query`| Webhooks only: Static query params to set on the webhook request | `` |
108
108
|`tlsConfigName`| The name of an existing TLS configuration associated to the namespace to use |`string`|
109
109
|`input`| Webhooks only: A set of options to extract data from the first JSON input data in the incoming message. Only applies if withData=true |[`WebhookInputOptions`](#webhookinputoptions)|
110
+
|`retry`| Webhooks only: a set of options for retrying the webhook call |[`WebhookRetryOptions`](#webhookretryoptions)|
111
+
|`httpOptions`| Webhooks only: a set of options for HTTP |[`WebhookHTTPOptions`](#webhookhttpoptions)|
110
112
111
113
## WebhookInputOptions
112
114
@@ -119,4 +121,26 @@ nav_order: 23
119
121
|`replytx`| A top-level property of the first data input, to use to dynamically set whether to pin the response (so the requester can choose) |`string`|
120
122
121
123
124
+
## WebhookRetryOptions
125
+
126
+
| Field Name | Description | Type |
127
+
|------------|-------------|------|
128
+
|`enabled`| Enables retry on HTTP calls, defaults to false |`bool`|
129
+
|`count`| Number of times to retry the webhook call in case of failure |`int`|
130
+
|`initialDelay`| Initial delay between retries when we retry the webhook call |`string`|
131
+
|`maxDelay`| Max delay between retries when we retry the webhookcall |`string`|
132
+
133
+
134
+
## WebhookHTTPOptions
135
+
136
+
| Field Name | Description | Type |
137
+
|------------|-------------|------|
138
+
|`tlsHandshakeTimeout`| The max duration to hold a TLS handshake alive |`string`|
139
+
|`requestTimeout`| The max duration to hold a TLS handshake alive |`string`|
140
+
|`maxIdleConns`| The max number of idle connections to hold pooled |`int`|
141
+
|`idleTimeout`| The max duration to hold a HTTP keepalive connection between calls |`string`|
142
+
|`connectionTimeout`||`string`|
143
+
|`expectContinueTimeout`| See [ExpectContinueTimeout in the Go docs](https://pkg.go.dev/net/http#Transport)|`string`|
Copy file name to clipboardExpand all lines: internal/coremsgs/en_struct_descriptions.go
+28-16Lines changed: 28 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -681,22 +681,34 @@ var (
681
681
WSSubscriptionStatusFilter=ffm("WSSubscriptionStatus.filter", "The subscription filter specification")
682
682
WSSubscriptionStatusStartTime=ffm("WSSubscriptionStatus.startTime", "The time the subscription started (reset on dynamic namespace reload)")
683
683
684
-
WebhooksOptJSON=ffm("WebhookSubOptions.json", "Webhooks only: Whether to assume the response body is JSON, regardless of the returned Content-Type")
685
-
WebhooksOptReply=ffm("WebhookSubOptions.reply", "Webhooks only: Whether to automatically send a reply event, using the body returned by the webhook")
686
-
WebhooksOptHeaders=ffm("WebhookSubOptions.headers", "Webhooks only: Static headers to set on the webhook request")
687
-
WebhooksOptQuery=ffm("WebhookSubOptions.query", "Webhooks only: Static query params to set on the webhook request")
688
-
WebhooksOptInput=ffm("WebhookSubOptions.input", "Webhooks only: A set of options to extract data from the first JSON input data in the incoming message. Only applies if withData=true")
689
-
WebhooksOptFastAck=ffm("WebhookSubOptions.fastack", "Webhooks only: When true the event will be acknowledged before the webhook is invoked, allowing parallel invocations")
690
-
WebhooksOptURL=ffm("WebhookSubOptions.url", "Webhooks only: HTTP url to invoke. Can be relative if a base URL is set in the webhook plugin config")
691
-
WebhooksOptMethod=ffm("WebhookSubOptions.method", "Webhooks only: HTTP method to invoke. Default=POST")
692
-
WebhooksOptReplyTag=ffm("WebhookSubOptions.replytag", "Webhooks only: The tag to set on the reply message")
693
-
WebhooksOptReplyTx=ffm("WebhookSubOptions.replytx", "Webhooks only: The transaction type to set on the reply message")
694
-
WebhooksOptTLSConfigName=ffm("WebhookSubOptions.tlsConfigName", "The name of an existing TLS configuration associated to the namespace to use")
695
-
WebhooksOptInputQuery=ffm("WebhookInputOptions.query", "A top-level property of the first data input, to use for query parameters")
696
-
WebhooksOptInputHeaders=ffm("WebhookInputOptions.headers", "A top-level property of the first data input, to use for headers")
697
-
WebhooksOptInputBody=ffm("WebhookInputOptions.body", "A top-level property of the first data input, to use for the request body. Default is the whole first body")
698
-
WebhooksOptInputPath=ffm("WebhookInputOptions.path", "A top-level property of the first data input, to use for a path to append with escaping to the webhook path")
699
-
WebhooksOptInputReplyTx=ffm("WebhookInputOptions.replytx", "A top-level property of the first data input, to use to dynamically set whether to pin the response (so the requester can choose)")
684
+
WebhooksOptJSON=ffm("WebhookSubOptions.json", "Webhooks only: Whether to assume the response body is JSON, regardless of the returned Content-Type")
685
+
WebhooksOptReply=ffm("WebhookSubOptions.reply", "Webhooks only: Whether to automatically send a reply event, using the body returned by the webhook")
686
+
WebhooksOptHeaders=ffm("WebhookSubOptions.headers", "Webhooks only: Static headers to set on the webhook request")
687
+
WebhooksOptQuery=ffm("WebhookSubOptions.query", "Webhooks only: Static query params to set on the webhook request")
688
+
WebhooksOptInput=ffm("WebhookSubOptions.input", "Webhooks only: A set of options to extract data from the first JSON input data in the incoming message. Only applies if withData=true")
689
+
WebhooksOptFastAck=ffm("WebhookSubOptions.fastack", "Webhooks only: When true the event will be acknowledged before the webhook is invoked, allowing parallel invocations")
690
+
WebhooksOptURL=ffm("WebhookSubOptions.url", "Webhooks only: HTTP url to invoke. Can be relative if a base URL is set in the webhook plugin config")
691
+
WebhooksOptMethod=ffm("WebhookSubOptions.method", "Webhooks only: HTTP method to invoke. Default=POST")
692
+
WebhooksOptReplyTag=ffm("WebhookSubOptions.replytag", "Webhooks only: The tag to set on the reply message")
693
+
WebhooksOptReplyTx=ffm("WebhookSubOptions.replytx", "Webhooks only: The transaction type to set on the reply message")
694
+
WebhooksOptTLSConfigName=ffm("WebhookSubOptions.tlsConfigName", "The name of an existing TLS configuration associated to the namespace to use")
695
+
WebhooksOptHTTPOptions=ffm("WebhookSubOptions.httpOptions", "Webhooks only: a set of options for HTTP")
696
+
WebhooksOptHTTPRetry=ffm("WebhookSubOptions.retry", "Webhooks only: a set of options for retrying the webhook call")
697
+
WebhooksOptInputQuery=ffm("WebhookInputOptions.query", "A top-level property of the first data input, to use for query parameters")
698
+
WebhooksOptInputHeaders=ffm("WebhookInputOptions.headers", "A top-level property of the first data input, to use for headers")
699
+
WebhooksOptInputBody=ffm("WebhookInputOptions.body", "A top-level property of the first data input, to use for the request body. Default is the whole first body")
700
+
WebhooksOptInputPath=ffm("WebhookInputOptions.path", "A top-level property of the first data input, to use for a path to append with escaping to the webhook path")
701
+
WebhooksOptInputReplyTx=ffm("WebhookInputOptions.replytx", "A top-level property of the first data input, to use to dynamically set whether to pin the response (so the requester can choose)")
702
+
WebhooksOptRetryEnabled=ffm("WebhookRetryOptions.enabled", "Enables retry on HTTP calls, defaults to false")
703
+
WebhooksOptRetryCount=ffm("WebhookRetryOptions.count", "Number of times to retry the webhook call in case of failure")
704
+
WebhooksOptRetryInitialDelay=ffm("WebhookRetryOptions.initialDelay", "Initial delay between retries when we retry the webhook call")
705
+
WebhooksOptRetryMaxDelay=ffm("WebhookRetryOptions.maxDelay", "Max delay between retries when we retry the webhookcall")
706
+
WebhookOptHTTPExpectContinueTimeout=ffm("WebhookHTTPOptions.expectContinueTimeout", "See [ExpectContinueTimeout in the Go docs](https://pkg.go.dev/net/http#Transport)")
707
+
WebhookOptHTTPIdleTimeout=ffm("WebhookHTTPOptions.idleTimeout", "The max duration to hold a HTTP keepalive connection between calls")
708
+
WebhookOptHTTPMaxIdleConns=ffm("WebhookHTTPOptions.maxIdleConns", "The max number of idle connections to hold pooled")
WebhookOptHTTPTLSHandshakeTimeout=ffm("WebhookHTTPOptions.tlsHandshakeTimeout", "The max duration to hold a TLS handshake alive")
711
+
WebhookOptHTTPRequestTimeout=ffm("WebhookHTTPOptions.requestTimeout", "The max duration to hold a TLS handshake alive")
700
712
701
713
// PublishInput field descriptions
702
714
PublishInputIdempotencyKey=ffm("PublishInput.idempotencyKey", "An optional identifier to allow idempotent submission of requests. Stored on the transaction uniquely within a namespace")
0 commit comments