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/content/docs/connectors/table/hbase.md
+53-12Lines changed: 53 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -170,37 +170,78 @@ Connector Options
170
170
<td>Representation for null values for string fields. HBase source and sink encodes/decodes empty bytes as null values for all types except string type.</td>
171
171
</tr>
172
172
<tr>
173
-
<td><h5>sink.buffer-flush.max-size</h5></td>
173
+
<td><h5>sink.flush-buffer.size</h5></td>
174
174
<td>optional</td>
175
175
<td>yes</td>
176
-
<td style="word-wrap: break-word;">2mb</td>
177
-
<td>MemorySize</td>
176
+
<td style="word-wrap: break-word;">2097152</td>
177
+
<td>Long</td>
178
178
<td>Writing option, maximum size in memory of buffered rows for each writing request.
179
179
This can improve performance for writing data to HBase database, but may increase the latency.
180
-
Can be set to <code>'0'</code> to disable it.
181
180
</td>
182
181
</tr>
183
182
<tr>
184
-
<td><h5>sink.buffer-flush.max-rows</h5></td>
183
+
<td><h5>sink.batch.max-size</h5></td>
185
184
<td>optional</td>
186
185
<td>yes</td>
187
186
<td style="word-wrap: break-word;">1000</td>
188
187
<td>Integer</td>
189
188
<td>Writing option, maximum number of rows to buffer for each writing request.
190
189
This can improve performance for writing data to HBase database, but may increase the latency.
191
-
Can be set to <code>'0'</code> to disable it.
192
190
</td>
193
191
</tr>
194
192
<tr>
195
-
<td><h5>sink.buffer-flush.interval</h5></td>
193
+
<td><h5>sink.flush-buffer.timeout</h5></td>
196
194
<td>optional</td>
197
195
<td>yes</td>
198
-
<td style="word-wrap: break-word;">1s</td>
199
-
<td>Duration</td>
200
-
<td>Writing option, the interval to flush any buffered rows.
196
+
<td style="word-wrap: break-word;">1000</td>
197
+
<td>Long</td>
198
+
<td>Writing option, the threshold time in milliseconds for an element to be in the buffer before flushing out.
201
199
This can improve performance for writing data to HBase database, but may increase the latency.
202
-
Can be set to <code>'0'</code> to disable it. Note, both <code>'sink.buffer-flush.max-size'</code> and <code>'sink.buffer-flush.max-rows'</code>
203
-
can be set to <code>'0'</code> with the flush interval set allowing for complete async processing of buffered actions.
200
+
</td>
201
+
</tr>
202
+
<tr>
203
+
<td><h5>sink.requests.max-inflight</h5></td>
204
+
<td>optional</td>
205
+
<td>yes</td>
206
+
<td style="word-wrap: break-word;">1000</td>
207
+
<td>Integer</td>
208
+
<td>Request threshold for uncompleted requests before blocking new write requests.
209
+
</td>
210
+
</tr>
211
+
<tr>
212
+
<td><h5>sink.requests.max-buffered</h5></td>
213
+
<td>optional</td>
214
+
<td>yes</td>
215
+
<td style="word-wrap: break-word;">1000</td>
216
+
<td>Integer</td>
217
+
<td>Maximum number of buffered records before applying backpressure.
218
+
</td>
219
+
</tr>
220
+
<tr>
221
+
<td><h5>sink.request-timeout</h5></td>
222
+
<td>optional</td>
223
+
<td>yes</td>
224
+
<td style="word-wrap: break-word;">10 min</td>
225
+
<td>Duration</td>
226
+
<td>The maximum time to wait for a batch of HBase requests to complete before timing out.
227
+
</td>
228
+
</tr>
229
+
<tr>
230
+
<td><h5>sink.fail-on-timeout</h5></td>
231
+
<td>optional</td>
232
+
<td>yes</td>
233
+
<td style="word-wrap: break-word;">false</td>
234
+
<td>Boolean</td>
235
+
<td>Whether to fail the job when a request times out. If false, timed-out requests will be logged but the job will continue processing. If true, a timeout will cause the job to fail.
236
+
</td>
237
+
</tr>
238
+
<tr>
239
+
<td><h5>sink.max-record-size</h5></td>
240
+
<td>optional</td>
241
+
<td>yes</td>
242
+
<td style="word-wrap: break-word;">1048576</td>
243
+
<td>Long</td>
244
+
<td>The maximum size in bytes of a single record. Records bigger than this will cause the job to fail.
0 commit comments