在重试 StreamClientInterceptor 中, AttemptMetadataKey 为 "x-retry-attempt"

作者: Boklazhenko创建于 2024年11月21日更新于 2024年11月27日

你好, 是否可以在 StreamClientInterceptor 中添加 AttemptMetadataKey = "x-retry-attempt" https://GitHub.com/grpc-ecosystem/go-grpc-middleware/blob/main/interceptors/retry/retry.go#L22, 就像 UnaryClientInterceptor 中一样呢?

内容来源: grpc-ecosystem/go-grpc-middleware