Stumbled upon this question while I was searching for the same. RabbitMQ allows you to set the user-id property which it validates and passes down as a header to the consumer: https://www.rabbitmq.com/docs/validated-user-id