Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ sudo: required
dist: trusty

language: python
python: 2.7
python:
- 2.7
- 3.6

env:
matrix:
- ANSIBLE_VERSION=2.2.3.0 ANSIBLE_EXTRA_VARS="kafka_version=0.11.0.2"
- ANSIBLE_VERSION=2.2.3.0 ANSIBLE_EXTRA_VARS="kafka_version=1.0.1 kafka_generate_broker_id=false"
- ANSIBLE_VERSION=2.4.2.0 ANSIBLE_EXTRA_VARS="kafka_version=0.11.0.2"
- ANSIBLE_VERSION=2.4.2.0 ANSIBLE_EXTRA_VARS="kafka_version=1.0.1"
- ANSIBLE_VERSION=2.2.3.0 ANSIBLE_EXTRA_VARS="kafka_version=1.0.2"
- ANSIBLE_VERSION=2.2.3.0 ANSIBLE_EXTRA_VARS="kafka_version=1.1.1"
- ANSIBLE_VERSION=2.4.2.0 ANSIBLE_EXTRA_VARS="kafka_version=1.0.2"
- ANSIBLE_VERSION=2.4.2.0 ANSIBLE_EXTRA_VARS="kafka_version=1.1.1"

before_install:
- sudo apt-get update -qq
Expand Down
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ kafka_zookeeper_port: 2181
kafka_hosts: # <-- must be overridden further up the chain
# e.g. [ 'srvr1', 'srvr2' ]

kafka_version: "0.11.0.2"
kafka_version: "1.0.2"

kafka_scala_version: "2.11"
# NB: 2.11 is recommended at https://kafka.apache.org/downloads.html.
Expand Down
2 changes: 1 addition & 1 deletion templates/etc/defaults/kafka.j2
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
KAFKA_HEAP_OPTS='{{ kafka_heap_opts }}'
LOG_DIR='{{ kafka_log_dir }}'

{% for key, value in kafka_environment.iteritems() %}
{% for key, value in kafka_environment.items() %}
{{key}}={{value}}
{% endfor %}
2 changes: 1 addition & 1 deletion templates/usr/local/kafka/config/server.properties.j2
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,6 @@ offsets.commit.timeout.ms={{ kafka_server.offsets_commit_timeout_ms }}

{% endif %}

{% for key, value in kafka_server.misc.iteritems() -%}
{% for key, value in kafka_server.misc.items() -%}
{{key}}={{value}}
{% endfor -%}