Registry / networking / grpc-kotlin-stub

grpc-kotlin-stub

JSON →
library1.5.0javamavenunverified

Kotlin-based stub library for generating and using gRPC service stubs with coroutine support.

<dependency> <groupId>io.grpc</groupId> <artifactId>grpc-kotlin-stub</artifactId> <version>1.5.0</version> </dependency>
INSTALL
IMPORT
SIG · GRPC-KOTLIN-STUB
G
grpc-kotlin-stub
networkingjavav1.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ManagedChannel
io.grpc.ManagedChannel

Creates a gRPC channel and a coroutine-based stub for a HelloWorld service.

import io.grpc.ManagedChannelBuilder import io.grpc.examples.helloworld.GreeterGrpcKt val channel = ManagedChannelBuilder.forAddress("localhost", 50051).usePlaintext().build() val stub = GreeterGrpcKt.GreeterCoroutineStub(channel)
Debug
Known issues
gotchagRPC Kotlin stubs require Kotlin coroutines and may have compatibility issues with older gRPC versions.
fix
Ensure your project uses Kotlin 1.3+ and compatible gRPC version (1.28+).
affects: <1.5.0
Upgrade
Version history
1.5.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
grpc-kotlin-stub — mvn dependency:get grpc-kotlin-stub · libregistry