rondagostino opened a new pull request #10225:
URL: https://github.com/apache/kafka/pull/10225


   The ZooKeeper version of this system test is failing because the producer is 
no longer seeing `LEADER_NOT_AVAILABLE`. When the broker sees a METADATA 
request for the test topic after it restarts the auto topic creation manager is 
determining that the topic needs to be created due to the TLS hostname 
verification failure on the inter-broker security protocol.  It also thinks 
there aren't enough brokers available to meet the default topic replication 
factor (it sees 0 available due to the TLS issue), so it 
returns`INVALID_REPLICATION_FACTOR` for that topic in the Metadata response. In 
other words, the flow has changed and the inability to produce is not 
manifesting as it was before, and the test is failing.  This patch updates the 
test to check for `INVALID_REPLICATION_FACTOR` instead of 
`LEADER_NOT_AVAILABLE`.
   
   ### 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