Draft: package: Remove grpc middleware v1 messageproducer
Upgrade github.com/grpc-ecosystem/go-grpc-middleware
to v2. As github.com/grpc-ecosystem/go-grpc-middleware
v2 is published, our bot tries to update it automatically, but it failed.
This MR is one of a series of MRs that tries to upgrade github.com/grpc-ecosystem/go-grpc-middleware to v2.
In this MR, we removed grpc middleware v1's MessageProducer
type; changed our logger interface to get rid of MessageProducer
.
Closes #5661
Edited by Eric Ju