Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Commit

Permalink
[COPS-5996] Add support for max.incremental.fetch.session.cache.slots…
Browse files Browse the repository at this point in the history
… option. (#461)

Co-authored-by: Rishabh Bohra <[email protected]>
  • Loading branch information
kaiwalyajoshi and rishabh96b authored Apr 15, 2020
1 parent d63d40c commit 79c2785
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frameworks/kafka/src/main/dist/server.properties.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,8 @@ max.connections={{KAFKA_MAX_CONNECTIONS}}
max.connections.per.ip.overrides={{KAFKA_MAX_CONNECTIONS_PER_IP_OVERRIDES}}
max.connections.per.ip={{KAFKA_MAX_CONNECTIONS_PER_IP}}

max.incremental.fetch.session.cache.slots={{KAFKA_MAX_INCREMENTAL_FETCH_SESSION_CACHE_SLOTS}}

message.max.bytes={{KAFKA_MESSAGE_MAX_BYTES}}

kafka.metrics.reporters={{KAFKA_METRICS_REPORTERS}}
Expand Down
7 changes: 7 additions & 0 deletions frameworks/kafka/universe/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -1180,6 +1180,13 @@
"description": "Per-ip or hostname overrides to the default maximum number of connections",
"default": ""
},
"max_incremental_fetch_session_cache_slots": {
"title": "max.incremental.fetch.session.cache.slots",
"description": "The maximum number of incremental fetch sessions that we will maintain",
"type": "integer",
"default": 1000,
"minimum": 0
},
"num_partitions": {
"title": "num.partitions",
"description": "The default number of log partitions per topic",
Expand Down
1 change: 1 addition & 0 deletions frameworks/kafka/universe/marathon.json.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@
"TASKCFG_ALL_KAFKA_OFFSETS_TOPIC_NUM_PARTITIONS": "{{kafka.offsets_topic_num_partitions}}",
"TASKCFG_ALL_KAFKA_MAX_CONNECTIONS": "{{kafka.max_connections}}",
"TASKCFG_ALL_KAFKA_MAX_CONNECTIONS_PER_IP_OVERRIDES": "{{kafka.max_connections_per_ip_overrides}}",
"TASKCFG_ALL_KAFKA_MAX_INCREMENTAL_FETCH_SESSION_CACHE_SLOTS": "{{kafka.max_incremental_fetch_session_cache_slots}}",
"TASKCFG_ALL_KAFKA_LEADER_IMBALANCE_CHECK_INTERVAL_SECONDS": "{{kafka.leader_imbalance_check_interval_seconds}}",
"TASKCFG_ALL_KAFKA_INTER_BROKER_PROTOCOL_VERSION": "{{kafka.inter_broker_protocol_version}}",
"TASKCFG_ALL_KAFKA_LOG_MESSAGE_FORMAT_VERSION": "{{kafka.log_message_format_version}}",
Expand Down

0 comments on commit 79c2785

Please sign in to comment.