Skip to content

Commit 41f6762

Browse files
committed
Kafka advanced config defaults: set default values for advanced config settings
1 parent 38f74b1 commit 41f6762

File tree

1 file changed

+38
-1
lines changed

1 file changed

+38
-1
lines changed

specification/resources/databases/models/advanced_config/kafka_advanced_config.yml

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ properties:
1717
- uncompressed
1818
- producer
1919
example: gzip
20+
default: uncompressed
2021
group_initial_rebalance_delay_ms:
2122
description: >-
2223
The amount of time, in milliseconds, the group coordinator
@@ -29,6 +30,7 @@ properties:
2930
example: 3000
3031
minimum: 0
3132
maximum: 300000
33+
default: 3000
3234
group_min_session_timeout_ms:
3335
description: >-
3436
The minimum allowed session timeout for registered consumers.
@@ -38,6 +40,7 @@ properties:
3840
example: 6000
3941
minimum: 0
4042
maximum: 60000
43+
default: 6000
4144
group_max_session_timeout_ms:
4245
description: >-
4346
The maximum allowed session timeout for registered consumers.
@@ -47,6 +50,7 @@ properties:
4750
example: 1800000
4851
minimum: 0
4952
maximum: 1800000
53+
default: 1800000
5054
connections_max_idle_ms:
5155
description: >-
5256
Idle connections timeout: the server socket processor
@@ -55,6 +59,7 @@ properties:
5559
minimum: 1000
5660
example: 540000
5761
maximum: 3600000
62+
default: 600000
5863
max_incremental_fetch_session_cache_slots:
5964
description: >-
6065
The maximum number of incremental fetch sessions that the
@@ -63,27 +68,31 @@ properties:
6368
example: 1000
6469
minimum: 1000
6570
maximum: 10000
71+
default: 1000
6672
message_max_bytes:
6773
description: >-
6874
The maximum size of message that the server can receive.
6975
type: integer
7076
example: 1048588
7177
minimum: 0
7278
maximum: 100001200
79+
default: 1048588
7380
offsets_retention_minutes:
7481
description: >-
7582
Log retention window in minutes for offsets topic
7683
type: integer
7784
example: 10080
7885
minimum: 1
7986
maximum: 2147483647
87+
default: 10080
8088
log_cleaner_delete_retention_ms:
8189
description: >-
8290
How long are delete records retained?
8391
type: integer
8492
minimum: 0
8593
maximum: 315569260000
8694
example: 86400000
95+
default: 86400000
8796
log_cleaner_min_cleanable_ratio:
8897
description: >-
8998
Controls log compactor frequency. Larger value means more
@@ -94,6 +103,7 @@ properties:
94103
minimum: 0.2
95104
maximum: 0.9
96105
example: 0.5
106+
default: 0.5
97107
log_cleaner_max_compaction_lag_ms:
98108
description: >-
99109
The maximum amount of time message will remain uncompacted.
@@ -102,6 +112,7 @@ properties:
102112
minimum: 30000
103113
maximum: 9223372036854776000
104114
example: 60000
115+
defeault: 9223372036854775807
105116
log_cleaner_min_compaction_lag_ms:
106117
description: >-
107118
The minimum time a message will remain uncompacted in the
@@ -120,6 +131,7 @@ properties:
120131
- compact
121132
- compact,delete
122133
example: delete
134+
default: delete
123135
log_flush_interval_messages:
124136
description: >-
125137
The number of messages accumulated on a log partition before
@@ -137,6 +149,7 @@ properties:
137149
minimum: 0
138150
maximum: 9223372036854776000
139151
example: 1000000
152+
default: 9223372036854775807
140153
log_index_interval_bytes:
141154
description: >-
142155
The interval with which Kafka adds an entry to the offset
@@ -145,19 +158,22 @@ properties:
145158
minimum: 0
146159
maximum: 104857600
147160
example: 4096
161+
default: 4096
148162
log_index_size_max_bytes:
149163
description: >-
150164
The maximum size in bytes of the offset index
151165
type: integer
152166
minimum: 1048576
153167
maximum: 104857600
154168
example: 10485760
169+
default: 10485760
155170
log_message_downconversion_enable:
156171
description: >-
157172
This configuration controls whether down-conversion of
158173
message formats is enabled to satisfy consume requests.
159174
type: boolean
160175
example: true
176+
default: true
161177
log_message_timestamp_type:
162178
description: >-
163179
Define whether the timestamp in the message is message
@@ -167,6 +183,7 @@ properties:
167183
- CreateTime
168184
- LogAppendTime
169185
example: CreateTime
186+
default: CreateTime
170187
log_message_timestamp_difference_max_ms:
171188
description: >-
172189
The maximum difference allowed between the timestamp when
@@ -175,25 +192,29 @@ properties:
175192
minimum: 0
176193
maximum: 9223372036854776000
177194
example: 1000000
195+
default: 9223372036854775807
178196
log_preallocate:
179197
description: >-
180198
Controls whether to preallocate a file when creating a new segment
181199
type: boolean
182200
example: false
201+
default: false
183202
log_retention_bytes:
184203
description: >-
185204
The maximum size of the log before deleting messages
186205
type: integer
187206
minimum: -1
188207
maximum: 9223372036854776000
189208
example: 1000000
209+
default: -1
190210
log_retention_hours:
191211
description: >-
192212
The number of hours to keep a log file before deleting it
193213
type: integer
194214
minimum: -1
195215
maximum: 2147483647
196216
example: 1000000
217+
default: 168
197218
log_retention_ms:
198219
description: >-
199220
The number of milliseconds to keep a log file before deleting
@@ -203,6 +224,7 @@ properties:
203224
minimum: -1
204225
maximum: 9223372036854776000
205226
example: 100000000
227+
default: 604800000
206228
log_roll_jitter_ms:
207229
description: >-
208230
The maximum jitter to subtract from logRollTimeMillis (in
@@ -211,6 +233,7 @@ properties:
211233
minimum: 0
212234
maximum: 9223372036854776000
213235
example: 10000000
236+
default: 604800000
214237
log_roll_ms:
215238
description: >-
216239
The maximum time before a new log segment is rolled out
@@ -219,13 +242,15 @@ properties:
219242
minimum: 1
220243
maximum: 9223372036854776000
221244
example: 1000000
245+
default: 604800000
222246
log_segment_bytes:
223247
description: >-
224248
The maximum size of a single log file
225249
type: integer
226250
minimum: 10485760
227251
maximum: 1073741824
228252
example: 100000000
253+
default: 1073741824
229254
log_segment_delete_delay_ms:
230255
description: >-
231256
The amount of time to wait before deleting a file from
@@ -234,11 +259,13 @@ properties:
234259
minimum: 0
235260
maximum: 3600000
236261
example: 60000
262+
default: 60000
237263
auto_create_topics_enable:
238264
description: >-
239265
Enable auto creation of topics
240266
type: boolean
241267
example: true
268+
default: true
242269
min_insync_replicas:
243270
description: >-
244271
When a producer sets acks to 'all' (or '-1'), min_insync_replicas
@@ -248,20 +275,23 @@ properties:
248275
minimum: 1
249276
maximum: 7
250277
example: 1
278+
default: 1
251279
num_partitions:
252280
description: >-
253281
Number of partitions for autocreated topics
254282
type: integer
255283
minimum: 1
256284
maximum: 1000
257285
example: 10
286+
default: 1
258287
default_replication_factor:
259288
description: >-
260289
Replication factor for autocreated topics
261290
type: integer
262291
minimum: 1
263292
maximum: 10
264293
example: 2
294+
default: 3
265295
replica_fetch_max_bytes:
266296
description: >-
267297
The number of bytes of messages to attempt to fetch for
@@ -273,6 +303,7 @@ properties:
273303
minimum: 1048576
274304
maximum: 104857600
275305
example: 2097152
306+
default: 1048576
276307
replica_fetch_response_max_bytes:
277308
description: >-
278309
Maximum bytes expected for the entire fetch response (defaults
@@ -284,6 +315,7 @@ properties:
284315
minimum: 10485760
285316
maximum: 1048576000
286317
example: 20971520
318+
default: 10485760
287319
max_connections_per_ip:
288320
description: >-
289321
The maximum number of connections allowed from each ip
@@ -292,6 +324,7 @@ properties:
292324
minimum: 256
293325
maximum: 2147483647
294326
example: 512
327+
default: 2147483647
295328
producer_purgatory_purge_interval_requests:
296329
description: >-
297330
The purge interval (in number of requests) of the producer
@@ -300,6 +333,7 @@ properties:
300333
minimum: 10
301334
maximum: 10000
302335
example: 100
336+
default: 1000
303337
socket_request_max_bytes:
304338
description: >-
305339
The maximum number of bytes in a socket request (defaults
@@ -308,6 +342,7 @@ properties:
308342
minimum: 10485760
309343
maximum: 209715200
310344
example: 20971520
345+
default: 104857600
311346
transaction_state_log_segment_bytes:
312347
description: >-
313348
The transaction topic segment bytes should be kept relatively
@@ -317,6 +352,7 @@ properties:
317352
minimum: 1048576
318353
maximum: 2147483647
319354
example: 104857600
355+
default: 104857600
320356
transaction_remove_expired_transaction_cleanup_interval_ms:
321357
description: >-
322358
The interval at which to remove transactions that have
@@ -325,4 +361,5 @@ properties:
325361
type: integer
326362
minimum: 600000
327363
maximum: 3600000
328-
example: 3600000
364+
example: 3600000
365+
default: 3600000

0 commit comments

Comments
 (0)