-
Notifications
You must be signed in to change notification settings - Fork 735
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Uses the kafka image as Zookeeper service...
to reduce image download times and use a supported version. Initial config is from https://zookeeper.apache.org/doc/r3.4.10/zookeeperAdmin.html#sc_zkMulitServerSetup and the fixes for stateful set are from https://github.com/solsson/zookeeper-docker
- Loading branch information
Showing
2 changed files
with
41 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
kind: ConfigMap | ||
metadata: | ||
name: zookeeper-config | ||
namespace: kafka | ||
apiVersion: v1 | ||
data: | ||
zookeeper.properties: |- | ||
tickTime=2000 | ||
dataDir=/var/lib/zookeeper/data | ||
dataLogDir=/var/lib/zookeeper/log | ||
clientPort=2181 | ||
initLimit=5 | ||
syncLimit=2 | ||
server.1=zoo-0.zoo:2888:3888:participant | ||
server.2=zoo-1.zoo:2888:3888:participant | ||
server.3=zoo-2.zoo:2888:3888:participant | ||
server.4=zoo-3.zoo:2888:3888:participant | ||
server.5=zoo-4.zoo:2888:3888:participant | ||
log4j.properties: |- | ||
log4j.rootLogger=INFO, stdout | ||
log4j.appender.stdout=org.apache.log4j.ConsoleAppender | ||
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout | ||
log4j.appender.stdout.layout.ConversionPattern=[%d] %p %m (%c)%n |
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