# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# see kafka.server.KafkaConfig for additional details and defaults
############################# Server Basics #############################
# The id of the broker. This must be set to a unique integer for each broker.
broker.id=0
# Switch to enable topic deletion or not, default value is false
#delete.topic.enable=true
############################# Socket Server Settings #############################
# The address the socket server listens on. It will get the value returned from
# java.net.InetAddress.getCanonicalHostName() if not configured.
# FORMAT:
# listeners = security_protocol://host_name:port
# EXAMPLE:
# listeners = PLAINTEXT://your.host.name:9092
#listeners=PLAINTEXT://:9092
# Hostname and port the broker will advertise to producers and consumers. If not set,
# it uses the value for "listeners" if configured. Otherwise, it will use the value
# returned from java.net.InetAddress.getCanonicalHostName().
#advertised.listeners=PLAINTEXT://your.host.name:9092
# The number of threads handling network requests
num.network.threads=3
# The number of threads doing disk I/O
num.io.threads=8
# The send buffer (SO_SNDBUF) used by the socket server
socket.send.buffer.bytes=102400
# The receive buffer (SO_RCVBUF) used by the socket server
socket.receive.buffer.bytes=102400
# The maximum size of a request that the socket server will accept (protection against OOM)
socket.request.max.bytes=104857600
############################# Log Basics #############################
# A comma seperated list of directories under which to store log files
log.dirs=/tmp/kafka-logs
# The default number of log partitions per topic. More partitions allow greater
# parallelism for consumption, but this will also result in more files across
# the brokers.
num.partitions=1
# The number of threads per data directory to be used for log recovery at startup and flushing at shutdown.
# This value is recommended to be increased for installations with data dirs located in RAID array.
num.recovery.threads.per.data.dir=1
############################# Log Flush Policy #############################
# Messages are immediately written to the filesystem but by default we only fsync() to sync
# the OS cache lazily. The following configurations control the flush of data to disk.
# There are a few important trade-offs here:
# 1. Durability: Unflushed data may be lost if you are not using replication.
# 2. Latency: Very large flush intervals may lead to latency spikes when the flush does occur as there will be a lot of data to flush.
# 3. Throughput: The flush is generally the most expensive operation, and a small flush interval may lead to exceessive seeks.
# The settings below allow one to configure the flush policy to flush data after a period of time or
# every N messages (or both). This can be done globally and overridden on a per-topic basis.
# The number of messages to accept before forcing a flush of data to disk
#log.flush.interval.messages=10000
# The maximum amount of time a message can sit in a log before we force a flush
#log.flush.interval.ms=1000
############################# Log Retention Policy #############################
# The following configurations control the disposal of log segments. The policy can
# be set to delete segments after a period of time, or after a given size has accumulated.
# A segment will be deleted whenever *either* of these criteria are met. Deletion always happens
# from the end of the log.
# The minimum age of a log file to be eligible for deletion
log.retention.hours=168
# A size-based retention policy for logs. Segments are pruned from the log as long as the remaining
# segments don't drop below log.retention.bytes.
#log.retention.bytes=1073741824
# The maximum size of a log segment file. When this size is reached a new log segment will be created.
log.segment.bytes=1073741824
# The interval at which log segments are checked to see if they can be deleted according
# to the retention policies
log.retention.check.interval.ms=300000
############################# Zookeeper #############################
# Zookeeper connection string (see zookeeper docs for details).
# This is a comma separated host:port pairs, each corresponding to a zk
# server. e.g. "127.0.0.1:3000,127.0.0.1:3001,127.0.0.1:3002".
# You can also append an optional chroot string to the urls to specify the
# root directory for all kafka znodes.
zookeeper.connect=localhost:2181
# Timeout in ms for connecting to zookeeper
zookeeper.connection.timeout.ms=6000
没有合适的资源?快使用搜索试试~ 我知道了~
kafka_2.10-0.10.1.0.tgz
需积分: 11 37 下载量 39 浏览量
2017-11-16
10:50:13
上传
评论 1
收藏 33.52MB TGZ 举报
温馨提示
共130个文件
jar:62个
sh:27个
bat:19个
kafka_2.10-0.10.1.0.tgz
资源推荐
资源详情
资源评论
收起资源包目录
kafka_2.10-0.10.1.0.tgz (130个子文件)
kafka_2.10-0.10.1.0-test.jar.asc 821B
kafka_2.10-0.10.1.0.jar.asc 821B
kafka_2.10-0.10.1.0-sources.jar.asc 821B
kafka_2.10-0.10.1.0-test-sources.jar.asc 821B
kafka_2.10-0.10.1.0-scaladoc.jar.asc 821B
kafka_2.10-0.10.1.0-javadoc.jar.asc 821B
kafka-run-class.bat 4KB
zookeeper-server-start.bat 1KB
kafka-server-start.bat 1KB
kafka-server-stop.bat 997B
zookeeper-shell.bat 975B
kafka-producer-perf-test.bat 938B
kafka-consumer-perf-test.bat 936B
kafka-console-consumer.bat 923B
kafka-console-producer.bat 923B
zookeeper-server-stop.bat 905B
kafka-preferred-replica-election.bat 898B
kafka-reassign-partitions.bat 886B
kafka-replica-verification.bat 884B
kafka-consumer-offset-checker.bat 882B
kafka-simple-consumer-shell.bat 880B
kafka-replay-log-producer.bat 878B
kafka-topics.bat 873B
kafka-mirror-maker.bat 872B
kafka-acls.bat 871B
scala-library-2.10.6.jar 6.8MB
rocksdbjni-4.9.0.jar 6.11MB
kafka_2.10-0.10.1.0.jar 5.27MB
kafka_2.10-0.10.1.0-test.jar 2.87MB
guava-18.0.jar 2.15MB
jackson-databind-2.6.3.jar 1.12MB
snappy-java-1.1.2.6.jar 1.01MB
jersey-guava-2.22.2.jar 949KB
jersey-server-2.22.2.jar 929KB
zookeeper-3.4.8.jar 786KB
kafka-clients-0.10.1.0.jar 780KB
javassist-3.18.2-GA.jar 698KB
jersey-common-2.22.2.jar 682KB
kafka_2.10-0.10.1.0-sources.jar 672KB
log4j-1.2.17.jar 478KB
kafka-streams-0.10.1.0.jar 452KB
jetty-server-9.2.15.v20160210.jar 409KB
kafka_2.10-0.10.1.0-test-sources.jar 404KB
jetty-util-9.2.15.v20160210.jar 360KB
connect-runtime-0.10.1.0.jar 266KB
jackson-core-2.6.3.jar 253KB
lz4-1.3.0.jar 231KB
hk2-locator-2.4.0-b34.jar 177KB
hk2-api-2.4.0-b34.jar 175KB
jersey-client-2.22.2.jar 163KB
reflections-0.9.10.jar 127KB
jetty-http-9.2.15.v20160210.jar 124KB
jetty-servlets-9.2.15.v20160210.jar 122KB
hk2-utils-2.4.0-b34.jar 116KB
jetty-servlet-9.2.15.v20160210.jar 113KB
javax.ws.rs-api-2.0.1.jar 113KB
jetty-io-9.2.15.v20160210.jar 106KB
jetty-security-9.2.15.v20160210.jar 94KB
javax.servlet-api-3.1.0.jar 94KB
argparse4j-0.5.0.jar 82KB
metrics-core-2.2.0.jar 80KB
zkclient-0.9.jar 73KB
jersey-media-jaxb-2.22.2.jar 71KB
jopt-simple-4.9.jar 65KB
jersey-container-servlet-core-2.22.2.jar 65KB
validation-api-1.1.0.Final.jar 62KB
kafka_2.10-0.10.1.0-javadoc.jar 53KB
connect-api-0.10.1.0.jar 46KB
kafka-tools-0.10.1.0.jar 46KB
jackson-annotations-2.6.0.jar 46KB
slf4j-api-1.7.21.jar 40KB
connect-json-0.10.1.0.jar 33KB
jackson-module-jaxb-annotations-2.6.3.jar 32KB
jackson-jaxrs-base-2.6.3.jar 29KB
kafka-streams-examples-0.10.1.0.jar 27KB
javax.annotation-api-1.2.jar 26KB
osgi-resource-locator-1.0.1.jar 20KB
jersey-container-servlet-2.22.2.jar 18KB
jackson-jaxrs-json-provider-2.6.3.jar 16KB
jetty-continuation-9.2.15.v20160210.jar 16KB
aopalliance-repackaged-2.4.0-b34.jar 14KB
kafka-log4j-appender-0.10.1.0.jar 13KB
slf4j-log4j12-1.7.21.jar 10KB
kafka_2.10-0.10.1.0-scaladoc.jar 9KB
connect-file-0.10.1.0.jar 9KB
javax.inject-2.4.0-b34.jar 6KB
javax.inject-1.jar 2KB
LICENSE 28KB
NOTICE 336B
server.properties 5KB
log4j.properties 4KB
connect-distributed.properties 3KB
connect-standalone.properties 2KB
producer.properties 2KB
consumer.properties 1KB
connect-log4j.properties 1KB
tools-log4j.properties 1KB
zookeeper.properties 1023B
connect-console-source.properties 909B
connect-console-sink.properties 906B
共 130 条
- 1
- 2
资源评论
beep_
- 粉丝: 41
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功