macunha1 / ansible-confluent-kafka Goto Github PK
View Code? Open in Web Editor NEWHighly configurable Ansible role to Install and manage Apache Kafka and Apache Zookeeper "from scratch" using Confluent package
License: Apache License 2.0
Highly configurable Ansible role to Install and manage Apache Kafka and Apache Zookeeper "from scratch" using Confluent package
License: Apache License 2.0
It doesn't look like scala_version is needed for newer versions of Confluent Platform. It seems that breaks starting on 6.
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: kafka_init_memory_head_with_units) }}): '>' not supported between instances of 'str' and 'int'
failed: [ansiblenode2] (item={'template': 'kafka-env.sh.j2', 'name': 'kafka-env.sh', 'group': ['ansiblenode1', 'ansiblenode2', 'ansiblenode3']}) => {"ansible_loop_var": "item", "changed": false, "item": {"group": ["ansiblenode1", "ansiblenode2", "ansiblenode3"], "name": "kafka-env.sh", "template": "kafka-env.sh.j2"}, "msg": "AnsibleError: An unhandled exception occurred while templating '{{ (ansible_memtotal_gb_sqrt > 1) |\n ternary((ansible_memtotal_gb_sqrt | string) + 'G',\n kafka_init_memory_head_with_units) }}'. Error was a <class 'ansible.errors.AnsibleError'>, original message: Unexpected templating type error occurred on ({{ (ansible_memtotal_gb_sqrt > 1) |\n ternary((ansible_memtotal_gb_sqrt | string) + 'G',\n kafka_init_memory_head_with_units) }}): '>' not supported between instances of 'str' and 'int'"}
Hi,
Is this what you wanted to do in, https://github.com/macunha1/confluent-kafka-role/blob/master/templates/kafka.properties.j2:
offsets.topic.replication.factor={{ default_replication_factor }}
As this only sets the offsets topic replication factor not the default replication factor for all the automatically created topics.
Should it be:
default.replication.factor={{ default_replication_factor }}
?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.