https://github.com/arbitroy/grpc_fall
https://github.com/arbitroy/grpc_fall
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/arbitroy/grpc_fall
- Owner: arbitroy
- Created: 2023-10-04T18:33:42.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-10-06T09:10:51.000Z (over 2 years ago)
- Last Synced: 2025-04-05T12:11:16.225Z (about 1 year ago)
- Language: Java
- Size: 1.03 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GRPC Services and Registry
The following folder contains a Registry.jar which includes a Registering service where Nodes can register to allow clients to find them and use their implemented GRPC services.
Some more detailed explanations will follow and please also check the build.gradle file
Before starting do a "gradle generateProto".
### gradle runRegistryServer
Will run the Registry node on localhost (arguments are possible see gradle). This node will run and allows nodes to register themselves.
The Server allows Protobuf, JSON and gRPC. We will only be using gRPC
### gradle runNode
Will run a node with an Echo and Joke service. The node registers itself on the Registry. You can change the host and port the node runs on and this will register accordingly with the Registry
### gradle runClient
Will run a client which will call the services from the node, it talks to the node directly not through the registry. At the end the client does some calls to the Registry to pull the services, this will be needed later.
### gradle runDiscovery
Will create a couple of threads with each running a node with services in JSON and Protobuf. This is just an example and not needed for assignment 6.
### gradle testProtobufRegistration
Registers the protobuf nodes from runDiscovery and do some calls.
### gradle testJSONRegistration
Registers the json nodes from runDiscovery and do some calls.