ClusterChannels (message/cluster_broadcast.go)

milvus · pkg/streaming/util/message/cluster_broadcast.go · go · Apache-2.0
infra

Struct describing cluster channel topology for broadcasting.

// Source: https://github.com/milvus-io/milvus | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
package message

// ClusterChannels describes the physical channel topology of the cluster.
// Channels is the raw pchannel name list.
// ControlChannel is the control channel name (e.g. "pchannel0_vcchan").
//
// WithClusterLevelBroadcast uses this to build the broadcast channel list,
// substituting the control channel for the pchannel it resides on.
type ClusterChannels struct {
	Channels       []string
	ControlChannel string
}

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key