-
Notifications
You must be signed in to change notification settings - Fork 23
Configurable batch size #389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev_performance_test_improvements
Are you sure you want to change the base?
Changes from all commits
e8bd34f
4ad7f02
2f86688
e62aee1
cfa7321
866e94e
4f22357
c7bffdb
2432d04
9b556d2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -303,9 +303,9 @@ producerRun().then(consumerRun).catch(console.error); | |||||||||||||
- The `heartbeat()` no longer needs to be called by the user in the `eachMessage/eachBatch` callback. | ||||||||||||||
Heartbeats are automatically managed by librdkafka. | ||||||||||||||
- The `partitionsConsumedConcurrently` is supported by both `eachMessage` and `eachBatch`. | ||||||||||||||
- An API compatible version of `eachBatch` is available, but the batch size calculation is not | ||||||||||||||
as per configured parameters, rather, a constant maximum size is configured internally. This is subject | ||||||||||||||
to change. | ||||||||||||||
- An API compatible version of `eachBatch` is available, maximum batch size | ||||||||||||||
can be configured through the `js.consumer.max.batch.size` configuration property | ||||||||||||||
and defaults to 32. | ||||||||||||||
Comment on lines
+306
to
+308
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also, I think we should add that while we start attempting to fill batches with |
||||||||||||||
The property `eachBatchAutoResolve` is supported. | ||||||||||||||
Within the `eachBatch` callback, use of `uncommittedOffsets` is unsupported, | ||||||||||||||
and within the returned batch, `offsetLag` and `offsetLagLow` are supported. | ||||||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Let's make it 1.7.0