All Projects → jaytaylor → Ansible Kafka

jaytaylor / Ansible Kafka

Licence: other
Ansible Kafka role

Projects that are alternatives of or similar to Ansible Kafka

Ansible For Kubernetes
Ansible and Kubernetes examples from Ansible for Kubernetes Book
Stars: ✭ 389 (+507.81%)
Mutual labels:  automation, ansible
Polemarch
Simple WEB gui for infrastructure management by ansible playbooks or modules. This is only mirror with bins in releases.
Stars: ✭ 530 (+728.13%)
Mutual labels:  automation, ansible
Rundeck
Enable Self-Service Operations: Give specific users access to your existing tools, services, and scripts
Stars: ✭ 4,426 (+6815.63%)
Mutual labels:  automation, ansible
Cp Ansible
Ansible playbooks for the Confluent Platform
Stars: ✭ 285 (+345.31%)
Mutual labels:  ansible, kafka
Charjabox
Ansible based Homeserver setup using Docker
Stars: ✭ 28 (-56.25%)
Mutual labels:  automation, ansible
Ansible Playbooks
Playbooks for automating server procedures based on our Community guides
Stars: ✭ 285 (+345.31%)
Mutual labels:  automation, ansible
Ansible Playbook
Ansible playbook to deploy distributed technologies
Stars: ✭ 61 (-4.69%)
Mutual labels:  ansible, kafka
Promansible
PromAnsible, 集成了Prometheuse(基于时间序列数据的服务监控系统)和Ansible(超级简单好用的IT自动化系统),并通过事件报警机制把二者紧密的结合在一起,并配以简单易用的WebUI,真正实现了监控-报警-处理一条龙的全自动化服务。
Stars: ✭ 183 (+185.94%)
Mutual labels:  automation, ansible
Ansiblecm
A Docker based Ansible control machine for running playbooks in a consistent environment.
Stars: ✭ 26 (-59.37%)
Mutual labels:  automation, ansible
Ansible Best Practises
A project structure that outlines some best practises of how to use ansible
Stars: ✭ 735 (+1048.44%)
Mutual labels:  automation, ansible
Community.kubernetes
Kubernetes Collection for Ansible
Stars: ✭ 214 (+234.38%)
Mutual labels:  automation, ansible
Ansible Role Gitea
Ansible role to deploy a Gitea instance
Stars: ✭ 58 (-9.37%)
Mutual labels:  automation, ansible
Ansible Rails
Ruby on Rails deployment using Ansible - with Lets Encrypt, Sidekiq, PostgreSQL, nginx & puma
Stars: ✭ 199 (+210.94%)
Mutual labels:  automation, ansible
Mac Dev Playbook
Mac setup and configuration via Ansible.
Stars: ✭ 4,202 (+6465.63%)
Mutual labels:  automation, ansible
Ansipress
AnsiPress - Simple L(Linux) E(NGINX) M(MariaDB) P(PHP7) Shared Hosting Setup
Stars: ✭ 184 (+187.5%)
Mutual labels:  automation, ansible
Zerocode
A community-developed, free, open source, microservices API automation and load testing framework built using JUnit core runners for Http REST, SOAP, Security, Database, Kafka and much more. Zerocode Open Source enables you to create, change, orchestrate and maintain your automated test cases declaratively with absolute ease.
Stars: ✭ 482 (+653.13%)
Mutual labels:  automation, kafka
Ansible Raspi Playbooks
Playbooks for setup and updating of raspberry pi projects.
Stars: ✭ 162 (+153.13%)
Mutual labels:  automation, ansible
Dellemc Openmanage Ansible Modules
Dell EMC OpenManage Ansible Modules
Stars: ✭ 169 (+164.06%)
Mutual labels:  automation, ansible
Books Recommendation
程序员进阶书籍(视频),持续更新(Programmer Books)
Stars: ✭ 558 (+771.88%)
Mutual labels:  ansible, kafka
Kafka Specs
Tool to ease and automate Apache Kafka cluster configuration management
Stars: ✭ 36 (-43.75%)
Mutual labels:  automation, kafka

Ansible Kafka

Build Status Galaxy

An ansible role to install and configure kafka distributed pub/sub messaging queue clusters.

How to get it

Add to your playbooks requirements.yml:

- src: https://github.com/jaytaylor/ansible-kafka

and then run:

ansible-galaxy install -r requirements.yml --ignore-errors

Or if you just want to grab this role and start using it:

cd my-playbook-folder/roles
git clone https://github.com/jaytaylor/ansible-kafka.git
cd -

How to use it

Once the role is installed, configure it from your playbook file (e.g. playbook.yml).

Example:

    ---
    - hosts: [all]
      roles:
        - {
          role: "ansible-kafka",
          kafka_hosts: "{{ groups.kafka | list }}",
          kafka_zookeeper_hosts: "{{ zookeeper_hosts | list }}"
          kafka_version: 0.11.0.2,     # Kafka version override.
          kafka_scala_serverion: 2.10 # Scala version override.
        }

Where kafka_hosts and zookeeper_hosts are both defined variables (e.g. in group_vars/all), and contain the list of hosts to use.

Important Note

If you are using this role from the ansible-galaxy website, make sure you use "jaytaylor.kafka" for the role name (rather than "ansible-kafka").

Role variables

  • kafka_hosts - list of hosts in the cluster.
  • kafka_zookeeper_hosts - list of zookeeper hosts for the cluster.
  • kafka_broker_id - Integer uniquely identifying the broker, by default one will be generated for you either by this role or by kafka itself for versions >= 0.9.
  • kafka_generate_broker_id - Flag controlling whether to generate a broker id, defaults to yes.
  • kafka_server_defaults - Default Kafka server settings. This variable shoulnd't usually be changed.
  • kafka_producer_defaults - Default Kafka producer settings. This variable shouldn't usually be changed.
  • kafka_server - Allows to overwrite particular default server settings (from kafka_server_defaults variable). Values in this hash are combined with kafka_server_defaults variable.
  • kafka_producer - Allows to overwrite particular default producer settings (from kafka_producer_defaults variable). Values in this hash are combined with kafka_server_defaults variable.
  • kafka_healthcheck_address - If not defined, this will dynamicaly set to kafka_server_defaults.host_name or kafka_server.host_name if defined. Defaults to '127.0.0.1'
  • kafka_java_version - Java version to install. Defaults to "openjdk-7-jre-headless"

Version notes

Version 2.0.0 does not support Ansible versions lower than 2.2.

Before version 2.0.0, server and producer Ansible variables were used to configure Kafka Server and Kafka Producer respecively, but 2.0.0 introduced better variable scoping and better variable overwritting:

  • server variable became kafka_server, so it is inside Kafka role "scope". It is a hash that is combined with kafka_server_defaults hash, overwriting the values defined in the former. This makes easier to overwrite just some particular setting, instead of rewritting the whole server variable hash jus tto change one setting.
  • producer variable became kafka_producer, and it behaves now the same way as kafka_server variable. Also kafka_producer_defaults hash has the default values for producer.

Also:

  • healthcheck_address became kafka_healthcheck_address, which improves its scope.
  • nofiles_limit became kafka_nofiles_limit

License

BSD

Author

Jay Taylor

@jtaylor - jaytaylor.com - github

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].