grpc / grpc/grpc-java

Context in its own package?

Aperta
#2,847 6 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
12.1k
Fork
4k
Merge medio
2g 17h
PR unite (30g)
37

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.