Skip to content

Commit cb2afb3

Browse files
authored
Apply suggestions from code review
Alt text revisions.
1 parent ef6f922 commit cb2afb3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/event-hubs/log-compaction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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 gets 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="Diagram 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.
@@ -27,7 +27,7 @@ Client application can mark existing events of an event hub to be deleted during
2727

2828
You can enable log compaction at each event hub/Kafka topic level. You can ingest events to a compacted article from any support protocol. Azure Event Hubs service runs a compaction job for each compacted event hub. Compaction job cleans each event hub partition log by only retaining the latest event of a given event key.
2929

30-
:::image type="content" source="./media/event-hubs-log-compaction/how-compaction-work.png" alt-text="Image showing how log compaction works." lightbox="./media/event-hubs-log-compaction/how-compaction-work.png":::
30+
:::image type="content" source="./media/event-hubs-log-compaction/how-compaction-work.png" alt-text="Diagram showing how log compaction works." lightbox="./media/event-hubs-log-compaction/how-compaction-work.png":::
3131

3232
At a given time the event log of a compacted event hub can have a *cleaned* portion and *dirty* portion. The clean portion contains the events that are compacted by the compaction job while the dirty portion comprises the events that are yet to be compacted.
3333

0 commit comments

Comments
 (0)