67
67
68
68
# The number of threads per data directory to be used for log recovery at startup and flushing at shutdown.
69
69
# This value is recommended to be increased for installations with data dirs located in RAID array.
70
- num.recovery.threads.per.data.dir=1
70
+ # num.recovery.threads.per.data.dir=1
71
71
72
72
############################# Server Basics #############################
73
73
78
78
79
79
############################# Socket Server Settings #############################
80
80
81
- # The address the socket server listens on. It will get the value returned from
81
+ # The address the socket server listens on. It will get the value returned from
82
82
# java.net.InetAddress.getCanonicalHostName() if not configured.
83
83
# FORMAT:
84
84
# listeners = listener_name://host_name:port
87
87
#listeners=PLAINTEXT://:9092
88
88
listeners=OUTSIDE://:9094,PLAINTEXT://:9092
89
89
90
- # Hostname and port the broker will advertise to producers and consumers. If not set,
90
+ # Hostname and port the broker will advertise to producers and consumers. If not set,
91
91
# it uses the value for "listeners" if configured. Otherwise, it will use the value
92
92
# returned from java.net.InetAddress.getCanonicalHostName().
93
93
#advertised.listeners=PLAINTEXT://your.host.name:9092
@@ -99,19 +99,19 @@ data:
99
99
inter.broker.listener.name=PLAINTEXT
100
100
101
101
# The number of threads that the server uses for receiving requests from the network and sending responses to the network
102
- num.network.threads=3
102
+ # num.network.threads=3
103
103
104
104
# The number of threads that the server uses for processing requests, which may include disk I/O
105
- num.io.threads=8
105
+ # num.io.threads=8
106
106
107
107
# The send buffer (SO_SNDBUF) used by the socket server
108
- socket.send.buffer.bytes=102400
108
+ # socket.send.buffer.bytes=102400
109
109
110
110
# The receive buffer (SO_RCVBUF) used by the socket server
111
- socket.receive.buffer.bytes=102400
111
+ # socket.receive.buffer.bytes=102400
112
112
113
113
# The maximum size of a request that the socket server will accept (protection against OOM)
114
- socket.request.max.bytes=104857600
114
+ # socket.request.max.bytes=104857600
115
115
116
116
############################# Internal Topic Settings #############################
117
117
# The replication factor for the group metadata internal topics "__consumer_offsets" and "__transaction_state"
@@ -127,7 +127,7 @@ data:
127
127
# There are a few important trade-offs here:
128
128
# 1. Durability: Unflushed data may be lost if you are not using replication.
129
129
# 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.
130
- # 3. Throughput: The flush is generally the most expensive operation, and a small flush interval may lead to exceessive seeks.
130
+ # 3. Throughput: The flush is generally the most expensive operation, and a small flush interval may lead to excessive seeks.
131
131
# The settings below allow one to configure the flush policy to flush data after a period of time or
132
132
# every N messages (or both). This can be done globally and overridden on a per-topic basis.
133
133
@@ -147,16 +147,16 @@ data:
147
147
# The minimum age of a log file to be eligible for deletion due to age
148
148
log.retention.hours=-1
149
149
150
- # A size-based retention policy for logs. Segments are pruned from the log as long as the remaining
151
- # segments don't drop below log.retention.bytes. Functions independently of log.retention.hours.
150
+ # A size-based retention policy for logs. Segments are pruned from the log unless the remaining
151
+ # segments drop below log.retention.bytes. Functions independently of log.retention.hours.
152
152
#log.retention.bytes=1073741824
153
153
154
154
# The maximum size of a log segment file. When this size is reached a new log segment will be created.
155
- log.segment.bytes=1073741824
155
+ # log.segment.bytes=1073741824
156
156
157
157
# The interval at which log segments are checked to see if they can be deleted according
158
158
# to the retention policies
159
- log.retention.check.interval.ms=300000
159
+ # log.retention.check.interval.ms=300000
160
160
161
161
############################# Zookeeper #############################
162
162
@@ -168,7 +168,7 @@ data:
168
168
zookeeper.connect=zookeeper:2181
169
169
170
170
# Timeout in ms for connecting to zookeeper
171
- zookeeper.connection.timeout.ms=6000
171
+ # zookeeper.connection.timeout.ms=6000
172
172
173
173
174
174
############################# Group Coordinator Settings #############################
@@ -178,7 +178,7 @@ data:
178
178
# The default value for this is 3 seconds.
179
179
# We override this to 0 here as it makes for a better out-of-the-box experience for development and testing.
180
180
# However, in production environments the default value of 3 seconds is more suitable as this will help to avoid unnecessary, and potentially expensive, rebalances during application startup.
181
- group.initial.rebalance.delay.ms=0
181
+ # group.initial.rebalance.delay.ms=0
182
182
183
183
log4j.properties : |-
184
184
# Unspecified loggers and loggers with additivity=true output to server.log and stdout
0 commit comments