eolivelli commented on PR #16215: URL: https://github.com/apache/pulsar/pull/16215#issuecomment-1230185156
I think that it is a bug in the GO client. The metadata of each message can be different from the first message. If you add these values on the main header, in any case, they cannot be used by anyone. Because the broker cannot know about the behaviour of the client. In the broker you cannot know if the message was produced by a client who copies the metadata, so in any case you MUST unpack all the messages. Why don't you implement this feature (that I guess is for some specific usecase) with a Interceptor ? -- 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]
