cckellogg commented on a change in pull request #648:
URL: https://github.com/apache/pulsar-client-go/pull/648#discussion_r738543329



##########
File path: pulsar/producer_partition.go
##########
@@ -60,13 +60,16 @@ var (
 )
 
 var errTopicNotFount = "TopicNotFound"
+var errMetadata = "MetadataError"
+
 
 type partitionProducer struct {
        state  ua.Int32
        client *client
        topic  string
        log    log.Logger
        cnx    internal.Connection
+       err    error

Review comment:
       Can you provide some examples on the use case and or what the business 
logic will do with these errors? I'm just trying to understand better. Also, I 
think this should not be part of the 0.7.0 release so we can think about it 
more. If we are going to bubble some more errors up we should come up with a 
good api.




-- 
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]


Reply via email to