I would like to know more details about grpc and k...
# ktor
j
I would like to know more details about grpc and ktor. Does it plan to add some integration with protocol buffers too?
e
@Alexander Sysoev could you please take a look?
a
What do you mean by "integration with protocol buffers"? Currently we only have a prototype and we still need to evaluate how to provide a proper integration with ktor. What I can tell, is that we plan gRPC intergration to be multiplatform, both client and server, though platforms may be added one by one, starting with jvm
j
Currently there are two main repositories to work with gRPC in Kotlin. The official one which provides support to codegen client and server code with protocol buffers. But only in JVM wire from Square which works in KMP (at least the client). Will ktor (with the gradle plugin or something so) provide an integration to get a project working easily with gRPC + protocol buffers?
a
Yeah, sure, in provided integration we will have our own proto compiler, similar to how those two have it, but better suited specifically for Kotlin
j
That is really nice 👍 Thank you for the info :)
👍 1
r
That sounds great, will it be possible to use that complier independently from a ktor client/server?
j
Is there any public repo/branch to follow the development?
a
@rnett yes, though I don't have any details on how it will be done exactly @Javier not now, but we plan to make it public as soon as possible
j
Will the compiler work with K2/FIR to generate everything in real time without running any assemble/ksp task? I think FIR does not support this use case, but it should be great if this limitation was lifted
👍 1
a
We are considering such possibility, but I can not say for sure, if or when it will be implemented
👍 2