Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Producer CreateTime may be interfering with compaction #45

Open
slominskir opened this issue Jul 18, 2022 · 0 comments
Open

Producer CreateTime may be interfering with compaction #45

slominskir opened this issue Jul 18, 2022 · 0 comments

Comments

@slominskir
Copy link
Member

The use of CreateTime appears to be preventing the log.roll.ms setting from taking effect as some CreateTimes may be invalid / in the future. Setting log.message.timestamp.type=LogAppendTime in server.properties appears to help. More investigation is needed, but casually this appears to "fix" compaction not occurring on the alarm-activations topic.

See:

kafka-run-class kafka.tools.DumpLogSegments --files /opt/kafka/3.1.0/data/alarm-activations-0/00000000000000000000.log --print-data-log

Related:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant