aartigao opened a new pull request #10929:
URL: https://github.com/apache/kafka/pull/10929


   Old Brokers prior to Metadata V4 don't support the allowAutoTopicCreation 
field.
   
   The implementation of #3098 introduced a check for old Brokers compatibility 
falling back to _*true*_ in *MetadataRequest allowAutoTopicCreation* field for 
some operations like *describeTopics*.
   
   Then, after that backward-compatibility changes, more methods were added to 
*AdminClient* like *listOffsets* in #7296 which unfortunately don't have 
compatibility with old Brokers into account. One might argue that, given that 
new methods were not present previously, it's not a compatibility break. While 
this is strictly true, I believe that one of Kafka Clients' most appreciated 
feature is the ability to use old Brokers with new Clients.
   
   I've prepared this small PR to fix for this, following the same approach 
used in #3098.
   
   ### 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to