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
kgo: unlinger partitions in ProduceSync to avoid linger delay
ProduceSync now stops lingering and triggers an immediate drain on
all partitions that records were produced to. This avoids the caller
waiting unnecessarily for linger timers (default 10ms since v1.20.0)
when synchronously waiting for results.
After each Produce call, the record's Partition field is already set
(see bufferRecord), so we collect unique recBufs inline and unlinger
them after all records are enqueued. A [16]*recBuf stack array with
linear dedup avoids heap allocation in the common case.
Closes#1195
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments