You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: roles/amq_streams_zookeeper/tasks/main.yml
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,11 @@
1
1
---
2
+
- name: "Validate Kafka version is compatible with Zookeeper (< 4.0.0)"
3
+
ansible.builtin.assert:
4
+
that:
5
+
- amq_streams_common_product_version is version('4.0.0', '<')
6
+
fail_msg: "ERROR: You are trying to run Zookeeper with Kafka {{ amq_streams_common_product_version }}. Zookeeper is removed from Kafka 4.0.0 (KRaft mode is required)."
7
+
success_msg: "Kafka version {{ amq_streams_common_product_version }} is compatible with Zookeeper."
8
+
2
9
- name: "Ensure user for zookeeper exists (if provided)."
0 commit comments