grpc / grpc/grpc-java

Context in its own package?

Open
#2,847 6 comments 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
12.1k
Forks
4k
Avg merge
2d 17h
Merged PRs (30d)
37

Description

Although `io.grpc.Context` is shipped in its own artifact, and non-gRPC users can also depend on it, the package name still causes branding issue (google/instrumentation-java/issues/162), and a practical issue with OSGI (#2727). We may consider moving it into its own package and splitting it completely from gRPC.

We have two questions to answer:
1. What should the new package name be? Probably something starting with `com.google`, but probably not `com.google.common.context` because it collides with a Google's proprietary context class.
2. How to bridge the old `Context` and `Deadline` to the new ones.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.