add missing outgoing key to ctx for subscribers (#279)
All checks were successful
coverage / build (push) Successful in 1m5s
test / test (push) Successful in 4m52s

This commit is contained in:
2025-06-11 03:22:10 +05:00
committed by GitHub
parent 19a8d7f7b1
commit fc50af50bb

View File

@@ -133,6 +133,7 @@ func (g *Server) createSubHandler(sb *subscriber, opts server.Options) broker.Ha
}
ctx := metadata.NewIncomingContext(sb.opts.Context, hdr)
ctx = metadata.NewOutgoingContext(ctx, metadata.New(0))
results := make(chan error, len(sb.handlers))