Skip to content

NPE in FailedBatchProcessor if Reported Index is Out of Bounds #2558

@garyrussell

Description

@garyrussell

Can't log the record here because there is none...

if (index < 0 || index >= data.count()) {
this.logger.warn(batchListenerFailedException, () ->
String.format("Record not found in batch: %s-%d@%d; re-seeking batch",
record.topic(), record.partition(), record.offset()));

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions