You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As for performance, we are currently relying on the JVM TLS implementation,
which is sufficient for many use cases, but is planned to be replaced with
conscrypt or netty-tcnative.
General overview
gRPC is a schema-first RPC framework, where your protocol is declared in a
protobuf definition, and requests and responses will be streamed over an HTTP/2
connection.
Based on a protobuf service definition, akka-grpc can generate:
Model classes (using plain protoc for Java or scalapb for Scala)
The API (as an interface for Java or a trait for Scala), expressed in Akka Streams Sources
On the server side, code to create an Akka HTTP route based on your implementation of the API
On the client side, a client for the API.
Project structure
The project is split up in a number of subprojects:
codegen: code generation shared among plugins
runtime: run-time utilities used by the generated code
sbt-plugin: the sbt plugin
scalapb-protoc-plugin: the scalapb Scala model code generation packaged as a protoc plugin, to be used from gradle
Additionally, 'plugin-tester-java' and 'plugin-tester-scala' contain an example
project in Java and Scala respectively, with both sbt and Gradle configurations.
License
Akka gRPC is licensed under the Business Source License 1.1, please see the Akka License FAQ.
Tests and documentation are under a separate license, see the LICENSE file in each documentation and test root directory for details.
About
A platform to build and run apps that are elastic, agile, and resilient. SDK, libraries, and hosted environments.