You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Sanjana Kaundinya (Jira)" <ji...@apache.org> on 2020/02/20 20:56:00 UTC

[jira] [Created] (KAFKA-9580) Log clearer error messages when there is an offset out of range

Sanjana Kaundinya created KAFKA-9580:
----------------------------------------

             Summary: Log clearer error messages when there is an offset out of range
                 Key: KAFKA-9580
                 URL: https://issues.apache.org/jira/browse/KAFKA-9580
             Project: Kafka
          Issue Type: Bug
          Components: core
            Reporter: Sanjana Kaundinya


Currently in [Fetcher::initializedCompletedFetch|[https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/clients/consumer/internals/Fetcher.java#L1259]], it's not informative on what offsets are exactly in range, and it makes it harder to debug when Consumer issues come up in this situation. It would be much more helpful if we logged a message similar to [Log::read|[https://github.com/apache/kafka/blob/trunk/core/src/main/scala/kafka/log/Log.scala#L1468]] to make it easier to debug.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)