chia7712 commented on code in PR #18844:
URL: https://github.com/apache/kafka/pull/18844#discussion_r1965105936
##########
core/src/main/scala/kafka/docker/KafkaDockerWrapper.scala:
##########
@@ -52,7 +53,14 @@ object KafkaDockerWrapper extends Logging {
}
val formatCmd = formatStorageCmd(finalConfigsPath, envVars)
- StorageTool.main(formatCmd)
+ try {
+ StorageTool.main(formatCmd)
+ } catch {
+ case terseFailure: TerseFailure => if
(terseFailure.getMessage.contains(QuorumConfig.QUORUM_VOTERS_CONFIG)) {
+ throw new TerseFailure("The Docker image does not support Dynamic
Quorum yet.")
Review Comment:
Could you please add `terseFailure` to the cause of `TerseFailure`?
--
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]