Skip to content
This repository was archived by the owner on Mar 16, 2022. It is now read-only.

Update Akka gRPC to 0.8.0 #211

Merged
merged 7 commits into from
Apr 30, 2020
Merged

Conversation

viktorklang
Copy link
Contributor

Unfortunately running into akka/akka-grpc#628 now

val responseCodec = Codecs.negotiate(req)
val responseWriter = GrpcProtocolNative.newWriter(Codecs.negotiate(req))
val reader = GrpcProtocolNative.newReader(
Codecs.detect(req).getOrElse(throw new IllegalArgumentException(s"Unknown codec"))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@raboof Did you intend to include the actual codec in the exception message?

Grpc.encodeFrame(Grpc.notCompressed, ByteString.fromArrayUnsafe(message.toByteArray))
Source.single(
GrpcProtocolNative
.newWriter(Identity)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How expensive are these new methods/API?

raboof added 4 commits April 30, 2020 08:41
Unfortunately running into akka/akka-grpc#628 now
To a version that has akka/akka-grpc#943 to fix
compilation errors. Compile/test now works, but assembly still has problems,
and the PR needs a rebase.
Reflection is provided by akka-grpc. Perhaps we'd like to make the .proto
available here for some reason, but we shouldn't generate code for it.
@raboof
Copy link
Contributor

raboof commented Apr 30, 2020

This is green on travis now, depending on a published post-0.8.4 Akka gRPC snapshot.

@viktorklang
Copy link
Contributor Author

Thanks @raboof!

@viktorklang viktorklang merged commit baa43a8 into cloudstateio:master Apr 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants