confluentinc / cp-docker-images

[DEPRECATED] Docker images for Confluent Platform.
Apache License 2.0
1.14k stars 704 forks source link

cp-all-in-one example not working with a single broker #259

Open PHameete opened 7 years ago

PHameete commented 7 years ago

Currently, the cp-all-in-one docker-compose example does not work out of the box with a single Kafka broker.

This is due to the following properties:

confluent.metrics.reporter.topic.replicas (default 12) confluent.metrics.reporter.topic.partitions (default 3)

These properties can not be configured via the environment variables. A possible fix would be to allow variable pass through for the control center as suggested in #243 . Alternatively supported for these two properties could be added directly.

mykolapolonskyi commented 6 years ago

Hi there. will bump issue instead of new one: I catch issues related to https://github.com/confluentinc/cp-docker-images/blob/master/examples/cp-all-in-one/docker-compose.yml#L24

KAFKA_METRIC_REPORTERS: io.confluent.metrics.reporter.ConfluentMetricsReporter

version 4.1.0 start zookeeper then try to start broker - with KAFKA_METRIC_REPORTERS it fails but without works for me