Kora Grpc Client

Outbound gRPC clients in Kora 2.0 — io.koraframework:grpc-client and GrpcClientModule (io.koraframework.grpc.client). The kora-app processor/KSP extension makes protoc-generated *BlockingStub / *FutureStub / *Stub (and Kotlin *CoroutineStub) injectable by type, backed by a ManagedChannelLifecycle configured under grpcClient.<protoServiceName>. Covers url/timeout/keepAliveTime/keepAliveTimeout/loadBalancingPolicy/defaultServiceConfig, telemetry defaults (logging=false, metrics=false, tracing=true), io.grpc.ClientInterceptor collected with @Tag(<Service>Grpc.class), ChannelCredentials and Configurer<ManagedChannelBuilder> extension points, metadata auth, unary and streaming calls, and pinning grpc-java 1.83.1 / protoc 3.25.3 / protobuf plugin 0.10.0 against AbstractMethodError buildClientTransportServers. Use when wiring an outbound gRPC call, injecting a generated stub, adding an authorization metadata header, or debugging a missing-stub graph error.

kora-projects 3ec4c8b 25 files · 136.9 KB Updated

File contents

kora-projects/kora-skills/tree/main/plugins/kora-v2/skills/kora-grpc-client commit 3ec4c8b0b4

Frequently asked questions

npx skillmds@latest add kora-projects/kora-grpc-client-2