Add batch processing documentation for Kafka Inbound Endpoint - #2324
Add batch processing documentation for Kafka Inbound Endpoint#2324chathuranga-jayanath-99 wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughSummaryThis pull request adds comprehensive documentation for the batch processing feature of the Kafka Inbound Endpoint in the configuration reference guide. ChangesDocumentation Updates:
ImpactProvides users with detailed guidance on configuring and understanding batch processing behavior, including edge cases around error handling and offset management, enabling more reliable batch ingestion from Kafka topics. WalkthroughThis documentation update adds two new optional parameters— 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
|
||
| ### Message payload format | ||
|
|
||
| The shape of the injected message depends on the configured `contentType`. |
There was a problem hiding this comment.
| The shape of the injected message depends on the configured `contentType`. | |
| The content type of the injected message depends on the configured `contentType`. |
|
|
||
| The shape of the injected message depends on the configured `contentType`. | ||
|
|
||
| **JSON** (`contentType = application/json`) |
There was a problem hiding this comment.
Let's define these as tabs.
| ## Batch mediation | ||
|
|
||
| By default, the Kafka Inbound Endpoint processes one record at a time — each record polled from Kafka is injected into the inbound sequence as a separate message. Batch mediation changes this so that all valid records returned by a single poll are bundled into one message and injected together. To enable it, set the following parameter: | ||
|
|
There was a problem hiding this comment.
Let's add a note about the all the messages are built to the message context, and can utilize memory, so fine tune the batch size accordingly.
Purpose
Documents the batch processing feature for the Kafka Inbound Endpoint.
batch.processing.enabledandkafka.dlq.topicparameters to the configuration reference table.Please refer below PDF for the updated page.
Kafka Inbound Endpoint Reference - WSO2 Micro Integrator Documentation 4.4.0.pdf
Screenshots of the updated content is below as well.

