Stig Rohde Døssing created KAFKA-7733: -----------------------------------------
Summary: MockConsumer doesn't respect reset strategy Key: KAFKA-7733 URL: https://issues.apache.org/jira/browse/KAFKA-7733 Project: Kafka Issue Type: Improvement Components: clients Reporter: Stig Rohde Døssing Assignee: Stig Rohde Døssing The MockConsumer throws OffsetOutOfRangeException if a record is behind the beginning offset. This is unlike the real consumer, which will use auto.offset.reset to decide whether to seek to the beginning, end or throw an exception. It is convenient if the poll method does the offset reset properly, since it allows for testing cases like a consumer requesting offsets from a truncated log. -- This message was sent by Atlassian JIRA (v7.6.3#76005)