NLincoln opened a new pull request #10709:
URL: https://github.com/apache/kafka/pull/10709


   The schema definition for the DescribeProducersRequest see 
[here](https://github.com/apache/kafka/blob/3b6599c600f6e7fbeb000a088591f1cf9aba107d/clients/src/main/resources/common/message/DescribeProducersRequest.json)
 has trailing tokens - specifically, the last two lines in the commit in that 
link.
   
   This does not cause problems for the generator, because Jackson will ignore 
trailing input by default.
   
   However, some JSON parsers cannot be configured to ignore trailing 
characters, and so they fail on that file. This can cause problems for users 
wishing to use the official schema definitions to generate clients in other 
languages.
   
   The fix here is pretty simple - just remove the trailing tokens, and 
optionally configure jackson to fail on trailing tokens. This patch is for the 
former, and I'll be happy to submit a patch that configures jackson so this 
won't happen again :).
   
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


-- 
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:
us...@infra.apache.org


Reply via email to