package
0.0.0-20250114055629-03741c8521a8
Repository: https://github.com/apache/rocketmq-operator.git
Documentation: pkg.go.dev
# Constants
BasicCommand is basic command of exec function.
BrokerConfigName is the name of mounted configuration file.
BrokerConfigDir is the directory of the mounted config file.
BrokerContainerName is the name of broker container.
BrokerHighAvailabilityContainerPort is the high availability port number of broker container.
BrokerHighAvailabilityContainerPortName is the high availability port name of broker container.
BrokerMainContainerPort is the main port number of broker container.
BrokerMainContainerPortName is the main port name of broker container.
BrokerName is the broker name field index of the output when using command check consume progress.
BrokerVipContainerPort is the VIP port number of broker container.
BrokerVipContainerPortName is the VIP port name of broker container.
CheckConsumeFinishIntervalInSecond is the interval of checking whether the consumption process is finished in second.
ConsoleContainerPort is the port number of RocketMQ Console container.
ConsoleContainerPortName is the port name of RocketMQ Console container.
ControllerContainerName is the name of Controller container.
TODO: get paths by container ENV or actual value instead of fixed constant.
Diff is the diff field index of the output when using command check consume progress.
EnvBrokerClusterName is the container environment variable name of broker cluster name.
EnvBrokerId is the container environment variable name of broker id.
EnvBrokerName is the container environment variable name of broker name.
EnvControllerAddr is the container environment variable name of Controller address in Broker.
the container environment variable name of DLeger group.
EnvControllerDLegerPeers is the container environment variable name of DLeger peers Format: {unique id}-{IP of that controller}.
the container environment variable name of persistent storage directory.
the container environment variable name of in Broker.
EnvNameServiceAddress is the container environment variable name of name server list.
EnvPodIp is the container environment variable name of pod ip.
LogMountPath is the directory of RocketMQ log files.
LogSubPathName is the sub-path name of log dir under mounted host dir.
MinIpListLength is the threshold value if the name server list parameter length is shorter than this will be considered as invalid.
MinMetadataJsonFileSize is the threshold value if file length is lower than this will be considered as invalid.
NameServiceMainContainerPort is the main port number of name server container.
NameServiceMainContainerPortName is the main port name of name server container.
ParamNameServiceAddress is the name of name server list parameter.
RequeueIntervalInSecond is an universal interval of the reconcile function.
RestartBrokerPodIntervalInSecond is restart broker pod interval in second.
StorageModeEmptyDir is the name of EmptyDir storage mode.
StorageModeHostPath is the name pf HostPath storage mode.
StorageModeStorageClass is the name of StorageClass storage mode.
StoreConfigDir is the directory of config file.
StoreMountPath is the directory of RocketMQ store files.
StoreSubPathName is the sub-path name of store dir under mounted host dir.
SubscriptionGroupJsonDir is the directory of subscriptionGroup.json.
Topic is the topic field index of the output when using command check consume progress.
TopicJsonDir is the directory of topics.json.
TopicListConsumerGroup is the consumer group field index of the output when using command check topic list.
TopicListTopic is the topic field index of the output when using command check topic list.
UpdateBrokerConfig is update broker config command.
WaitForNameServerReadyInSecond is the time broker sleep for waiting nameserver ready in second.
# Variables
AdminToolDir is the RocketMQ Admin directory in operator image.