-
Notifications
You must be signed in to change notification settings - Fork 414
Conversation
|
||
default: 3 | ||
|
||
.. data:: kafka_broker_cpu |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
too many CPUs for only 4GB ram,
lets follow the 1/4 proportion (1cpu/4gb, 2cpu/8gb, ...)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, I updated the config as suggested
We can see if the tag has been pushed on the nginx-mantlui docker hub page. |
0.6.8 tag of the nginx-mantlui image has been published |
|
||
The Kafka options to pass to the brokers. | ||
|
||
default: "log.flush.interval.ms=10000,num.recovery.threads.per.data.dir=1,delete.topic.enable=true,log.index.size.max.bytes=10485760,num.partitions=8,num.network.threads=3,socket.request.max.bytes=104857600,log.segment.bytes=536870912,log.cleaner.enable=true,zookeeper.connection.timeout.ms=1000000,log.flush.scheduler.interval.ms=2000,log.retention.hours=72,log.flush.interval.messages=20000,log.dirs=/mantl/a/dfs-data/kafka-logs\\,/mantl/b/dfs-data/kafka-logs\\,/mantl/c/dfs-data/kafka-logs\\,/mantl/d/dfs-data/kafka-logs\\,/mantl/e/dfs-data/kafka-logs\\,/mantl/f/dfs-data/kafka-logs,log.index.interval.bytes=4096,socket.receive.buffer.bytes=1048576,min.insync.replicas=2,replica.lag.max.messages=10000000,replica.lag.time.max.ms=1000000,log.retention.check.interval.ms=3600000,message.max.bytes=20480,default.replication.factor=2,zookeeper.session.timeout.ms=500000,num.io.threads=8,auto.create.topics.enable=false,socket.send.buffer.bytes=1048576" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if this could be broken up into a dict to be joined by templating, i.e.
kafka_broker_options:
log.flush.interval.ms: "10000"
num.recovery.threads.per.data.dir: "1"
...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with this, it is hard to parse this command
We probably don't want to use |
THAT explains a lot... :) |
kafka will start using the list of zk hosts once #1308 is merged |
Installation documentation available in the role readme. Note that you will need at least 3 workers each with 1 CPU and 4 GB of memory available to Mesos in order to run with the default configuration.
This depends on mantl/nginx-mantlui#18 being merged and the 0.6.8 tag of ciscocloud/nginx-mantlui being pushed to docker hub.
After successful Kafka installation (it can take a few minutes), verify the following:
Once the brokers are up, you should be able to produce and consume data. Here is one example of a manual test: