monasca-common/monasca_common
Witek Bedyk 66754b1a4a Avoid value decoding in Kafka delivery report
In Python 2 Kafka message value gets implicitly converted to unicode in
delivery_report function. In case the message value already contains
unicode characters the convertion fails with UnicodeDecodeError.

This case can be reproduced when trying to run:

  u'goose: {}'.format('gęś')

This commit fixes the debug message and avoids implicit type convertion.

Change-Id: Ia9463cd4e9f92cdf18b092abd2cf676aa4966679
Story: 2006503
Task: 36481
2019-09-12 14:08:12 +02:00
..
2018-09-23 16:41:40 +08:00
2018-04-04 14:39:41 +00:00
2016-06-04 09:22:43 +00:00