-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Vert.x Core 3.x Plugin #2386
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
Vert.x Core 3.x Plugin #2386
Conversation
|
I am flighting to SF today. 😄 |
|
@wu-sheng, luck you :P. That's okay though. I'm sure this isn't ready yet. I wanted to ask you if I was doing the Basically, when you send a message through the event bus it could be going to another computer or it could be going to a consumer on the same computer. So there is a chance that it could be a message which is sent on the same-thread, cross-thread, or cross-process. My question is:
Should I have logic like: Currently sending a message always creates an |
This is ideal status, but the more complex scenario is for span. If you call exit span, then the target ip would be required, and shown in topology if no entry span created. Also I doubt you would know when to create exit span or local span for in-process.
This could be an easier way. But I have a question, if you don't know whether this event goes out-of-process or not, how set you set peer? |
|
@wu-sheng, why do you think it will be hard to tell whether or not to make an exit span vs a local span? I'm able to detect whether the message is going over the wire or being routed locally pretty easily. If it's going over the wire I use I'm a bit confused on how I should be handling the local routing scenario. For an example scenario, let's say I have a local message flow of: In this scenario, do I create any entry or exit spans or are they all supposed to be local? Your question about what I set the peer to set me down this path. Technically there wouldn't be a peer here because it's just communicating with itself. So should I just be creating a local spans? If the answer is yes, would the process be:
I think I've got the over the wire scenario covered. It's the simple:
|
If you can detect that, so you should do as you described above. Just remind
My original questions are mostly about when you can't know it is local or remote when span is created. But look like you know. So, you could ignore my questions. |
|
@wu-sheng, I think from adding the witness class there should not be any problems with Vert.x 3.0.0 and 3.1.0. I've also updated the documentation to state that for the eventbus only 3.2+ is supported. I've also split the integration tests so now it tests the web and eventbus separately. The integration tests for the web module are working for all versions in 3.x and eventbus is 3.2+, of course. |
|
Here is the test report and validate logs |
|
Here is the test report and validate logs |
|
Here is the test report and validate logs |
|
Here is the test report and validate logs |
|
@BFergerson The PR includes a comment issue, causing CI fails, please fix. |
|
Here is the test report and validate logs |
|
@ascrutae The test results are good enough. You could review codes. |
|
@BFergerson We finally made this through 28 days. |
Why submit this pull request?
Bug fix
New feature provided
Improve performance
Related issues: Support plugin for Vert.x #2341
New feature or improvement
Basic Vert.x Core 3.x support. This includes support for the event bus and HTTP clients and servers.