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.
  • Loading branch information
codelipenghui authored and tuteng committed Feb 23, 2020
1 parent 0e195fa commit 5dadd76
Showing 1 changed file with 493 additions and 441 deletions.
Loading

0 comments on commit 5dadd76

Please sign in to comment.