Skip to content

Commit ef6f922

Browse files
authored
Apply suggestions from code review
1 parent ce22dfa commit ef6f922

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/event-hubs/log-compaction.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
title: Log Compaction
3-
description: This article describes how log compaction feature works in Event Hubs.
2+
title: Log compaction
3+
description: This article describes how the log compaction feature works in Event Hubs.
44
ms.topic: article
55
ms.date: 10/7/2022
66
ms.custom: ignite-2022
77
---
88

9-
# Log Compaction
9+
# Log compaction
1010

1111
Log compaction is a way of retaining data in Event Hubs using event key based retention. By default, each event hub/Kafka topic is created with time-based retention or *delete* cleanup policy, where events are purged upon the expiration of the retention time. Rather using coarser-grained time based retention, you can use event key-based retention mechanism where Event Hubs retrains the last known value for each event key of an event hub or a Kafka topic.
1212

@@ -15,7 +15,7 @@ Log compaction is a way of retaining data in Event Hubs using event key based re
1515
1616
As shown below, an event log (of an event hub partition) may have multiple events with the same key. If you're using a compacted event hub, then Event Hubs service will take care of purging old events and only keeping the latest events of a given event key.
1717

18-
:::image type="content" source="./media/event-hubs-log-compaction/log-compaction.png" alt-text="Image showing how a topic get compacted." lightbox="./media/event-hubs-resource-governance-overview/app-groups.png":::
18+
:::image type="content" source="./media/event-hubs-log-compaction/log-compaction.png" alt-text="Image showing how a topic gets compacted." lightbox="./media/event-hubs-resource-governance-overview/app-groups.png":::
1919

2020
### Compaction key
2121
The partition key that you set with each event is used as the compaction key.

0 commit comments

Comments
 (0)