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

[Enhancement] General code simplification #3855

Open
2 tasks done
pandaapo opened this issue May 1, 2023 · 1 comment · May be fixed by #3856
Open
2 tasks done

[Enhancement] General code simplification #3855

pandaapo opened this issue May 1, 2023 · 1 comment · May be fixed by #3856
Labels
enhancement New feature or request Stale

Comments

@pandaapo
Copy link
Member

pandaapo commented May 1, 2023

Search before asking

  • I had searched in the issues and found no similar issues.

Enhancement Request

org/apache/eventmesh/common/EventMeshThreadFactory.java, ThreadPoolFactory.java
org/apache/eventmesh/common/protocol/grpc/common/BatchMessageWrapper.java, SimpleMessageWrapper.java
org/apache/eventmesh/common/protocol/http/HttpCommand.java, HttpEventWrapper.java
org/apache/eventmesh/common/protocol/tcp/Package.java


Use lombok simplify class def.

Extract the same code logic.

Remove unnecessary modifier in ThreadPoolFactory.

Use Maps.newHashMap to simplify init a map.

Describe the solution you'd like

Use lombok simplify class def.

Extract the same code logic.

Remove unnecessary modifier in ThreadPoolFactory.

Use Maps.newHashMap to simplify init a map.

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@pandaapo pandaapo added the enhancement New feature or request label May 1, 2023
@pandaapo pandaapo linked a pull request May 1, 2023 that will close this issue
@Pil0tXia Pil0tXia added good first issue Issues for first-time contributors and removed good first issue Issues for first-time contributors labels Jan 19, 2024
Copy link
Contributor

It has been 90 days since the last activity on this issue. Apache EventMesh values the voices of the community. Please don't hesitate to share your latest insights on this matter at any time, as the community is more than willing to engage in discussions regarding the development and optimization directions of this feature.

If you feel that your issue has been resolved, please feel free to close it. Should you have any additional information to share, you are welcome to reopen this issue.

@github-actions github-actions bot added the Stale label Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Stale
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants