-
Notifications
You must be signed in to change notification settings - Fork 67
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
Hyperbahn client #87
Hyperbahn client #87
Conversation
logger.error(service + " failed to advertise. " + ex.getMessage()); | ||
} | ||
} | ||
}, advertiseInterval); |
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.
Wasn't the requirement to not have a fixed advertiseInterval and change the internval depending if the advertise response is a success or a failure ?
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.
AdvertiseInterval is fixed (1 min). Only retry on failure should back off.
We don't really have retry on failure yet ...
lgtm |
Implement very basic HyperbahnClient. Fix bug in MessageFragmenter where we weren't writing out the TTL from the Outbound Request. Add a basic hyperbahn example to tchannel-example. Add back loading routers from disk Fix null header bug! Cleanup timeouts Fix naming of request handlers in tchannel-example *somebody* was overly aggressive with their class refactoring :) Rebase on master. Tests may fail due to missing hosts file
fix the review comments
975ba5a
to
5e88331
Compare
@truncs Need to move forward to unblock others. Feel free to create issues on me for improvements. I will be happy to fix them along the way. |
r @willsalz @truncs @anson627 @junchaoWu
In this PR, tchannel-java can advertise to Hyperbahn and serve requests.
Next steps: