Skip to content

Commit f60472e

Browse files
Chris Choschmalliso
authored andcommitted
DOCSP-19732: clarify max batch size with examples (#211)
* DOCSP-19732: clarify max batch size with examples
1 parent cbac631 commit f60472e

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

source/sink-connector/configuration-properties/connector-message.txt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,25 @@ Settings
3838
| **Description:**
3939
| Maximum number of sink records to batch together for processing.
4040
|
41+
| Consider the batch that contains the following records:
42+
43+
.. code-block:: none
44+
:copyable: false
45+
46+
[ 1, 2, 3, 4, 5 ]
47+
48+
| When set to ``0``, the connector performs a single bulk write for
49+
the entire batch.
50+
|
51+
| When set to ``1``, the connector performs one bulk write for each
52+
record in the batch, for a total of five bulk writes as shown in
53+
the following example:
54+
55+
.. code-block:: none
56+
:copyable: false
57+
58+
[1], [2], [3], [4], [5]
59+
4160
| **Default**: ``0``
4261
| **Accepted Values**: An integer
4362

0 commit comments

Comments
 (0)