Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


CPUMemory

1. Subscription topic metadata with topic UUID, name, number of partition, and rack set of each partition.

LowHigh
2. Subscription Cache mechanism and subscription topic metadata with topic UUID, name, and hash.MidMid
3. A single hash to represent all subscribed topic in a group.HighLow

We choose the second way, but not the third way, because a single hash to represent all subscribed topic in a group wastes too much CPU resource to recalculate the hash when the metadata image is expired. If any subscribed topic change, the third way needs to aggregate all data an recalculate the hash. The second way only needs to recalculate expired topic hash one time, because it keeps the result in coordinator cache. Please check Topic Hash Map Cache in Coordinator section for more details.

Public Interfaces

ConsumerGroupPartitionMetadataValue

...