-
-
Notifications
You must be signed in to change notification settings - Fork 105
/
kitchen.yml
69 lines (69 loc) · 1.68 KB
/
kitchen.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
---
driver:
name: vagrant
box_check_update: false
customize:
memory: 512
cpus: 2
provisioner:
name: 'chef_solo'
attributes:
java:
jdk_version: 8
kafka:
uid: 1234
gid: 5678
version: <%= ENV.fetch('KAFKA_VERSION', '1.1.1').inspect %>
scala_version: <%= ENV.fetch('SCALA_VERSION', '2.11').inspect %>
checksum: <%= ENV.fetch('KAFKA_CHECKSUM', '').inspect %>
md5_checksum: <%= ENV.fetch('KAFKA_MD5', '').inspect %>
sha512_checksum: <%= ENV.fetch('KAFKA_SHA512', '').inspect %>
heap_opts: '-Xmx256M -Xms256M'
ulimit_file: 128000
broker:
broker.id: 1
log.dirs: ['/mnt/kafka-logs-1', '/mnt/kafka-logs-2']
zookeeper.connect: ['localhost:2181']
log4j:
appenders:
zookeeperAppender:
type: 'org.apache.log4j.FileAppender'
file: '/var/log/kafka/zookeeper.log'
layout:
type: 'org.apache.log4j.PatternLayout'
conversion_pattern: '[%d] %p %m (%c)%n'
loggers:
org.apache.zookeeper:
level: 'INFO'
appender: 'zookeeperAppender'
additivity: false
platforms:
- name: centos-7
- name: debian-9
run_list:
- recipe[apt]
- name: ubuntu-16.04
run_list:
- recipe[apt]
- name: ubuntu-18.04
run_list:
- recipe[apt]
suites:
- name: default
run_list:
- recipe[kafka]
attributes:
kafka:
init_style: false
- name: systemd
run_list:
- recipe[java]
- recipe[kafka]
includes:
- centos-7
- debian-9
- ubuntu-16.04
- ubuntu-18.04
attributes:
kafka:
init_style: 'systemd'