-
-
Notifications
You must be signed in to change notification settings - Fork 665
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #48 from tchiotludo/dev
Release 0.5.3
- Loading branch information
Showing
20 changed files
with
197 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM gradle:5.3.1-jdk-alpine | ||
|
||
USER root | ||
|
||
RUN apk add --update \ | ||
libc6-compat \ | ||
java-snappy-native \ | ||
&& rm -rf /var/cache/apk/* | ||
|
||
USER gradle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
########################################################################### | ||
# jvm.options # | ||
# # | ||
# - all flags defined here will be used to startup the JVM # | ||
# - one flag should be specified per line # | ||
# - lines that do not start with '-' will be ignored # | ||
# - only static flags are accepted (no variables or parameters) # | ||
# - dynamic flags will be appended to these on cassandra-env # | ||
########################################################################### | ||
|
||
# Server Hotspot JVM | ||
-server | ||
|
||
# ensure UTF-8 encoding by default (e.g. filenames) | ||
-Dfile.encoding=UTF-8 | ||
|
||
# set to headless, just in case | ||
-Djava.awt.headless=true | ||
|
||
# generate a heap dump when an allocation from the Java heap fails | ||
# heap dumps are created in the working directory of the JVM | ||
-XX:+HeapDumpOnOutOfMemoryError | ||
-XX:HeapDumpPath=/tmp/heapdump.log | ||
|
||
# GC logs | ||
-XX:+PrintGCDetails | ||
-XX:+PrintGCDateStamps | ||
-XX:+PrintTenuringDistribution | ||
-XX:+PrintGCApplicationStoppedTime | ||
-Xloggc:/tmp/gc.log | ||
-XX:+UseGCLogFileRotation | ||
-XX:NumberOfGCLogFiles=32 | ||
-XX:GCLogFileSize=64m | ||
|
||
# Docker aware cpu/memory otions | ||
-XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap | ||
|
||
# Do not rely on the system configuration | ||
-Dfile.encoding=UTF-8 | ||
-Duser.timezone=UTC | ||
|
||
# tells the Java library to use the preinstalled native library | ||
-Dorg.xerial.snappy.use.systemlib=true | ||
|
||
# Jmx Remote | ||
-Dcom.sun.management.jmxremote | ||
-Dcom.sun.management.jmxremote.port=8686 | ||
-Dcom.sun.management.jmxremote.local.only=false | ||
-Dcom.sun.management.jmxremote.authenticate=false | ||
-Dcom.sun.management.jmxremote.ssl=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
#!/usr/bin/env sh | ||
|
||
# Read user-defined JVM options from jvm.options file | ||
JVM_OPTS_FILE=${JVM_OPTS_FILE:-/app/jvm.options} | ||
for JVM_OPT in `grep "^-" ${JVM_OPTS_FILE}` | ||
do | ||
JAVA_OPTS="${JAVA_OPTS} ${JVM_OPT}" | ||
done | ||
|
||
/usr/bin/java ${JAVA_OPTS} -jar /app/kafkahq.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.