-
Notifications
You must be signed in to change notification settings - Fork 639
[ISSUE #4763] Do some code optimization.[EventMeshCommon] #4764
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
base: master
Are you sure you want to change the base?
Conversation
…eadUtils] (apache#4297) * Update ThreadUtils.java * Update ThreadUtils.java
…ectors] (apache#4314) * [ISSUE apache#4266]: Retore interrupted state for interrupted exception in open function sinc connector * [ISSUE apache#4266]: Retore interrupted state for interrupted exception in open function source connector * [ISSUE apache#4266]: Retore interrupted state for interrupted exception in RocketMQSink connector
…pache#4315) * [ISSUE apache#4093]: Refactor package building chunks to reusable method * [ISSUE apache#4093]: Refactor user agent building chunks to reusable method
…aced with lambda[HelloTask] (apache#4316) * [4260] Fixed: Anonymous new ChannelFutureListener() can be replaced with lambda[HelloTask] * Upgraded: First Interaction Action Version to Latest * [4260] Removed: Unused Import * Update package import order in HelloTask.java --------- Co-authored-by: mike_xwm <[email protected]>
* fix: add cloudEventCodec for redis connector. * fix: add cloudEventCodec for redis connector. * fix import order. * fix: add doc. * fix: adjust cloudevent encode and decode.
…-offsetStorage
…che#4337) * issue-4262 Enhancement Request EventMeshCloudEventUtils * issue-4262 Enhancement Request EventMeshCloudEventUtils move on top method getValue * issue-4262 Enhancement Request EventMeshCloudEventUtils remove redundant else for Optional.of --------- Co-authored-by: maxim.zgardan <[email protected]>
[ISSUE apache#4328] Add offsetManagement Service for connectors
[ISSUE apache#4268] Used switch to replace the if-else [CloudEventsProtocolAdaptor]
[ISSUE apache#4283] Add event-bridge example
… test coverage rate (apache#4340) * issues apache#4264 commit * unit * issues apache#4339 unit test coverage * issues apache#4339 WebhookProtocolTransportObjectTest fix * issues apache#4339 WebhookProtocolTransportObjectTest fix * issues apache#4339 WebhookProtocolTransportObjectTest fix * issues apache#4339 WebhookProtocolTransportObjectTest fix * issues apache#4339 check style * issues apache#4339 new instance replace builder. * issues apache#4339 WebhookProtocolTransportObjectTest unit test. * issues apache#4339 check style. * issues apache#4339 check style. * issues apache#4339 check style. * fixed. * fixed. * fixed. * fixed. * fixed. * delete java bean unit test. * fix build error.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #4764 +/- ##
============================================
- Coverage 16.93% 16.37% -0.56%
- Complexity 1413 1734 +321
============================================
Files 589 856 +267
Lines 25786 31266 +5480
Branches 2397 2700 +303
============================================
+ Hits 4367 5121 +754
- Misses 20983 25665 +4682
- Partials 436 480 +44 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…y server (apache#4739) * fix 4738 * fix some bug * fix bug * remove initProducerManager from AbstractRemotingServer init * bug fix * bug fix * some enhance * some enhance * add admin bootstrap * some enhance * remove HttpHandlerManager and ClientManageController. * modify some unit test * add admin http handlermanager
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not all members in the EventMeshCommon
class are shared across the entire project. Some members are used in the client.tcp
package, while others are used in both the sdk module and the client
package.
Therefore, it is not a good idea to directly move the EventMeshCommon
class, which originally belongs to the client.tcp
package, to the common
module. It requires a more detailed and clear separation to unify all related usages.
…_patch_4763 * 'fix_patch_4763' of github.com:scwlkq/eventmesh: move EventMeshCommon class to common module
Is there any obstacles in this PR? |
Closed because I thought the issue was meaningless hahaha. |
eventmesh-common/src/main/java/org/apache/eventmesh/common/EventMeshCommon.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EventMeshCommon
class is designed to store constants of EventMesh SDK. It should be kept in org.apache.eventmesh.client
package although it is referenced by other protocols.
It has been 60 days since the last activity on this pull request. I am reaching out here to gently remind you that the Apache EventMesh community values every pull request, and please feel free to get in touch with the reviewers at any time. They are available to assist you in advancing the progress of your pull request and offering the latest feedback. If you encounter any challenges during development, seeking support within the community is encouraged. We sincerely appreciate your contributions to Apache EventMesh. |
It has been 60 days since the last activity on this pull request. I am reaching out here to gently remind you that the Apache EventMesh community values every pull request, and please feel free to get in touch with the reviewers at any time. They are available to assist you in advancing the progress of your pull request and offering the latest feedback. If you encounter any challenges during development, seeking support within the community is encouraged. We sincerely appreciate your contributions to Apache EventMesh. |
It has been 60 days since the last activity on this pull request. I am reaching out here to gently remind you that the Apache EventMesh community values every pull request, and please feel free to get in touch with the reviewers at any time. They are available to assist you in advancing the progress of your pull request and offering the latest feedback. If you encounter any challenges during development, seeking support within the community is encouraged. We sincerely appreciate your contributions to Apache EventMesh. |
It has been 60 days since the last activity on this pull request. I am reaching out here to gently remind you that the Apache EventMesh community values every pull request, and please feel free to get in touch with the reviewers at any time. They are available to assist you in advancing the progress of your pull request and offering the latest feedback. If you encounter any challenges during development, seeking support within the community is encouraged. We sincerely appreciate your contributions to Apache EventMesh. |
Fixes #4763
Motivation
move EventMeshCommon class to Common module.
Modifications
Documentation