This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy path.kitchen.docker.yml
80 lines (73 loc) · 2.04 KB
/
.kitchen.docker.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
driver:
name: dokken
chef_version: latest
privileged: true # because Docker and SystemD/Upstart
hostname: kafkahost
transport:
name: dokken
provisioner:
name: dokken
verifier:
root_path: '/opt/verifier'
sudo: false
platforms:
- name: centos-7
driver:
image: centos:7
intermediate_instructions:
- RUN yum clean all
# Install any packages needed by chef, cookbooks or testing
- RUN yum -y install net-tools lsof initscripts
pid_one_command: /usr/lib/systemd/systemd
- name: ubuntu-15.10
driver:
image: ubuntu:15.10
pid_one_command: /bin/systemd
intermediate_instructions:
- RUN /usr/bin/apt-get update
# Install any packages needed by chef, cookbooks or testing
- RUN /usr/bin/apt-get install apt-transport-https net-tools -y
run_list:
- recipe[apt]
suites:
- name: default
run_list:
- recipe[curl] # Curl is used by testing
- recipe[apache_zookeeper]
- recipe[cerner_kafka]
- recipe[cerner_kafka::offset_monitor]
attributes:
java:
# Kafka 0.9 require java 7 or higher
jdk_version: 7
kafka:
zookeepers:
- localhost:2181
lib_jars:
- http://search.maven.org/remotecontent?filepath=io/dropwizard/metrics/metrics-logback/3.1.0/metrics-logback-3.1.0.jar
server.properties:
default.replication.factor: 1
bogus.for.testing: server
log4j.properties:
bogus.for.testing: log4j
env_vars:
KAFKA_HEAP_OPTS: '"-Xmx256m -Xms256m"'
BOGUS_VAR: TEST_VALUE
# Override KAFKA_OPTS so that Kerberos is not actually enabled for the broker
KAFKA_OPTS: '"-Dsome.system.property=ok"'
offset_monitor:
port: 8088
options:
--zkSessionTimeout: 30.seconds
shutdown_timeout: 35
kerberos:
enable: true
enable_zk: true
keytab: /etc/kafka.keytab
realm: REALM.NET
krb5_properties:
doNotPrompt: true
stringProp: test
zk_krb5_properties:
clearPass: false
stringBoolean: 'false'