Skip to content

Commit

Permalink
Info about retention
Browse files Browse the repository at this point in the history
  • Loading branch information
tisnik committed Jun 22, 2023
1 parent a6c81e5 commit 29f7a46
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/kafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@

## Append-only log

* new mesage/event is always written on the end of topic
* new mesage/event is always written on the end of one partition
* messages/events are immutable
* can be read by
- seeking and arbitrary offset
Expand Down Expand Up @@ -485,6 +485,7 @@ partition #3 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | ...
- setup globally
- and possible to setup for topic
- retention limits are minimum guarantees
- just one criterium might be met

```
log.retention.hours
Expand All @@ -496,6 +497,13 @@ log.roll.hours

---

### Retention

* The messages on a topic are not immediately removed after they are consumed/expired
* Once either of the limit is breached, the messages are marked deleted

---

## CLI

* Apache Kafka with batteries included
Expand Down

0 comments on commit 29f7a46

Please sign in to comment.