Skip to content

Commit

Permalink
Added bigtop java discovery and custom environment vars
Browse files Browse the repository at this point in the history
  • Loading branch information
pzindyaev committed Nov 18, 2024
1 parent 562aada commit fc32e48
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions kafka-cruise-control-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ copyJars() {

base_dir=$(dirname $0)

# bigtop java discovery
. /usr/lib/bigtop-utils/bigtop-detect-javahome "17"

if [ -f "$base_dir/config/cruise-control-env.sh" ]; then
. "$base_dir/config/cruise-control-env.sh"
fi

if [ -z "$SCALA_VERSION" ]; then
SCALA_VERSION=2.13.6
fi
Expand Down

0 comments on commit fc32e48

Please sign in to comment.