For easier extendability I think Put message should have signature like:
PutMessage(ctx context.Context, message pubsub.ProducerMessage) error {
With current implementation wrapping this method with per request or per action behaviors is imposible. Consumer does use context.
For easier extendability I think Put message should have signature like:
With current implementation wrapping this method with per request or per action behaviors is imposible. Consumer does use context.