-
Notifications
You must be signed in to change notification settings - Fork 180
/
EventHubBufferedProducerClientOptions.yml
193 lines (183 loc) · 6.56 KB
/
EventHubBufferedProducerClientOptions.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
### YamlMime:TSType
name: EventHubBufferedProducerClientOptions
uid: '@azure/event-hubs.EventHubBufferedProducerClientOptions'
package: '@azure/event-hubs'
summary: >-
Describes the options that can be provided while creating the
`EventHubBufferedProducerClient`.
fullName: EventHubBufferedProducerClientOptions
remarks: ''
isDeprecated: false
type: interface
properties:
- name: enableIdempotentRetries
uid: >-
@azure/event-hubs.EventHubBufferedProducerClientOptions.enableIdempotentRetries
package: '@azure/event-hubs'
summary: >-
Indicates whether or not the EventHubProducerClient should enable
idempotent publishing to Event Hub partitions.
If enabled, the producer will only be able to publish directly to
partitions;
it will not be able to publish to the Event Hubs gateway for automatic
partition routing
nor will it be able to use a partition key.
Default: false
fullName: enableIdempotentRetries
remarks: ''
isDeprecated: false
syntax:
content: 'enableIdempotentRetries?: boolean'
return:
description: ''
type: boolean
- name: maxEventBufferLengthPerPartition
uid: >-
@azure/event-hubs.EventHubBufferedProducerClientOptions.maxEventBufferLengthPerPartition
package: '@azure/event-hubs'
summary: >-
The total number of events that can be buffered for publishing at a given
time for a given partition.
Default: 1500
fullName: maxEventBufferLengthPerPartition
remarks: ''
isDeprecated: false
syntax:
content: 'maxEventBufferLengthPerPartition?: number'
return:
description: ''
type: number
- name: maxWaitTimeInMs
uid: '@azure/event-hubs.EventHubBufferedProducerClientOptions.maxWaitTimeInMs'
package: '@azure/event-hubs'
summary: >-
The amount of time to wait for a new event to be enqueued in the buffer
before publishing a partially full batch.
Default: 1 second.
fullName: maxWaitTimeInMs
remarks: ''
isDeprecated: false
syntax:
content: 'maxWaitTimeInMs?: number'
return:
description: ''
type: number
- name: onSendEventsErrorHandler
uid: >-
@azure/event-hubs.EventHubBufferedProducerClientOptions.onSendEventsErrorHandler
package: '@azure/event-hubs'
summary: The handler to call when a batch fails to publish.
fullName: onSendEventsErrorHandler
remarks: ''
isDeprecated: false
syntax:
content: 'onSendEventsErrorHandler: (ctx: OnSendEventsErrorContext) => void'
return:
description: ''
type: '(ctx: OnSendEventsErrorContext) => void'
- name: onSendEventsSuccessHandler
uid: >-
@azure/event-hubs.EventHubBufferedProducerClientOptions.onSendEventsSuccessHandler
package: '@azure/event-hubs'
summary: The handler to call once a batch has successfully published.
fullName: onSendEventsSuccessHandler
remarks: ''
isDeprecated: false
syntax:
content: 'onSendEventsSuccessHandler?: (ctx: OnSendEventsSuccessContext) => void'
return:
description: ''
type: '(ctx: OnSendEventsSuccessContext) => void'
inheritedProperties:
- name: customEndpointAddress
uid: >-
@azure/event-hubs.EventHubBufferedProducerClientOptions.customEndpointAddress
package: '@azure/event-hubs'
summary: |-
A custom endpoint to use when connecting to the Event Hubs service.
This can be useful when your network does not allow connecting to the
standard Azure Event Hubs endpoint address, but does allow connecting
through an intermediary.
Example: "https://my.custom.endpoint:100/"
fullName: customEndpointAddress
remarks: ''
isDeprecated: false
syntax:
content: 'customEndpointAddress?: string'
return:
description: ''
type: string
inheritanceDescription: >-
<b>Inherited From</b>
[EventHubClientOptions.customEndpointAddress](xref:@azure/event-hubs.EventHubClientOptions.customEndpointAddress)
- name: identifier
uid: '@azure/event-hubs.EventHubBufferedProducerClientOptions.identifier'
package: '@azure/event-hubs'
summary: >-
A unique name used to identify the client. If not provided, a GUID will
be used as the identifier
fullName: identifier
remarks: ''
isDeprecated: false
syntax:
content: 'identifier?: string'
return:
description: ''
type: string
inheritanceDescription: >-
<b>Inherited From</b>
[EventHubClientOptions.identifier](xref:@azure/event-hubs.EventHubClientOptions.identifier)
- name: retryOptions
uid: '@azure/event-hubs.EventHubBufferedProducerClientOptions.retryOptions'
package: '@azure/event-hubs'
summary: >-
Options to configure the retry policy for all the operations on the
client.
For example, `{ "maxRetries": 4 }` or `{ "maxRetries": 4,
"retryDelayInMs": 30000 }`.
fullName: retryOptions
remarks: ''
isDeprecated: false
syntax:
content: 'retryOptions?: RetryOptions'
return:
description: ''
type: <xref uid="@azure/event-hubs.RetryOptions" />
inheritanceDescription: >-
<b>Inherited From</b>
[EventHubClientOptions.retryOptions](xref:@azure/event-hubs.EventHubClientOptions.retryOptions)
- name: userAgent
uid: '@azure/event-hubs.EventHubBufferedProducerClientOptions.userAgent'
package: '@azure/event-hubs'
summary: >-
Value that is appended to the built in user agent string that is passed to
the Event Hubs service.
fullName: userAgent
remarks: ''
isDeprecated: false
syntax:
content: 'userAgent?: string'
return:
description: ''
type: string
inheritanceDescription: >-
<b>Inherited From</b>
[EventHubClientOptions.userAgent](xref:@azure/event-hubs.EventHubClientOptions.userAgent)
- name: webSocketOptions
uid: '@azure/event-hubs.EventHubBufferedProducerClientOptions.webSocketOptions'
package: '@azure/event-hubs'
summary: >-
Options to configure the channelling of the AMQP connection over Web
Sockets.
fullName: webSocketOptions
remarks: ''
isDeprecated: false
syntax:
content: 'webSocketOptions?: WebSocketOptions'
return:
description: ''
type: <xref uid="@azure/event-hubs.WebSocketOptions" />
inheritanceDescription: >-
<b>Inherited From</b>
[EventHubClientOptions.webSocketOptions](xref:@azure/event-hubs.EventHubClientOptions.webSocketOptions)
extends: <xref uid="@azure/event-hubs.EventHubClientOptions" />