alvarobacelar.ansible_role_kafka
ansible-role-kafka
Installing Kafka Broker on RedHat
Requirements
To use this role, you need to create an inventory file, or you can use the host_example.yml file from this repository. Make sure to include the groups zookeeper and kafka_broker, with each host assigned to the correct group.
Apache Kafka requires a ZooKeeper cluster. This role depends on ZooKeeper and Java roles. Don’t worry about these dependencies; when you download this role, all required dependencies will be downloaded automatically. Use the command below to download:
ansible-galaxy install alvarobacelar.ansible_role_kafka
Role Variables
This role has many variables that are available in the main.yml file in the defaults directory. If you want to change the properties of the Kafka broker, create a variables file for your playbook and set all the key values for your broker configuration.
Example Playbook
The playbook for this role should look like this:
- hosts: kafkabroker
become: true
roles:
- kafka
License
BSD
About the Author
Alvaro Bacelar - Infrastructure specialist, enthusiastic about DevOps and Infrastructure as Code.
Instalação e configuração do kafka standalone
ansible-galaxy install alvarobacelar.ansible_role_kafka