You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Justine Olshan (Jira)" <ji...@apache.org> on 2021/07/13 20:28:00 UTC

[jira] [Created] (KAFKA-13079) Forgotten Topics in Fetch Requests may incorrectly use topic IDs

Justine Olshan created KAFKA-13079:
--------------------------------------

             Summary: Forgotten Topics in Fetch Requests may incorrectly use topic IDs
                 Key: KAFKA-13079
                 URL: https://issues.apache.org/jira/browse/KAFKA-13079
             Project: Kafka
          Issue Type: Bug
    Affects Versions: 3.1.0
            Reporter: Justine Olshan


In the new code for Fetch, we only check if the topics contained in the session have IDs to decide whether to send a version < 13 (topic names) or version 13+ (topic IDs) request. However, if we have an empty session that previously did not use IDs, we will try to send a request to forget the topics. Since all topics in the session (none) were not missing topic ids, we will send a version 13 request. This request will have the Zero UUID and fail.

The result is that we close the session and mark any partitions in it as errored, but the message is confusing and the request is not correct. We should somehow also track forgotten topics when deciding what version to use.



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