Skip to content

Commit

Permalink
Avoid get partition metadata while the topic name is a partition name. (
Browse files Browse the repository at this point in the history
#6339)

Motivation

To avoid get partition metadata while the topic name is a partition name.
Currently, if users want to skip all messages for a partitioned topic or unload a partitioned topic, the broker will call get topic metadata many times. For a topic with the partition name, it is not necessary to call get partitioned topic metadata again.

(cherry picked from commit 26d569b)
  • Loading branch information
codelipenghui authored and tuteng committed Apr 13, 2020
1 parent 2ccea55 commit 4f4d0d2
Showing 1 changed file with 493 additions and 441 deletions.
Loading

0 comments on commit 4f4d0d2

Please sign in to comment.