This is a demonstration of how to make GRPC calls in Clojure. For now this covers only the most basic use case.
This uses integrant for starting the server.
- Run
gradle build
to generate the java classes from the proto file. - The server is started from the
(go)
indev/clj/user.clj
- Run the client in
client.clj
.
Or
- Run
gradle build
to generate the java classes from the proto file. - Run
clj -T:build uber
to generate the uberjar. - Run
java -cp target/clojure-grpc-test-0.0.3.jar clojure.main -m hello-world.core yourname