improve stringency of MessageQueueingResultHandlerTest
improve logging of messages received
encode message entity ids
Merge branch 'kafka' into stage

* kafka:
  encode message entity ids
  improve logging of messages received
  improve stringency of MessageQueueingResultHandlerTest