DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
...
| CPU | Memory | |
|---|---|---|
1. Subscription topic metadata with topic UUID, name, number of partition, and rack set of each partition. | Low | High |
| 2. Subscription Cache mechanism and subscription topic metadata with topic UUID, name, and hash. | Mid | Mid |
| 3. A single hash to represent all subscribed topic in a group. | High | Low |
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
...