跳到主内容
预览中

Public preview: Log compaction support in Azure Event Hubs

发布日期:十二月 12, 2022

Log compaction is a way of retaining events in Event Hubs. Rather using time based retention, you can use key-based retention mechanism where Event Hubs retrains the last known value for each event key of an event hub or Kafka topic. Event Hubs service runs a compaction job internally and purges old events in a compacted event hub. The partition key that you set with each event is used as the compaction key and users can also mark events that needs to be deleted from the event log by publishing event with a key and null payload. 

To learn more about log compaction, please check out Log Compaction documentation.

  • Microsoft Ignite