2 ms·
The header is fixed as konig-kontext-grpc-context [1]. Does that mean that you can only propagate one gRPC context object? Would it be possible to specify your
by no_circuit 3y ago
The header is fixed as konig-kontext-grpc-context [1]. Does that mean that you can only propagate one gRPC context object? Would it be possible to specify your own header string for the key, and have the interceptors support multiple keys? That sounds safer since the header name could both imply both the serialization and content-type, and Protobuf type_uri, etc. And sounds more useful since developers wouldn't need a catch-all type.
[1] https://github.com/konigsoftware/konig-kontext/blob/84faa627f43445c7a3e0cad8b96f1fb768eac0ad/lib/src/main/kotlin/com/konigsoftware/kontext/KonigKontextKey.kt#L12 https://github.com/konigsoftware/konig-kontext/blob/84faa627...
- reidbuzby 3y agoSupport for multiple keys is in the works! See this issue for updates: https://github.com/konigsoftware/konig-kontext/issues/8 https://github.com/konigsoftware/konig-kontext/issues/8