Skip to content

Commit

Permalink
Fix KRaft storage formating with UUID starting with dash (#73)
Browse files Browse the repository at this point in the history
* Fix KRaft storage formating with UUID starting with dash

Signed-off-by: see-quick <[email protected]>

* remove space

Signed-off-by: see-quick <[email protected]>

---------

Signed-off-by: see-quick <[email protected]>
  • Loading branch information
see-quick authored Jul 4, 2024
1 parent d856b68 commit 9ab57d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ protected void containerIsStarting(final InspectContainerResponse containerInfo,
command += "bin/kafka-server-start.sh config/server.properties" + kafkaConfigurationOverride;
} else {
clusterId = this.randomUuid();
command += "bin/kafka-storage.sh format -t \"" + clusterId + "\" -c config/kraft/server.properties \n";
command += "bin/kafka-storage.sh format -t=\"" + clusterId + "\" -c config/kraft/server.properties \n";
command += "bin/kafka-server-start.sh config/kraft/server.properties" + kafkaConfigurationOverride;
}

Expand Down

0 comments on commit 9ab57d0

Please sign in to comment.