Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KAFKA_CONFLUENT_CLUSTER_LINK_ENABLE contains true, which is an invalid type, it should be a string, number, or a null #2

Open
danjrichards opened this issue Apr 19, 2024 · 5 comments

Comments

@danjrichards
Copy link

danjrichards commented Apr 19, 2024

Hi Sven
Nice tool - thank you.

I ran python3 kafka_docker_composer.py -b 3 -z 3 --racks 3 and it generated 3 errors on starting, each:
services.kafka-?.environment.KAFKA_CONFLUENT_CLUSTER_LINK_ENABLE contains true, which is an invalid type, it should be a string, number, or a null

I changed each instance to KAFKA_CONFLUENT_CLUSTER_LINK_ENABLE="true" and this error went away, but I then get: Error opening zip file or JAR manifest missing : /tmp/jmx_prometheus_javaagent-0.20.0.jar zookeeper-2 | agent library failed to init: instrument

@danjrichards
Copy link
Author

danjrichards commented Apr 19, 2024

instrumenting error was my local issue - for some reason jmx_prometheus_javaagent-0.20.0.jar was an empty directory! 🤷🏼

@sknop
Copy link
Owner

sknop commented Apr 30, 2024

I am not quite sure how you got these errors, I cannot reproduce any of this.

Which OS are you running, and which docker engine do you use?

@DominiqueLuebben
Copy link

DominiqueLuebben commented Oct 29, 2024

Hello,

I am getting the same errors like danjrichards. I am trying to setup "python kafka_docker_composer.py --brokers 1 --controllers 1 --p". I get errors because of "KAFKA_CONFLUENT_CLUSTER_LINK_ENABLE: False" and "KAFKA_CONFLUENT_REPORTERS_TELEMETRY_AUTO_ENABLE: False". Additionally there is no prometheus.yml in the volumes folder

@sknop
Copy link
Owner

sknop commented Oct 29, 2024

Hi Dominique,

Can you try three brokers and three controllers first to see if that works for you?
There are some extra services enabled in the Confluent server that are set to a replication factor of 3 by default, it is possible I missed a few.

I will investigate.

@sknop
Copy link
Owner

sknop commented Oct 29, 2024

Also, it is -p, not --p?

Kafka docker-compose Generator

options:
-h, --help show this help message and exit
-r RELEASE, --release RELEASE
Docker images release [7.7.0]
--with-tc Build and use a local image with tc enabled
--shared-mode Enable shared mode for controllers
-b BROKERS, --brokers BROKERS
Number of Brokers [1]
-z ZOOKEEPERS, --zookeepers ZOOKEEPERS
Number of ZooKeepers [0] - mutually exclusive with controllers
-c CONTROLLERS, --controllers CONTROLLERS
Number of Kafka controller instances [0] - mutually exclusive with ZooKeepers
-s SCHEMA_REGISTRIES, --schema-registries SCHEMA_REGISTRIES
Number of Schema Registry instances [0]
-C CONNECT_INSTANCES, --connect-instances CONNECT_INSTANCES
Number of Kafka Connect instances [0]
-k KSQLDB_INSTANCES, --ksqldb-instances KSQLDB_INSTANCES
Number of ksqlDB instances [0]
--control-center Include Confluent Control Center [False]
--uuid UUID UUID of the cluster [Nk018hRAQFytWskYqtQduw]
-p, --prometheus Include Prometheus [False]
--kafka-container KAFKA_CONTAINER
Container used for Kafka, default [cp-server]
--racks RACKS Number of racks among which the brokers will be distributed evenly [1]
--zookeeper-groups ZOOKEEPER_GROUPS
Number of zookeeper groups in a hierarchy [1]
--docker-compose-file DOCKER_COMPOSE_FILE
Output file for docker-compose, default [docker-compose.yml]
--config CONFIG Properties config file, values will be overridden by command line arguments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants