BewareMyPower edited a comment on issue #12087: URL: https://github.com/apache/pulsar/issues/12087#issuecomment-925832435
@eolivelli See this commit: https://github.com/BewareMyPower/pulsar/commit/e51486357e42af73a70a5ea697e64c67914f9922 - `DefaultPayloadConverter` is an implementation for the default case. It uses `newSingleMessage` to create each single message of a batch. - The actual implementation is in `ConsumerImpl#newSingleMessage`, which is simply called in `MessageContextImpl#newSingleMessage`. - See the removed code in `ConsumerImpl#messageReceived` for comparison. BTW, I'm working on the tests now, it will have more examples for the converter. -- 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]
