You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With current version it is impossible to differentiate between simple and multipart messages.
One way to do that is to treat all messages as multipart: simple being multipart with only one part. Source[ByteString] → Source[org.zeromq.ZMsg]
Or introduce own message type ZMQMessage:
sealed trait ZMQMessage
case class SimpleZMQMessage(bytes: ByteString) extends ZMQMessage
case class MultipartZMQMessage(parts: Seq[ByteString]) extends ZMQMessage
And use Source[ZMQMessage]
The text was updated successfully, but these errors were encountered:
With current version it is impossible to differentiate between simple and multipart messages.
One way to do that is to treat all messages as multipart: simple being multipart with only one part.
Source[ByteString]
→Source[org.zeromq.ZMsg]
Or introduce own message type
ZMQMessage
:And use
Source[ZMQMessage]
The text was updated successfully, but these errors were encountered: