MiddlewarePass that allows registering middleware factories for consumer and producer
update readme