Skip to content

Commit

Permalink
Merge pull request #22 from Nasdaq/print_fix
Browse files Browse the repository at this point in the history
update print statements
  • Loading branch information
leoros authored Oct 5, 2021
2 parents 13eeedf + 31d0071 commit 076227f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ncdssdk_client/src/main/python/ncdsclient/NCDSSession.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def cont_stream_cmd(self):
if message is None:
print(f"No Records Found for the Topic: {self.topic}")
else:
print(f"value :" + message.value())
print(f"value :" + str(message.value()))
consumer.commit(message=message, asynchronous=True)

except KafkaException as e:
Expand Down Expand Up @@ -179,7 +179,7 @@ def filter_stream_cmd(self):
f"{symbol}, msg_name: {msg_name}")
if (not self.symbols or symbol in symbol_set) and (
not self.msgnames or msg_name in msgname_set):
print(message.value())
print(str(message.value()))

except KeyError:
pass
Expand Down

0 comments on commit 076227f

Please sign in to comment.