Skip to content

Commit

Permalink
add pekko-grpc link (#1587)
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k authored Oct 5, 2023
1 parent 79b727b commit 9089c7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/src/main/markdown/grpc.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ There are additional gRPC libraries built on top of ScalaPB that provide integra
servers and clients using ZIO.
* [fs2-grpc](https://github.com/typelevel/fs2-grpc) provides gGRPC support for FS2 and Cats Effect.
* [Akka gRPC](https://doc.akka.io/docs/akka-grpc/current/index.html) provides support for building streaming gRPC servers and clients on top of Akka Streams and Akka HTTP.
* [Pekko gRPC](https://pekko.apache.org/docs/pekko-grpc/current/) provides support for building streaming gRPC servers and clients on top of Pekko Streams and Pekko HTTP.
* [http4s-grpc](https://github.com/davenverse/http4s-grpc) enables you to build gRPC clients and servers with Cats Effect and FS2. It is implemented on top of http4s Ember and runs on JVM, Node.js, and Scala Native.

## Project Setup
Expand Down
2 changes: 1 addition & 1 deletion docs/src/main/markdown/writing-plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ A protoc plugin is a program that gets invoked by protoc (the protobuf compiler)

## When to write a protoc plugin?

Generally, write a protoc plugin whenever you want to generate code that corresponds to the structure of protobufs. For example, ScalaPB’s code protoc plugin generates case classes for each protobuf message. The protoc plugins shipped with [akka-grpc](https://doc.akka.io/docs/akka-grpc/current/), [fs2-grpc](https://github.com/typelevel/fs2-grpc) and [zio-grpc](https://scalapb.github.io/zio-grpc/) generate Scala traits with methods that correspond to protobuf service methods.
Generally, write a protoc plugin whenever you want to generate code that corresponds to the structure of protobufs. For example, ScalaPB’s code protoc plugin generates case classes for each protobuf message. The protoc plugins shipped with [akka-grpc](https://doc.akka.io/docs/akka-grpc/current/), [pekko-grpc](https://pekko.apache.org/docs/pekko-grpc/current/), [fs2-grpc](https://github.com/typelevel/fs2-grpc) and [zio-grpc](https://scalapb.github.io/zio-grpc/) generate Scala traits with methods that correspond to protobuf service methods.

Plugins can also be used to generate code that validates messages (see [scalapb-validate](https://github.com/scalapb/scalapb-validate)), or convert protobufs to a different format.

Expand Down

0 comments on commit 9089c7a

Please sign in to comment.