Skip to content

Commit

Permalink
[manager]update app-kafka.yml comment (#788)
Browse files Browse the repository at this point in the history
Translate app-kafka.yml
  • Loading branch information
fcb-xiaobo authored Mar 27, 2023
1 parent 40a7618 commit 386e759
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion manager/src/main/resources/define/app-kafka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,26 @@ name:
zh-CN: Kafka消息系统
en-US: Kafka Message
params:
# field-字段名称标识符
# field-param field key
# field-字段名称标识符
- field: host
# name-param field display i18n name
# name-参数字段显示名称
name:
zh-CN: 主机Host
en-US: Host
# type-param field type(most mapping the html input type)
# type-字段类型,样式(大部分映射input标签type属性)
type: host
# required-true or false
# 是否是必输项 true-必填 false-可选
required: true
- field: port
name:
zh-CN: 端口
en-US: Port
type: number
# when type is number, range is required
# 当type为number时,用range表示范围
range: '[0,65535]'
required: true
Expand Down Expand Up @@ -64,6 +69,7 @@ metrics:
username: ^_^username^_^
password: ^_^password^_^
# jmx mbean object name
# jmx mbean 对象名
objectName: kafka.server:type=app-info,id=0
url: ^_^url^_^

Expand All @@ -86,6 +92,7 @@ metrics:
username: ^_^username^_^
password: ^_^password^_^
# jmx mbean object name
# jmx mbean 对象名
objectName: java.lang:type=Runtime
url: ^_^url^_^

Expand Down Expand Up @@ -131,13 +138,15 @@ metrics:
type: 0
protocol: jmx
jmx:
# host: ipv4 ipv6 domain
# 主机host: ipv4 ipv6 域名
host: ^_^host^_^
# 端口
port: ^_^port^_^
username: ^_^username^_^
password: ^_^password^_^
# jmx mbean object name
# jmx mbean 对象名
objectName: kafka.controller:type=KafkaController,name=ActiveControllerCount
url: ^_^url^_^

Expand All @@ -153,6 +162,7 @@ metrics:
username: ^_^username^_^
password: ^_^password^_^
# jmx mbean object name
# jmx mbean 对象名
objectName: kafka.server:type=ReplicaManager,name=PartitionCount
url: ^_^url^_^

Expand All @@ -168,6 +178,7 @@ metrics:
username: ^_^username^_^
password: ^_^password^_^
# jmx mbean object name
# jmx mbean 对象名
objectName: kafka.server:type=ReplicaManager,name=LeaderCount
url: ^_^url^_^

Expand Down Expand Up @@ -195,6 +206,7 @@ metrics:
username: ^_^username^_^
password: ^_^password^_^
# jmx mbean object name
# jmx mbean 对象名
objectName: kafka.server:type=KafkaRequestHandlerPool,name=RequestHandlerAvgIdlePercent
url: ^_^url^_^

Expand Down Expand Up @@ -222,6 +234,7 @@ metrics:
username: ^_^username^_^
password: ^_^password^_^
# jmx mbean object name
# jmx mbean 对象名
objectName: kafka.server:type=BrokerTopicMetrics,name=BytesInPerSec
url: ^_^url^_^

Expand Down Expand Up @@ -249,6 +262,7 @@ metrics:
username: ^_^username^_^
password: ^_^password^_^
# jmx mbean object name
# jmx mbean 对象名
objectName: kafka.server:type=BrokerTopicMetrics,name=BytesOutPerSec
url: ^_^url^_^

Expand Down Expand Up @@ -276,6 +290,7 @@ metrics:
username: ^_^username^_^
password: ^_^password^_^
# jmx mbean object name
# jmx mbean 对象名
objectName: kafka.server:type=BrokerTopicMetrics,name=ProduceMessageConversionsPerSec
url: ^_^url^_^

Expand Down Expand Up @@ -303,5 +318,6 @@ metrics:
username: ^_^username^_^
password: ^_^password^_^
# jmx mbean object name
# jmx mbean 对象名
objectName: kafka.server:type=BrokerTopicMetrics,name=TotalProduceRequestsPerSec
url: ^_^url^_^

0 comments on commit 386e759

Please sign in to comment.