Skip to content

Commit

Permalink
change retention for redpanda (#474)
Browse files Browse the repository at this point in the history
* change retention for redpanda

* fix comment

---------

Signed-off-by: Maciej Mensfeld <[email protected]>
  • Loading branch information
mensfeld authored Nov 22, 2024
1 parent 9a09a68 commit c3c24d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
- **[Breaking]** Drop Ruby `3.0` support according to the EOL schedule.
- [Enhancement] Extract producers tracking `sync_threshold` into an internal config.
- [Enhancement] Support complex Pro license loading strategies (Pro).
- [Enhancement] Change default `retention.ms` for the metrics topic to support Redpanda Cloud defaults (#450).
- [Enhancement] Include subscription group id in the consumers error tracking metadata.
- [Enhancement] Collect metadata details of low level client errors when error tracking.
- [Enhancement] Collect metadata details of low level listener errors when error tracking.
Expand Down
2 changes: 1 addition & 1 deletion lib/karafka/web/management/actions/create_topics.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def call(replication_factor)
replication_factor,
{
'cleanup.policy': 'compact',
'retention.ms': 60 * 60 * 1_000, # 1h
'retention.ms': 24 * 60 * 60 * 1_000, # 1 day
'segment.ms': 24 * 60 * 60 * 1_000, # 1 day
'segment.bytes': 104_857_600 # 100MB
}
Expand Down

0 comments on commit c3c24d4

Please sign in to comment.