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]Optimize the implementation of ConsumerEvent.toStrBuilder() #5795

Closed
2 tasks done
gosonzhang opened this issue Sep 6, 2022 · 0 comments · Fixed by #5801
Closed
2 tasks done

[Improve][TubeMQ]Optimize the implementation of ConsumerEvent.toStrBuilder() #5795

gosonzhang opened this issue Sep 6, 2022 · 0 comments · Fixed by #5801
Assignees
Milestone

Comments

@gosonzhang
Copy link
Contributor

Description

At present, in the log output[1], each SubscribeInfo object has some information items, for example consumerId, group [2], we can extract the duplicate content and print different content only in ConsumerEvent.toStrBuilder() to reduce the duplicate content of the log output:

  1. https://github.com/apache/inlong/blob/master/inlong-tubemq/tubemq-core/src/main/java/org/apache/inlong/tubemq/corebase/balance/ConsumerEvent.java#L78
    image

  2. https://github.com/apache/inlong/blob/master/inlong-tubemq/tubemq-core/src/main/java/org/apache/inlong/tubemq/corebase/cluster/SubscribeInfo.java#L108
    企业微信截图_16624473494934

InLong Component

InLong TubeMQ

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

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

Successfully merging a pull request may close this issue.

2 participants