lhotari opened a new pull request, #19215:
URL: https://github.com/apache/pulsar/pull/19215
### Motivation
- benefits:
- no need to lookup the type when reading happens.
- The type gets fetched from cache once.
- Since a reference is kept, it won't overflow from a busy Jackson
TypeFactory LRU cache.
### Modifications
Replace ObjectMapper usage with ObjectReader in JacksonJsonReader and
JsonReader classes.
### Documentation
<!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
- [ ] `doc` <!-- Your PR contains doc changes. Please attach the local
preview screenshots (run `sh start.sh` at `pulsar/site2/website`) to your PR
description, or else your PR might not get merged. -->
- [ ] `doc-required` <!-- Your PR changes impact docs and you will update
later -->
- [x] `doc-not-needed` <!-- Your PR changes do not impact docs -->
- [ ] `doc-complete` <!-- Docs have been already added -->
--
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]