Minor producer bug fix 66/5766/1
authorHelena McGough <helena.mcgough@intel.com>
Thu, 7 Dec 2017 08:18:33 +0000 (08:18 +0000)
committerHelena McGough <helena.mcgough@intel.com>
Thu, 7 Dec 2017 08:18:33 +0000 (08:18 +0000)
Change-Id: I09aa020a5e257fe68eb222f61862260d48f191e3
Signed-off-by: Helena McGough <helena.mcgough@intel.com>
osm_mon/core/message_bus/producer.py

index bccdd4c..85b608a 100755 (executable)
@@ -57,7 +57,7 @@ class KafkaProducer(object):
 
         self.producer = kaf(
             key_serializer=str.encode,
-            value_serializer=lambda v: json.dumps(v).str.encode,
+            value_serializer=str.encode,
             bootstrap_servers=broker, api_version=(0, 10))
 
     def publish(self, key, value, topic=None):