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
apache#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 Mar 21, 2020
1 parent 7112e21 commit e44b822
Showing 1 changed file with 493 additions and 441 deletions.
Loading

0 comments on commit e44b822

Please sign in to comment.