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
For KAFKA_HEAP_OPTS: Expecting to set set heap variables for java. This is mainly to limit memory usage and garbage collection settings.
For KAFKA_OPTS: Expecting to add extra java launch parameters.
What do you see instead?
Logs:
$ docker compose up
[+] Running 1/0
✔ Container kafka Created 0.0s
Attaching to kafka
kafka | kafka 09:26:22.15 INFO ==>
kafka | kafka 09:26:22.15 INFO ==> Welcome to the Bitnami kafka container
kafka | kafka 09:26:22.15 INFO ==> Subscribe to project updates by watching https://github.com/bitnami/containers
kafka | kafka 09:26:22.15 INFO ==> Submit issues and feature requests at https://github.com/bitnami/containers/issues
kafka | kafka 09:26:22.15 INFO ==> Upgrade to Tanzu Application Catalog for production environments to access custom-configured and pre-packaged software components. Gain enhanced features, including Software Bill of Materials (SBOM), CVE scan result reports, and VEX documents. To learn more, visit https://bitnami.com/enterprise
kafka | kafka 09:26:22.15 INFO ==>
kafka | kafka 09:26:22.16 INFO ==> ** Starting Kafka setup **
kafka | kafka 09:26:22.21 WARN ==> Kafka has been configured with a PLAINTEXT listener, this setting is not recommended for production environments.
kafka | kafka 09:26:22.22 INFO ==> Initializing Kafka...
kafka | kafka 09:26:22.23 INFO ==> No injected configuration files found, creating default config files
kafka | kafka 09:26:22.35 INFO ==> Initializing KRaft storage metadata
kafka | kafka 09:26:22.35 INFO ==> Formatting storage directories to add metadata...
kafka | Error: Could not find or load main class '-Xmx1024m
kafka | Caused by: java.lang.ClassNotFoundException: '-Xmx1024m
kafka exited with code 0
$ docker compose up
[+] Running 1/0
✔ Container kafka Recreated 0.1s
Attaching to kafka
kafka | kafka 09:33:29.54 INFO ==>
kafka | kafka 09:33:29.54 INFO ==> Welcome to the Bitnami kafka container
kafka | kafka 09:33:29.54 INFO ==> Subscribe to project updates by watching https://github.com/bitnami/containers
kafka | kafka 09:33:29.54 INFO ==> Submit issues and feature requests at https://github.com/bitnami/containers/issues
kafka | kafka 09:33:29.54 INFO ==> Upgrade to Tanzu Application Catalog for production environments to access custom-configured and pre-packaged software components. Gain enhanced features, including Software Bill of Materials (SBOM), CVE scan result reports, and VEX documents. To learn more, visit https://bitnami.com/enterprise
kafka | kafka 09:33:29.55 INFO ==>
kafka | kafka 09:33:29.55 INFO ==> ** Starting Kafka setup **
kafka | kafka 09:33:29.61 WARN ==> Kafka has been configured with a PLAINTEXT listener, this setting is not recommended for production environments.
kafka | kafka 09:33:29.62 INFO ==> Initializing Kafka...
kafka | kafka 09:33:29.62 INFO ==> No injected configuration files found, creating default config files
kafka | kafka 09:33:29.74 INFO ==> Initializing KRaft storage metadata
kafka | kafka 09:33:29.75 INFO ==> Formatting storage directories to add metadata...
kafka | Error: Could not find or load main class '-javaagent:.bitnami.kafka.agents.jmx_prometheus_javaagent-1.0.1.jar=7071:.bitnami.kafka.agents.config.yml'
kafka | Caused by: java.lang.ClassNotFoundException: '-javaagent:.bitnami.kafka.agents.jmx_prometheus_javaagent-1.0.1.jar=7071:.bitnami.kafka.agents.config.yml'
kafka exited with code 0
Additional information
Came across this bug when i wanted to add the jmx exporter inside the container for prometheus metrics.
The text was updated successfully, but these errors were encountered:
Name and Version
bitnami/kafka
What architecture are you using?
None
What steps will reproduce the bug?
example docker-compose.yml:
What is the expected behavior?
For KAFKA_HEAP_OPTS: Expecting to set set heap variables for java. This is mainly to limit memory usage and garbage collection settings.
For KAFKA_OPTS: Expecting to add extra java launch parameters.
What do you see instead?
Logs:
Additional information
Came across this bug when i wanted to add the jmx exporter inside the container for prometheus metrics.
The text was updated successfully, but these errors were encountered: