Update Message structure: change Payload type to bytes and add Encoding field

This commit is contained in:
2025-08-09 13:45:45 +00:00
parent 20c1bd1a33
commit d1369643d2
5 changed files with 28 additions and 8 deletions

View File

@@ -45,7 +45,8 @@ func (s *GRPCStreamingServer) ConnectStream(req *pb.ConnectStreamRequest, stream
Provider: msg.Identifier.Provider,
Subject: msg.Identifier.Subject,
},
Payload: fmt.Sprintf("%v", msg.Payload),
Payload: msg.Payload,
Encoding: string(msg.Encoding),
})
if err != nil {