Registry / networking / grpc-context

grpc-context

JSON →
library1.80.0javamavenunverified

Provides a context propagation mechanism for gRPC, enabling scoped variables across asynchronous boundaries.

<dependency> <groupId>io.grpc</groupId> <artifactId>grpc-context</artifactId> <version>1.80.0</version> </dependency>
INSTALL
IMPORT
SIG · GRPC-CONTEXT
G
grpc-context
networkingjavav1.80.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.

Context
io.grpc.Context

Create and use a gRPC Context with a custom key.

import io.grpc.Context; public class Example { public static void main(String[] args) { Context.Key<String> USER_ID = Context.key("userId"); Context ctx = Context.current().withValue(USER_ID, "user123"); ctx.run(() -> { System.out.println("User: " + USER_ID.get()); }); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.80.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
grpc-context — mvn dependency:get grpc-context · libregistry