Hello everyone, I open a PIP-318: https://github.com/apache/pulsar/pull/21541 for this discussion.
Any feedback and suggestions are welcome. Thanks, Cong Zhao On 2023/11/07 02:55:52 Cong Zhao wrote: > Hi, Pulsar community > > Currently, we retain all null-key messages during topic compaction, which I > don't think is necessary because when you use topic compaction, > it means that you want to retain the value according to the key, so > retaining null-key messages is meaningless. > > Additionally, retaining all null-key messages will double the storage cost, > and we'll never be able to clean them up since the compacted topic has not > supported the retention policy yet. > > In summary, I don't think we should retain null-key messages during topic > compaction. > Looking forward to your feedback! > > Thanks, > Cong Zhao >