S
S
Serg4452020-08-10 20:31:47
linux
Serg445, 2020-08-10 20:31:47

How to clean partitions in kafka __consumer_offsets*?

Good afternoon!
We use apache kafka version
2.1.0 (Commit:809be928f1ae004e)

to control the size of the partition, I set the parameters retention.ms, retention.bytes , thanks to them service topics are cleaned normally.
But at the same time, the _consumer_offset topic is not cleared, at the moment one of the partitions in it occupies 6 GB.
What can clean it up?

PS:
the Linux and Apache tag is used, since there is no Apache Kafka tag or just Kafka

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Karasik, 2020-08-11
@vitaly_il1

First, I advise you to update the version.
"The __consumer_offsets topic retention time is controlled by the offsets.retention.minutes parameter, which is part of the broker configuration params." - https://stackoverflow.com/questions/58180608/does-...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question