Commit cc3291ce authored by Patrick Godwin's avatar Patrick Godwin
Browse files return key as str rather than list

parent 2596cffa
Pipeline #165310 passed with stages
in 10 minutes and 24 seconds
......@@ -89,8 +89,8 @@ class Client(object):
for msg in self._consumer.consume(num_messages=max_messages, timeout=timeout):
if msg and not msg.error():
if msg.key():
key = msg.key().decode("utf-8").split(".")
msg_tags = set(key)
key = msg.key().decode("utf-8")
msg_tags = set(key.split("."))
key = None
msg_tags = set()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment