merlimat commented on a change in pull request #3904: [go schema] support go
schema for pulsar-client-go
URL: https://github.com/apache/pulsar/pull/3904#discussion_r277128960
##########
File path: pulsar-client-go/pulsar/message.go
##########
@@ -66,6 +69,9 @@ type Message interface {
// Get the key of the message, if any
Key() string
+
+ //Get the de-serialized value of the message, according the configured
+ GetValue(v interface{}) error
Review comment:
Shouldn't this be something like `Value() (interface{}, error)`?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services