GitHub user ntrp opened a pull request: https://github.com/apache/kafka/pull/4277
STRUCT schema equality check failing for complex objects *The schema equality need to be done with the equals method to avoid unwanted side effects. When applied to complex objects with the same schema it was failing.* *To test the faulty behaviour try calling the method on a complex object (at least 3 levels of nesting and array fields with a lot of objects).* ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) You can merge this pull request into a Git repository by running: $ git pull https://github.com/ntrp/kafka trunk Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/4277.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #4277 ---- commit 950f0e426d1927c000f99d0c1c8d40e6b10cabc1 Author: Ivan Greguric Ortolan <ivan.g.orto...@gmail.com> Date: 2017-11-29T19:23:44Z fixed the convertToJson method, struct equality check failing for complex JSON ---- ---