mirror of https://github.com/milvus-io/milvus.git
enhance: adding the msgchannel section in generated yaml (#35466)
See #32168 Signed-off-by: Ted Xu <ted.xu@zilliz.com>pull/35433/head
parent
f99a761d87
commit
c6ae7d4d56
|
@ -282,6 +282,10 @@ func WriteYaml(w io.Writer) {
|
|||
{
|
||||
name: "dataNode",
|
||||
},
|
||||
{
|
||||
name: "msgChannel",
|
||||
header: "\n# This topic introduces the message channel-related configurations of Milvus.",
|
||||
},
|
||||
{
|
||||
name: "log",
|
||||
header: "\n# Configures the system log output.",
|
||||
|
|
|
@ -650,6 +650,54 @@ dataNode:
|
|||
clientMaxSendSize: 268435456 # The maximum size of each RPC request that the clients on dataNode can send, unit: byte
|
||||
clientMaxRecvSize: 536870912 # The maximum size of each RPC request that the clients on dataNode can receive, unit: byte
|
||||
|
||||
# This topic introduces the message channel-related configurations of Milvus.
|
||||
msgChannel:
|
||||
chanNamePrefix:
|
||||
# Root name prefix of the channel when a message channel is created.
|
||||
# It is recommended to change this parameter before starting Milvus for the first time.
|
||||
# To share a Pulsar instance among multiple Milvus instances, consider changing this to a name rather than the default one for each Milvus instance before you start them.
|
||||
cluster: by-dev
|
||||
# Sub-name prefix of the message channel where the root coord publishes time tick messages.
|
||||
# The complete channel name prefix is ${msgChannel.chanNamePrefix.cluster}-${msgChannel.chanNamePrefix.rootCoordTimeTick}
|
||||
# Caution: Changing this parameter after using Milvus for a period of time will affect your access to old data.
|
||||
# It is recommended to change this parameter before starting Milvus for the first time.
|
||||
rootCoordTimeTick: rootcoord-timetick
|
||||
# Sub-name prefix of the message channel where the root coord publishes its own statistics messages.
|
||||
# The complete channel name prefix is ${msgChannel.chanNamePrefix.cluster}-${msgChannel.chanNamePrefix.rootCoordStatistics}
|
||||
# Caution: Changing this parameter after using Milvus for a period of time will affect your access to old data.
|
||||
# It is recommended to change this parameter before starting Milvus for the first time.
|
||||
rootCoordStatistics: rootcoord-statistics
|
||||
# Sub-name prefix of the message channel where the root coord publishes Data Manipulation Language (DML) messages.
|
||||
# The complete channel name prefix is ${msgChannel.chanNamePrefix.cluster}-${msgChannel.chanNamePrefix.rootCoordDml}
|
||||
# Caution: Changing this parameter after using Milvus for a period of time will affect your access to old data.
|
||||
# It is recommended to change this parameter before starting Milvus for the first time.
|
||||
rootCoordDml: rootcoord-dml
|
||||
replicateMsg: replicate-msg
|
||||
# Sub-name prefix of the message channel where the query node publishes time tick messages.
|
||||
# The complete channel name prefix is ${msgChannel.chanNamePrefix.cluster}-${msgChannel.chanNamePrefix.queryTimeTick}
|
||||
# Caution: Changing this parameter after using Milvus for a period of time will affect your access to old data.
|
||||
# It is recommended to change this parameter before starting Milvus for the first time.
|
||||
queryTimeTick: queryTimeTick
|
||||
# Sub-name prefix of the message channel where the data coord publishes time tick messages.
|
||||
# The complete channel name prefix is ${msgChannel.chanNamePrefix.cluster}-${msgChannel.chanNamePrefix.dataCoordTimeTick}
|
||||
# Caution: Changing this parameter after using Milvus for a period of time will affect your access to old data.
|
||||
# It is recommended to change this parameter before starting Milvus for the first time.
|
||||
dataCoordTimeTick: datacoord-timetick-channel
|
||||
# Sub-name prefix of the message channel where the data coord publishes segment information messages.
|
||||
# The complete channel name prefix is ${msgChannel.chanNamePrefix.cluster}-${msgChannel.chanNamePrefix.dataCoordSegmentInfo}
|
||||
# Caution: Changing this parameter after using Milvus for a period of time will affect your access to old data.
|
||||
# It is recommended to change this parameter before starting Milvus for the first time.
|
||||
dataCoordSegmentInfo: segment-info-channel
|
||||
subNamePrefix:
|
||||
# Subscription name prefix of the data coord.
|
||||
# Caution: Changing this parameter after using Milvus for a period of time will affect your access to old data.
|
||||
# It is recommended to change this parameter before starting Milvus for the first time.
|
||||
dataCoordSubNamePrefix: dataCoord
|
||||
# Subscription name prefix of the data node.
|
||||
# Caution: Changing this parameter after using Milvus for a period of time will affect your access to old data.
|
||||
# It is recommended to change this parameter before starting Milvus for the first time.
|
||||
dataNodeSubNamePrefix: dataNode
|
||||
|
||||
# Configures the system log output.
|
||||
log:
|
||||
# Milvus log level. Option: debug, info, warn, error, panic, and fatal.
|
||||
|
|
|
@ -285,6 +285,9 @@ func (p *commonConfig) init(base *BaseTable) {
|
|||
Version: "2.1.0",
|
||||
FallbackKeys: []string{"common.chanNamePrefix.cluster"},
|
||||
DefaultValue: "by-dev",
|
||||
Doc: `Root name prefix of the channel when a message channel is created.
|
||||
It is recommended to change this parameter before starting Milvus for the first time.
|
||||
To share a Pulsar instance among multiple Milvus instances, consider changing this to a name rather than the default one for each Milvus instance before you start them.`,
|
||||
PanicIfEmpty: true,
|
||||
Forbidden: true,
|
||||
Export: true,
|
||||
|
@ -308,8 +311,12 @@ func (p *commonConfig) init(base *BaseTable) {
|
|||
Version: "2.1.0",
|
||||
FallbackKeys: []string{"common.chanNamePrefix.rootCoordTimeTick"},
|
||||
PanicIfEmpty: true,
|
||||
Formatter: chanNamePrefix,
|
||||
Export: true,
|
||||
Doc: `Sub-name prefix of the message channel where the root coord publishes time tick messages.
|
||||
The complete channel name prefix is ${msgChannel.chanNamePrefix.cluster}-${msgChannel.chanNamePrefix.rootCoordTimeTick}
|
||||
Caution: Changing this parameter after using Milvus for a period of time will affect your access to old data.
|
||||
It is recommended to change this parameter before starting Milvus for the first time.`,
|
||||
Formatter: chanNamePrefix,
|
||||
Export: true,
|
||||
}
|
||||
p.RootCoordTimeTick.Init(base.mgr)
|
||||
|
||||
|
@ -319,8 +326,12 @@ func (p *commonConfig) init(base *BaseTable) {
|
|||
Version: "2.1.0",
|
||||
FallbackKeys: []string{"common.chanNamePrefix.rootCoordStatistics"},
|
||||
PanicIfEmpty: true,
|
||||
Formatter: chanNamePrefix,
|
||||
Export: true,
|
||||
Doc: `Sub-name prefix of the message channel where the root coord publishes its own statistics messages.
|
||||
The complete channel name prefix is ${msgChannel.chanNamePrefix.cluster}-${msgChannel.chanNamePrefix.rootCoordStatistics}
|
||||
Caution: Changing this parameter after using Milvus for a period of time will affect your access to old data.
|
||||
It is recommended to change this parameter before starting Milvus for the first time.`,
|
||||
Formatter: chanNamePrefix,
|
||||
Export: true,
|
||||
}
|
||||
p.RootCoordStatistics.Init(base.mgr)
|
||||
|
||||
|
@ -330,8 +341,12 @@ func (p *commonConfig) init(base *BaseTable) {
|
|||
Version: "2.1.0",
|
||||
FallbackKeys: []string{"common.chanNamePrefix.rootCoordDml"},
|
||||
PanicIfEmpty: true,
|
||||
Formatter: chanNamePrefix,
|
||||
Export: true,
|
||||
Doc: `Sub-name prefix of the message channel where the root coord publishes Data Manipulation Language (DML) messages.
|
||||
The complete channel name prefix is ${msgChannel.chanNamePrefix.cluster}-${msgChannel.chanNamePrefix.rootCoordDml}
|
||||
Caution: Changing this parameter after using Milvus for a period of time will affect your access to old data.
|
||||
It is recommended to change this parameter before starting Milvus for the first time.`,
|
||||
Formatter: chanNamePrefix,
|
||||
Export: true,
|
||||
}
|
||||
p.RootCoordDml.Init(base.mgr)
|
||||
|
||||
|
@ -352,8 +367,12 @@ func (p *commonConfig) init(base *BaseTable) {
|
|||
Version: "2.1.0",
|
||||
FallbackKeys: []string{"common.chanNamePrefix.queryTimeTick"},
|
||||
PanicIfEmpty: true,
|
||||
Formatter: chanNamePrefix,
|
||||
Export: true,
|
||||
Doc: `Sub-name prefix of the message channel where the query node publishes time tick messages.
|
||||
The complete channel name prefix is ${msgChannel.chanNamePrefix.cluster}-${msgChannel.chanNamePrefix.queryTimeTick}
|
||||
Caution: Changing this parameter after using Milvus for a period of time will affect your access to old data.
|
||||
It is recommended to change this parameter before starting Milvus for the first time.`,
|
||||
Formatter: chanNamePrefix,
|
||||
Export: true,
|
||||
}
|
||||
p.QueryCoordTimeTick.Init(base.mgr)
|
||||
|
||||
|
@ -363,8 +382,12 @@ func (p *commonConfig) init(base *BaseTable) {
|
|||
Version: "2.1.0",
|
||||
FallbackKeys: []string{"common.chanNamePrefix.dataCoordTimeTick"},
|
||||
PanicIfEmpty: true,
|
||||
Formatter: chanNamePrefix,
|
||||
Export: true,
|
||||
Doc: `Sub-name prefix of the message channel where the data coord publishes time tick messages.
|
||||
The complete channel name prefix is ${msgChannel.chanNamePrefix.cluster}-${msgChannel.chanNamePrefix.dataCoordTimeTick}
|
||||
Caution: Changing this parameter after using Milvus for a period of time will affect your access to old data.
|
||||
It is recommended to change this parameter before starting Milvus for the first time.`,
|
||||
Formatter: chanNamePrefix,
|
||||
Export: true,
|
||||
}
|
||||
p.DataCoordTimeTick.Init(base.mgr)
|
||||
|
||||
|
@ -374,8 +397,12 @@ func (p *commonConfig) init(base *BaseTable) {
|
|||
Version: "2.1.0",
|
||||
FallbackKeys: []string{"common.chanNamePrefix.dataCoordSegmentInfo"},
|
||||
PanicIfEmpty: true,
|
||||
Formatter: chanNamePrefix,
|
||||
Export: true,
|
||||
Doc: `Sub-name prefix of the message channel where the data coord publishes segment information messages.
|
||||
The complete channel name prefix is ${msgChannel.chanNamePrefix.cluster}-${msgChannel.chanNamePrefix.dataCoordSegmentInfo}
|
||||
Caution: Changing this parameter after using Milvus for a period of time will affect your access to old data.
|
||||
It is recommended to change this parameter before starting Milvus for the first time.`,
|
||||
Formatter: chanNamePrefix,
|
||||
Export: true,
|
||||
}
|
||||
p.DataCoordSegmentInfo.Init(base.mgr)
|
||||
|
||||
|
@ -385,8 +412,11 @@ func (p *commonConfig) init(base *BaseTable) {
|
|||
Version: "2.1.0",
|
||||
FallbackKeys: []string{"common.subNamePrefix.dataCoordSubNamePrefix"},
|
||||
PanicIfEmpty: true,
|
||||
Formatter: chanNamePrefix,
|
||||
Export: true,
|
||||
Doc: `Subscription name prefix of the data coord.
|
||||
Caution: Changing this parameter after using Milvus for a period of time will affect your access to old data.
|
||||
It is recommended to change this parameter before starting Milvus for the first time.`,
|
||||
Formatter: chanNamePrefix,
|
||||
Export: true,
|
||||
}
|
||||
p.DataCoordSubName.Init(base.mgr)
|
||||
|
||||
|
@ -404,8 +434,11 @@ func (p *commonConfig) init(base *BaseTable) {
|
|||
Version: "2.1.0",
|
||||
FallbackKeys: []string{"common.subNamePrefix.dataNodeSubNamePrefix"},
|
||||
PanicIfEmpty: true,
|
||||
Formatter: chanNamePrefix,
|
||||
Export: true,
|
||||
Doc: `Subscription name prefix of the data node.
|
||||
Caution: Changing this parameter after using Milvus for a period of time will affect your access to old data.
|
||||
It is recommended to change this parameter before starting Milvus for the first time.`,
|
||||
Formatter: chanNamePrefix,
|
||||
Export: true,
|
||||
}
|
||||
p.DataNodeSubName.Init(base.mgr)
|
||||
|
||||
|
|
Loading…
Reference in New Issue