-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
examples: GRPC Examples documentation and Consistency on directory structure changes #11676
base: master
Are you sure you want to change the base?
examples: GRPC Examples documentation and Consistency on directory structure changes #11676
Conversation
|
||
- [Load Balance](src/main/java/io/grpc/examples/loadbalance) | ||
|
||
- [Multiplex](src/main/java/io/grpc/examples/multiplex) |
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.
Should we add a paragraph of explanation for non-trivial examples? As done for Retrying, Health Service, etc.
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 sure on this part as this is an existing one and can see the paragraph of explanation for only 3 examples not for all which are existing previously (except the newly added changes).
I can also see some doc comments in the implementation classes are giving some of the details.
@@ -135,6 +136,24 @@ before trying out the examples. | |||
|
|||
- [Keep Alive](src/main/java/io/grpc/examples/keepalive) |
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.
It is not clear to me which part of Sanjay Pujare's concerns this PR addresses.
"each example should have a README file which a user can read to understand the example." I don't find this done, for example there is no README for the subdirectories in https://github.com/grpc/grpc-java/tree/master/examples/src/main/java/io/grpc/examples.
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.
@kannanjgithub @shivaspeaks There is a common README file for all the examples (which are inside the path https://github.com/grpc/grpc-java/tree/master/examples/src/main/java/io/grpc/examples) as mentioned in the below link and updated some of the missing ones with recent changes as part of this PR.
Common README link in grpc-java - https://github.com/grpc/grpc-java/blob/master/examples/README.md
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.
The issue mentions "each example should have a README file which a user can read to understand the example." Merely enumerating the examples in the sub-directories to the parent README does not do that.
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.
I can see there are 21 examples, working on this comment and its in progress
Changes for GRPC Examples documentation and Consistency on Directory Structure
Fixes #5467