Skip to content

Commit

Permalink
Merge pull request #43 from sleighzy/upgrade-to-kafka-3.5.2
Browse files Browse the repository at this point in the history
Upgrade to Kafka 3.5.2
  • Loading branch information
sleighzy authored Aug 30, 2024
2 parents b36bb21 + cd52159 commit 57cff3e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 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.5.1
Ansible role to install and configure [Apache Kafka] 3.5.2

[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.5.1 | |
| kafka_version | 3.5.2 | |
| kafka_scala_version | 2.13 | |
| kafka_create_user_group | true | |
| kafka_user | kafka | |
Expand Down
4 changes: 2 additions & 2 deletions defaults/main/001-kafka.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
# The Apache Kafka version to be downloaded and installed
# 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_base_url: https://archive.apache.org/dist/kafka
kafka_download_validate_certs: yes
kafka_version: 3.5.1
kafka_version: 3.5.2
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.5.1' installation directory status
- name: Register '/opt/kafka_2.13-3.5.2' installation directory status
ansible.builtin.stat:
path: '/opt/kafka_2.13-3.5.1'
path: '/opt/kafka_2.13-3.5.2'
register: install_dir

- name: Assert that '/opt/kafka_2.13-3.5.1' directory is created
- name: Assert that '/opt/kafka_2.13-3.5.2' 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.5.1'
- kafka_dir.stat.lnk_target == '/opt/kafka_2.13-3.5.2'

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

0 comments on commit 57cff3e

Please sign in to comment.