Skip to content

Commit

Permalink
minor fixes (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
4eUeP authored Aug 6, 2024
1 parent 88061bb commit d1877ad
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/src/main/scala/hstream/server/KafkaBroker.scala
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ object KafkaBroker extends Logging {
if (configs.isEmpty) {
throw new RuntimeException("No broker configs found!")
}

if (configs.head.testingConfig.isEmpty) {
info("No testingConfig found, skip awaitCluster")
return
}
val initPort = configs.head.port
val image = configs.head.testingConfig
.getOrElse("image", throw new IllegalArgumentException("image is required"))
Expand Down

0 comments on commit d1877ad

Please sign in to comment.