Closed Fristi closed 5 months ago
Server is running on port 9000. Press Ctrl-C to stop.
And it's gone Process finished with exit code 0
Process finished with exit code 0
Running on a Macbook M1 .. where fs2-grpc worked fine
build.sbt
val grpcVersion = "1.53.0" lazy val protobuf = project .in(file("protobuf")) .settings( Compile / PB.targets := Seq( scalapb.gen(grpc = true) -> (Compile / sourceManaged).value / "scalapb", scalapb.zio_grpc.ZioCodeGenerator -> (Compile / sourceManaged).value / "scalapb" ), scalaVersion := "2.13.13", libraryDependencies ++= Seq( "io.grpc" % "grpc-netty" % grpcVersion, "com.thesamet.scalapb" %%% "scalapb-runtime" % scalapb.compiler.Version.scalapbVersion % "protobuf", "com.thesamet.scalapb" %%% "scalapb-runtime-grpc" % scalapb.compiler.Version.scalapbVersion, "io.scalaland" %% "chimney" % "0.8.5", "io.scalaland" %% "chimney-protobufs" % "0.8.5" ) ) lazy val client = project .in(file("client")) .dependsOn(protobuf) .settings( scalaVersion := "2.13.13", libraryDependencies ++= Seq( "dev.zio" %% "zio" % "2.0.11", "dev.zio" %% "zio-test" % "2.0.11" % Test, "io.grpc" % "grpc-netty" % grpcVersion ) ) lazy val server = project .in(file("server")) .dependsOn(protobuf) .settings( scalaVersion := "2.13.13", libraryDependencies ++= Seq( "dev.zio" %% "zio" % "2.0.11", "dev.zio" %% "zio-test" % "2.0.11" % Test, "io.grpc" % "grpc-netty" % grpcVersion ) )
plugins.sbt
addSbtPlugin("com.thesamet" % "sbt-protoc" % "1.0.6") val zioGrpcVersion = "0.6.1" libraryDependencies ++= Seq( "com.thesamet.scalapb.zio-grpc" %% "zio-grpc-codegen" % zioGrpcVersion, "com.thesamet.scalapb" %% "compilerplugin" % "0.11.7" )
Upgraded grpc-netty to 1.62.2 which fixed the issue
grpc-netty
And it's gone
Process finished with exit code 0
Running on a Macbook M1 .. where fs2-grpc worked fine
build.sbt
plugins.sbt