-
Notifications
You must be signed in to change notification settings - Fork 708
Closed
Labels
kind/bugSomething isn't workingSomething isn't working
Description
Version & Environment
Redpanda version: v22.2.5
I'm using the latest redpanda docker image, version number is v22.2.5
after set retention.ms to 1000 and wait for a while, the old message is still kept.
The following is the detail operation.
docker run -e TZ=Asia/Shanghai -d --name=redpanda-1 \
-p 8081:8081 \
-p 8082:8082 \
-p 9092:9092 \
-p 9644:9644 \
vectorized/redpanda:v22.2.5 \
redpanda start \
--overprovisioned \
--smp 3 \
--memory 1G \
--reserve-memory 0M \
--node-id 0 \
--check=falsecreate a new topic and change the value of retention.ms and log_compaction_interval_ms
docker exec -it redpanda-1 rpk topic create twitch_chat
docker exec -it redpanda-1 rpk topic alter-config --set retention.ms=1000
# set the value for log_compaction_interval_ms to 60000
docker exec -it redpanda-1 rpk cluster config editingest some data into topic twitch_chat and wait for some time, the ingested message is still existed. The behavior is unexpected.
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't workingSomething isn't working