showuon opened a new pull request #11429:
URL: https://github.com/apache/kafka/pull/11429


   In https://github.com/apache/kafka/pull/10457/files#r635196307, the reviewer 
asked if there's a bug that we only check for zookeeper case, I didn't do a 
well check and directly confirm it. Now, after checking the change history, I 
found the change is because the 
[KIP-464](https://cwiki.apache.org/confluence/display/KAFKA/KIP-464%3A+Defaults+for+AdminClient%23createTopic)
 (PR: https://github.com/apache/kafka/pull/6728) added default values for 
partition count and replica factor for createTopic in AdminClient. So it didn't 
apply for zookeeper option case. 
   
   Fix this bug and add tests for the command lines in quick start (i.e. create 
topic and describe topic), to make sure it won't be broken in the future.
   
   ### 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