Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
bibendi committed Feb 16, 2024
1 parent f383836 commit b302e94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ outbox_items:

#### Compacted log

This strategy should be used when [Kafka log compaction](https://docs.aiven.io/docs/products/kafka/concepts/log-compaction) is enabled.
This strategy ensures idempotency. In short, if a message fails and a later message with the same event_key has already been delivered, then you most likely do not want to re-deliver the first one when it is retried.

```yaml
# config/outbox.yml
Expand All @@ -290,7 +290,7 @@ outbox_items:
- compacted_log
```

The exponential_backoff strategy should be used with the compacted_log strategy, and it should go last to minimize the number of queries to the database.
The exponential backoff strategy should be used in conjunction with the compact log strategy, and it should come last to minimize the number of database queries.

### Partition strategies

Expand Down

0 comments on commit b302e94

Please sign in to comment.