-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Shippingservice rust #179
Shippingservice rust #179
Conversation
c43d0e4
to
cea1c80
Compare
I'm aware that |
tl;dr, it generates code in the same directory as the target executables -- and the filenames are pseudo-random. if we could generate protos to some directory instead, that would be great -- but as I understand that's functionally similar to what |
To generate files in the Dockerfile as other services currently do, the build context .can be set in the |
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.
LGTM overall, thanks for doing this!!
Did as thorough of a review as I could without knowing Rust, mostly just had some comments about the protocol buffers which I'd be happy to have addressed in a follow up PR
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.
Added some comments, but the main blocker for me is the Context Propagation.
When running this version I just got a single orphan span for the shipping service.
@mic-max Re: Docker and protos: I assumed that the dockerfile should work without the docker-compose -- but it seems like the
We are using a multi-stage dockerfile -- I think the main issue here is that editing the code and actually running it without the protos in a place was a brain block for me -- I can use a solution as stated above |
noting that I've included a change in the next commit that updates |
@TommyCpp I used your sample (thanks!) for context propagation, I think I'm still missing something sending events over.. would really appreciate a wise set of eyes on if I'm doing this right :) |
@GaryPWhite I've played around a bit with and got the Context Propagation working: I'm adding the changes that I've done in the code review. |
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.
Suggested changes on main .rs
are for the Context Propagation.
Suggested changes on shipping_service.rs
are to make the events to work.
Sorry didn't get a chance to take a look at it during the day. But I think @julianocosta89 is right on point 😃
|
Co-authored-by: Juliano Costa <julianocosta89@outlook.com>
thanks Julian! Co-authored-by: Juliano Costa <julianocosta89@outlook.com>
Co-authored-by: Juliano Costa <julianocosta89@outlook.com>
@GaryPWhite it seems that some files that were deleted previously got back in your last commit. |
@julianocosta89 hey wait -- which files are we talking about here? I don't know which ones I put in 😅 |
And I also saw that some items that you had resolved before were back. |
Looks like I'm seeing stuff 👀 |
@GaryPWhite yeah... The |
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.
LGTM 🚀 !
Thank you very much for the contribution @GaryPWhite ! And thanks @TommyCpp for helping us out 😍 in the troubleshooting! |
Nice work and thanks for making this happens! @GaryPWhite |
woohoo! Just need someone with permission to merge and we're officially in rust! Thanks for all the help everyone :) |
Could you update your branch? then I'll merge |
@GaryPWhite looks like there are some merge conflicts there. I think after that we are good to merge it! |
agh -- sorry for the delay! Fixed the conflict, should be good to go now! |
* functional 0.0.1 rust shipping service Co-authored-by: Juliano Costa <julianocosta89@outlook.com>
Fixes #35
Changes
remove golang implementation of shippingservice, written in rust now.
For significant contributions please make sure you have completed the following items:
CHANGELOG.md
updated for non-trivial changes