News for hackers. Stuff that matters.
Re:AsyncAPI – OpenAPI-like specification for event-driven ar... by ronmex on Monday March 30, 2020 @01:48PM (#22730298)
I'm surprised many people don't understand your comment - I had the same thoughts. gRPC provides a very nice way to describe event driven microservices using their "stream" keyword. It allows the implementation to be async, blocking, or future based. You get access to a very rich ecosystem such as bazel's grpc \ proto rules, junit rules, grpc-web for streaming to the browser, out of the box support from istio / envoy, etc.
Re:AsyncAPI – OpenAPI-like specification for event-driven ar... by fmvilas on Monday March 30, 2020 @01:58PM (#22730416)
You're right. My fault here. It should actually be possible to define a gRPC streaming API (never tried). The only missing thing for me is the protobuf compatibility though.