chia7712 opened a new pull request #9021: URL: https://github.com/apache/kafka/pull/9021
```security_rolling_upgrade_test``` may change the security listener and then restart Kafka servers. ```has_sasl``` and ```has_ssl``` get out-of-date due to cached ```_security_config```. This PR offers a simple fix that we always check the changes of port mapping and then update the sasl/ssl flag. issue: https://issues.apache.org/jira/browse/KAFKA-10257 ### 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