sjwiesman commented on a change in pull request #265:
URL: https://github.com/apache/flink-statefun/pull/265#discussion_r701200035
##########
File path: statefun-sdk-go/v3/pkg/statefun/egress.go
##########
@@ -78,7 +78,7 @@ func (k KafkaEgressBuilder) toEgressMessage()
(*protocol.FromFunction_EgressMess
} else {
switch value := k.Value.(type) {
case string:
- _ = StringType.Serialize(&buffer, value)
+ buffer.WriteString(value)
Review comment:
You are correct, I added an explicit check that the string is valid utf-8
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]