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
{{ message }}
Repository navigation
[Feature Request]: SolaceIO: Support binary content data payload #39875
The Apache Beam Solace SDK currently creates every outgoing message as a JCSMP BytesXMLMessage and writes the record payload with writeBytes(...). This is the historical XML-data behavior.
Solace recommends binary data for new applications. The SDK must also support JCSMP TextMessage and BytesMessage, while preserving existing users' behavior and source compatibility. The same payload model must work for both writing and reading.
Proposed change
Extend Solace.Record with a per-record payload type. Support three payload types:
BYTES_XML: the existing XML-data behavior using BytesXMLMessage and writeBytes(...).
TEXT: a JCSMP TextMessage using setText(...).
BYTES: a JCSMP BytesMessage using setData(...).
BYTES_XML is the default, so existing code continues to produce the same kind of message. The existing byte[] payload field remains the common representation for all three types. The reader detects the concrete JCSMP message type and exposes the matching payload type in the resulting Solace.Record.
Activity
ngibanel commentedon Aug 24, 2026
.take-issue
stankiewicz commentedon Aug 28, 2026
thanks for raising this and picking up the work!