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

[Improve][TubeMQ] The storage space used by the offset of TubeMQ broker is too large #6535

Closed
1 of 2 tasks
FvvSuu opened this issue Nov 15, 2022 · 2 comments · Fixed by #6543
Closed
1 of 2 tasks

[Improve][TubeMQ] The storage space used by the offset of TubeMQ broker is too large #6535

FvvSuu opened this issue Nov 15, 2022 · 2 comments · Fixed by #6543

Comments

@FvvSuu
Copy link

FvvSuu commented Nov 15, 2022

Description

The storage space used by the offset of TubeMQ broker is too large.

image

There are 5~6 consumer groups in the picture

InLong Component

InLong TubeMQ

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

@gosonzhang
Copy link
Contributor

Thanks @FvvSuu, got it

@gosonzhang
Copy link
Contributor

It should be caused by too much duplicate data in the offset records of the storage consumption group: in order to make the records more readable[1], for example, each partition consumption record contains the consumption group name, and each partition repeatedly records the maximum and minimum offsets, as a result, the total data record is bloated too much.

Considering the traversal of the text display, I plan to still use the text to represent the saved historical offset, but perform field key abbreviation and deduplication processing to reduce the length of the total record.

  1. https://github.com/apache/inlong/blob/master/inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/broker/offset/OffsetRecordInfo.java#L68
    image

@gosonzhang gosonzhang self-assigned this Nov 15, 2022
@dockerzhang dockerzhang added this to the 1.5.0 milestone Nov 15, 2022
@healchow healchow changed the title [Improve][TubeMQ]The storage space used by the offset of TubeMQ broker is too large [Improve][TubeMQ] The storage space used by the offset of TubeMQ broker is too large Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants