How to send string as protocol buffer message? I want to do the following:
Message message1 = "some string"
ByteString data1 = (message1).toByteString();
System.out.println(String.format("Publishing [%s] on subject [%s]", message1, subject));
streamHandler1.publish(subject, data1);