-
Notifications
You must be signed in to change notification settings - Fork 641
[ISSUE #3485]Optimize Grpc protocol for Java #3746
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
Conversation
|
@xwm1992 PTAL! |
b3dee43 to
82800b0
Compare
| .addService(new ProducerService(this, sendMsgExecutor)) | ||
| .addService(new ConsumerService(this, clientMgmtExecutor, replyMsgExecutor)) | ||
| .addService(new HeartbeatService(this, clientMgmtExecutor)) | ||
| .addService(new PublisherService(this, clientMgmtExecutor)) |
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.
why publisherService use the clientMgmtExecutor?
| import lombok.extern.slf4j.Slf4j; | ||
|
|
||
| @Slf4j | ||
| public abstract class AbstructPublishBatchCloudEventProcessor implements PublishProcessor<CloudEventBatch, CloudEvent> { |
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.
Class Name Abstruct -> Abstract
|
@mxsm please solve the conflicts. |
|
@xwm1992 I will fix it later |
3c34547 to
e8116f2
Compare
|
@xwm1992 I have removed the useless class. |
Codecov Report
@@ Coverage Diff @@
## master #3746 +/- ##
============================================
+ Coverage 14.29% 16.91% +2.61%
- Complexity 1326 1410 +84
============================================
Files 581 588 +7
Lines 28667 25743 -2924
Branches 2793 2376 -417
============================================
+ Hits 4099 4355 +256
+ Misses 24180 20954 -3226
- Partials 388 434 +46
... and 7 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
* add cloudevent proto file * generate cloudevents java class * develop cloudevents for sdk * upgrade cloudevents version to 2.4.2 * develop cloudevents for runtime module * add test case * fix test case * fix test case * optimize logic * remove custom simplemessage class
* add cloudevent proto file * generate cloudevents java class * develop cloudevents for sdk * upgrade cloudevents version to 2.4.2 * develop cloudevents for runtime module * add test case * fix test case * fix test case * optimize logic * remove custom simplemessage class
Fixes #3485
Motivation
Explain the content here.
Explain why you want to make the changes and what problem you're trying to solve.
Modifications
Describe the modifications you've done.
Added EventMesh's CloudEvents protocol to replace the SimpleMessage protocol.
The SimpleMessage protocol is temporarily not removed and the code is still present in the project. It will be removed in the future.
The protocol has been replaced in the SDK and runtime modules.
Documentation