Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'main' into fix-blockbuilder-processing
  • Loading branch information
ashwanthgoli committed Nov 25, 2024
commit dcc817d172aad8c2071c1ccd21318bb697f18cf0
2 changes: 1 addition & 1 deletion pkg/kafka/partition/reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ func (r *StdReader) FetchPartitionOffset(ctx context.Context, position SpecialOf

// Poll retrieves the next batch of records from Kafka
// Number of records fetched can be limited by configuring maxPollRecords to a non-zero value.
func (r *Reader) Poll(ctx context.Context, maxPollRecords int) ([]Record, error) {
func (r *StdReader) Poll(ctx context.Context, maxPollRecords int) ([]Record, error) {
start := time.Now()
fetches := r.client.PollRecords(ctx, maxPollRecords)
r.metrics.fetchWaitDuration.Observe(time.Since(start).Seconds())
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.