GitHub user vahidhashemian opened a pull request:

    https://github.com/apache/kafka/pull/2550

    KAFKA-4665: Normalize handling of non-existing topics/partitions in 
fetching offsets

    This PR brings some consistency around how non-existing topics or 
partitions are handled when fetching offsets using different versions of offset 
fetch API.
    In particular, it now
    * returns `UNKNOWN_TOPIC_OR_PARTITION` for non-existing topics or 
partitions in versions 1 and later (similar to how it is done in version 0)
    * throws a `KafkaException` when consumers consume from a non-existing 
topic or partition, or from a topic to which they do not have Describe access.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/vahidhashemian/kafka KAFKA-4665

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/2550.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2550
    
----

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to