Skip to content

Commit

Permalink
Update to Kafka 3.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sleighzy committed Nov 14, 2024
1 parent e8ee7fa commit 4aaac49
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

![Lint Code Base] ![Molecule]

Ansible role to install and configure [Apache Kafka] 3.8.0
Ansible role to install and configure [Apache Kafka] 3.8

[Apache Kafka] is a distributed event streaming platform using publish-subscribe
topics. Applications and streaming components can produce and consume messages
Expand Down Expand Up @@ -60,7 +60,7 @@ See <https://github.com/ansible/ansible/issues/71528> for more information.
| ---------------------------------------------- | ------------------------------------ | ---------------------------------------------------------------- |
| kafka_download_base_url | <https://downloads.apache.org/kafka> | |
| kafka_download_validate_certs | yes | |
| kafka_version | 3.8.0 | |
| kafka_version | 3.8.1 | |
| kafka_scala_version | 2.13 | |
| kafka_create_user_group | true | |
| kafka_user | kafka | |
Expand Down
2 changes: 1 addition & 1 deletion defaults/main/001-kafka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# kafka_download_base_url should be set to https://archive.apache.org/dist/kafka/ for older versions than the current
kafka_download_base_url: https://downloads.apache.org/kafka
kafka_download_validate_certs: yes
kafka_version: 3.8.0
kafka_version: 3.8.1
kafka_scala_version: 2.13

# The kafka user and group to create files/dirs with and for running the kafka service
Expand Down
8 changes: 4 additions & 4 deletions molecule/default/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
- "'kafka' in getent_passwd"
- "'kafka' in getent_group"

- name: Register '/opt/kafka_2.13-3.8.0' installation directory status
- name: Register '/opt/kafka_2.13-3.8.1' installation directory status
ansible.builtin.stat:
path: '/opt/kafka_2.13-3.8.0'
path: '/opt/kafka_2.13-3.8.1'
register: install_dir

- name: Assert that '/opt/kafka_2.13-3.8.0' directory is created
- name: Assert that '/opt/kafka_2.13-3.8.1' directory is created
ansible.builtin.assert:
that:
- install_dir.stat.exists
Expand All @@ -39,7 +39,7 @@
that:
- kafka_dir.stat.exists
- kafka_dir.stat.islnk
- kafka_dir.stat.lnk_target == '/opt/kafka_2.13-3.8.0'
- kafka_dir.stat.lnk_target == '/opt/kafka_2.13-3.8.1'

- name: Register '/var/log/kafka' directory status
ansible.builtin.stat:
Expand Down

0 comments on commit 4aaac49

Please sign in to comment.