ijuma opened a new pull request #11295:
URL: https://github.com/apache/kafka/pull/11295


   ZooKeeper 3.6.0 changed the default configuration for JUTE_MAXBUFFER from 4 
MB to 1 MB.
   This causes a regression if Kafka tries to retrieve a large amount of data 
across many
   znodes – in such a case the ZooKeeper client will repeatedly emit a message 
of the form
   "java.io.IOException: Packet len <####> is out of range".
   
   We restore the 3.4.x/3.5.x behavior unless the caller has set the property 
(note that ZKConfig
   auto configures itself if certain system properties have been set).
   
   I added a unit test that fails without the change and passes with it.
    
   See https://github.com/apache/zookeeper/pull/1129 for the details on why the 
behavior
   changed in 3.6.0.
   
   Credit to @rondagostino for finding and reporting this issue.
   
   ### 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.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to