68 lines
1.7 KiB
YAML
68 lines
1.7 KiB
YAML
attributes:
|
|
|
|
kafka_jvm_heap_size:
|
|
value: '8'
|
|
label: 'Kafka JVM Heap size'
|
|
description: "The JVM Heap size for Kafka in GB"
|
|
weight: 10
|
|
type: "text"
|
|
regex:
|
|
source: '^\d+$'
|
|
error: "You must provide a number"
|
|
|
|
zookeeper_jvm_heap_size:
|
|
value: '3'
|
|
label: 'ZooKeeper JVM Heap size'
|
|
description: 'The JVM Heap size for ZooKeeper in GB'
|
|
weight: 15
|
|
type: "text"
|
|
regex:
|
|
source: '^\d+$'
|
|
error: "You must provide a number"
|
|
|
|
advanced_settings:
|
|
label: "Advanced settings"
|
|
value: false
|
|
description: "The plugin determines the best settings if not set"
|
|
weight: 20
|
|
type: checkbox
|
|
|
|
num_partitions:
|
|
value: '5'
|
|
label: 'Number of partitions'
|
|
description: "The number of partitions per topic. Default is 5."
|
|
weight: 22
|
|
type: "text"
|
|
regex:
|
|
source: '^\d+$'
|
|
error: "You must provide a number"
|
|
restrictions:
|
|
- condition: "settings:kafka.advanced_settings.value == false"
|
|
action: hide
|
|
|
|
replication_factor:
|
|
value: ''
|
|
label: 'Replication factor'
|
|
description: 'The partition replication factor. Default is number of nodes in the Kafka cluster'
|
|
weight: 23
|
|
type: "text"
|
|
regex:
|
|
source: '^\d{0,2}$'
|
|
error: "You must provide either a number or leave it empty"
|
|
restrictions:
|
|
- condition: "settings:kafka.advanced_settings.value == false"
|
|
action: hide
|
|
|
|
log_retention_hours:
|
|
value: '168'
|
|
label: 'Retention period'
|
|
description: 'The log retention in hours. Default is 168 hours (7 days).'
|
|
weight: 24
|
|
type: "text"
|
|
regex:
|
|
source: '^\d+$'
|
|
error: "You must provide a number"
|
|
restrictions:
|
|
- condition: "settings:kafka.advanced_settings.value == false"
|
|
action: hide
|