-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(topic operator): describes the tuning for topic operator batchin…
…g mechanism (#9314) Signed-off-by: prmellor <[email protected]>
- Loading branch information
1 parent
9a83ce1
commit 4d603df
Showing
3 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
documentation/modules/operators/con-tuning-topic-request-batches.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// Module included in the following assemblies: | ||
// | ||
// assembly-using-the-topic-operator.adoc | ||
|
||
[id='con-tuning-topic-request-batches-{context}'] | ||
= (Preview) Tuning request batches for topic operations | ||
|
||
In unidirectional mode, the Topic Operator uses the request batching capabilities of the Kafka Admin API for operations on topic resources. | ||
You can fine-tune the batching mechanism using the following operator configuration properties: | ||
|
||
* `STRIMZI_MAX_QUEUE_SIZE` to set the maximum size of the topic event queue. | ||
The default value is 1024. | ||
* `STRIMZI_MAX_BATCH_SIZE` to set the maximum number of topic events allowed in a single batch. | ||
The default value is 100. | ||
* `MAX_BATCH_LINGER_MS` to specify the maximum time to wait for a batch to accumulate items before processing. | ||
The default is 100 milliseconds. | ||
|
||
If the maximum size of the request batching queue is exceeded, the Topic Operator shuts down and is restarted. | ||
To prevent frequent restarts, consider adjusting the `STRIMZI_MAX_QUEUE_SIZE` property to accommodate the typical load. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters