mirror of
https://github.com/newnius/Dockerfiles.git
synced 2025-12-15 10:26:44 +00:00
add kafka
This commit is contained in:
10
kafka/2.1.0/start_kafka.sh
Executable file
10
kafka/2.1.0/start_kafka.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
## Overide default configuration files
|
||||
: ${EXTRA_CONF_DIR:=/config/kafka}
|
||||
|
||||
if [ -d "$EXTRA_CONF_DIR" ]; then
|
||||
cp $EXTRA_CONF_DIR/* /usr/local/kafka/config
|
||||
fi
|
||||
|
||||
bash /usr/local/kafka/bin/kafka-server-start.sh /usr/local/kafka/config/server.properties
|
||||
Reference in New Issue
Block a user