Enum rocketmq_remoting::code::request_code::RequestCode
source · pub enum RequestCode {
Show 130 variants
SendMessage = 10,
PullMessage = 11,
QueryMessage = 12,
QueryBrokerOffset = 13,
QueryConsumerOffset = 14,
UpdateConsumerOffset = 15,
UpdateAndCreateTopic = 17,
GetAllTopicConfig = 21,
GetTopicConfigList = 22,
GetTopicNameList = 23,
UpdateBrokerConfig = 25,
GetBrokerConfig = 26,
TriggerDeleteFiles = 27,
GetBrokerRuntimeInfo = 28,
SearchOffsetByTimestamp = 29,
GetMaxOffset = 30,
GetMinOffset = 31,
GetEarliestMsgStoreTime = 32,
ViewMessageById = 33,
HeartBeat = 34,
UnregisterClient = 35,
ConsumerSendMsgBack = 36,
EndTransaction = 37,
GetConsumerListByGroup = 38,
CheckTransactionState = 39,
NotifyConsumerIdsChanged = 40,
LockBatchMq = 41,
UnlockBatchMq = 42,
GetAllConsumerOffset = 43,
GetAllDelayOffset = 45,
CheckClientConfig = 46,
GetClientConfig = 47,
UpdateAndCreateAclConfig = 50,
DeleteAclConfig = 51,
GetBrokerClusterAclInfo = 52,
UpdateGlobalWhiteAddrsConfig = 53,
GetBrokerClusterAclConfig = 54,
GetTimerCheckPoint = 60,
GetTimerMetrics = 61,
PopMessage = 200_050,
AckMessage = 200_051,
BatchAckMessage = 200_151,
PeekMessage = 200_052,
ChangeMessageInvisibleTime = 200_053,
Notification = 200_054,
PollingInfo = 200_055,
PutKvConfig = 100,
GetKvConfig = 101,
DeleteKvConfig = 102,
RegisterBroker = 103,
UnregisterBroker = 104,
GetRouteinfoByTopic = 105,
GetBrokerClusterInfo = 106,
UpdateAndCreateSubscriptionGroup = 200,
GetAllSubscriptionGroupConfig = 201,
GetTopicStatsInfo = 202,
GetConsumerConnectionList = 203,
GetProducerConnectionList = 204,
WipeWritePermOfBroker = 205,
GetAllTopicListFromNameserver = 206,
DeleteSubscriptionGroup = 207,
GetConsumeStats = 208,
SuspendConsumer = 209,
ResumeConsumer = 210,
ResetConsumerOffsetInConsumer = 211,
ResetConsumerOffsetInBroker = 212,
AdjustConsumerThreadPool = 213,
WhoConsumeTheMessage = 214,
DeleteTopicInBroker = 215,
DeleteTopicInNamesrv = 216,
RegisterTopicInNamesrv = 217,
GetKvlistByNamespace = 219,
ResetConsumerClientOffset = 220,
GetConsumerStatusFromClient = 221,
InvokeBrokerToResetOffset = 222,
InvokeBrokerToGetConsumerStatus = 223,
QueryTopicConsumeByWho = 300,
GetTopicsByCluster = 224,
QueryTopicsByConsumer = 343,
QuerySubscriptionByConsumer = 345,
RegisterFilterServer = 301,
RegisterMessageFilterClass = 302,
QueryConsumeTimeSpan = 303,
GetSystemTopicListFromNs = 304,
GetSystemTopicListFromBroker = 305,
CleanExpiredConsumequeue = 306,
GetConsumerRunningInfo = 307,
QueryCorrectionOffset = 308,
ConsumeMessageDirectly = 309,
SendMessageV2 = 310,
GetUnitTopicList = 311,
GetHasUnitSubTopicList = 312,
GetHasUnitSubUnunitTopicList = 313,
CloneGroupOffset = 314,
ViewBrokerStatsData = 315,
CleanUnusedTopic = 316,
GetBrokerConsumeStats = 317,
UpdateNamesrvConfig = 318,
GetNamesrvConfig = 319,
SendBatchMessage = 320,
QueryConsumeQueue = 321,
QueryDataVersion = 322,
ResumeCheckHalfMessage = 323,
SendReplyMessage = 324,
SendReplyMessageV2 = 325,
PushReplyMessageToClient = 326,
AddWritePermOfBroker = 327,
GetTopicConfig = 351,
GetSubscriptionGroupConfig = 352,
UpdateAndGetGroupForbidden = 353,
LitePullMessage = 361,
QueryAssignment = 400,
SetMessageRequestMode = 401,
GetAllMessageRequestMode = 402,
UpdateAndCreateStaticTopic = 513,
GetBrokerMemberGroup = 901,
AddBroker = 902,
RemoveBroker = 903,
BrokerHeartbeat = 904,
NotifyMinBrokerIdChange = 905,
ExchangeBrokerHaInfo = 906,
GetBrokerHaStatus = 907,
ResetMasterFlushOffset = 908,
GetAllProducerInfo = 328,
DeleteExpiredCommitlog = 329,
UpdateColdDataFlowCtrConfig = 2_001,
RemoveColdDataFlowCtrConfig = 2_002,
GetColdDataFlowCtrInfo = 2_003,
SetCommitlogReadMode = 2_004,
Unknown = -9_999_999,
}Variants§
SendMessage = 10
PullMessage = 11
QueryMessage = 12
QueryBrokerOffset = 13
QueryConsumerOffset = 14
UpdateConsumerOffset = 15
UpdateAndCreateTopic = 17
GetAllTopicConfig = 21
GetTopicConfigList = 22
GetTopicNameList = 23
UpdateBrokerConfig = 25
GetBrokerConfig = 26
TriggerDeleteFiles = 27
GetBrokerRuntimeInfo = 28
SearchOffsetByTimestamp = 29
GetMaxOffset = 30
GetMinOffset = 31
GetEarliestMsgStoreTime = 32
ViewMessageById = 33
HeartBeat = 34
UnregisterClient = 35
ConsumerSendMsgBack = 36
EndTransaction = 37
GetConsumerListByGroup = 38
CheckTransactionState = 39
NotifyConsumerIdsChanged = 40
LockBatchMq = 41
UnlockBatchMq = 42
GetAllConsumerOffset = 43
GetAllDelayOffset = 45
CheckClientConfig = 46
GetClientConfig = 47
UpdateAndCreateAclConfig = 50
DeleteAclConfig = 51
GetBrokerClusterAclInfo = 52
UpdateGlobalWhiteAddrsConfig = 53
GetBrokerClusterAclConfig = 54
GetTimerCheckPoint = 60
GetTimerMetrics = 61
PopMessage = 200_050
AckMessage = 200_051
BatchAckMessage = 200_151
PeekMessage = 200_052
ChangeMessageInvisibleTime = 200_053
Notification = 200_054
PollingInfo = 200_055
PutKvConfig = 100
GetKvConfig = 101
DeleteKvConfig = 102
RegisterBroker = 103
UnregisterBroker = 104
GetRouteinfoByTopic = 105
GetBrokerClusterInfo = 106
UpdateAndCreateSubscriptionGroup = 200
GetAllSubscriptionGroupConfig = 201
GetTopicStatsInfo = 202
GetConsumerConnectionList = 203
GetProducerConnectionList = 204
WipeWritePermOfBroker = 205
GetAllTopicListFromNameserver = 206
DeleteSubscriptionGroup = 207
GetConsumeStats = 208
SuspendConsumer = 209
ResumeConsumer = 210
ResetConsumerOffsetInConsumer = 211
ResetConsumerOffsetInBroker = 212
AdjustConsumerThreadPool = 213
WhoConsumeTheMessage = 214
DeleteTopicInBroker = 215
DeleteTopicInNamesrv = 216
RegisterTopicInNamesrv = 217
GetKvlistByNamespace = 219
ResetConsumerClientOffset = 220
GetConsumerStatusFromClient = 221
InvokeBrokerToResetOffset = 222
InvokeBrokerToGetConsumerStatus = 223
QueryTopicConsumeByWho = 300
GetTopicsByCluster = 224
QueryTopicsByConsumer = 343
QuerySubscriptionByConsumer = 345
RegisterFilterServer = 301
RegisterMessageFilterClass = 302
QueryConsumeTimeSpan = 303
GetSystemTopicListFromNs = 304
GetSystemTopicListFromBroker = 305
CleanExpiredConsumequeue = 306
GetConsumerRunningInfo = 307
QueryCorrectionOffset = 308
ConsumeMessageDirectly = 309
SendMessageV2 = 310
GetUnitTopicList = 311
GetHasUnitSubTopicList = 312
GetHasUnitSubUnunitTopicList = 313
CloneGroupOffset = 314
ViewBrokerStatsData = 315
CleanUnusedTopic = 316
GetBrokerConsumeStats = 317
UpdateNamesrvConfig = 318
GetNamesrvConfig = 319
SendBatchMessage = 320
QueryConsumeQueue = 321
QueryDataVersion = 322
ResumeCheckHalfMessage = 323
SendReplyMessage = 324
SendReplyMessageV2 = 325
PushReplyMessageToClient = 326
AddWritePermOfBroker = 327
GetTopicConfig = 351
GetSubscriptionGroupConfig = 352
UpdateAndGetGroupForbidden = 353
LitePullMessage = 361
QueryAssignment = 400
SetMessageRequestMode = 401
GetAllMessageRequestMode = 402
UpdateAndCreateStaticTopic = 513
GetBrokerMemberGroup = 901
AddBroker = 902
RemoveBroker = 903
BrokerHeartbeat = 904
NotifyMinBrokerIdChange = 905
ExchangeBrokerHaInfo = 906
GetBrokerHaStatus = 907
ResetMasterFlushOffset = 908
GetAllProducerInfo = 328
DeleteExpiredCommitlog = 329
UpdateColdDataFlowCtrConfig = 2_001
RemoveColdDataFlowCtrConfig = 2_002
GetColdDataFlowCtrInfo = 2_003
SetCommitlogReadMode = 2_004
Unknown = -9_999_999
Implementations§
Trait Implementations§
source§impl Clone for RequestCode
impl Clone for RequestCode
source§fn clone(&self) -> RequestCode
fn clone(&self) -> RequestCode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for RequestCode
impl Debug for RequestCode
source§impl From<RequestCode> for i32
impl From<RequestCode> for i32
source§fn from(value: RequestCode) -> Self
fn from(value: RequestCode) -> Self
Converts to this type from the input type.
source§impl From<i32> for RequestCode
impl From<i32> for RequestCode
source§impl Hash for RequestCode
impl Hash for RequestCode
source§impl PartialEq for RequestCode
impl PartialEq for RequestCode
source§fn eq(&self, other: &RequestCode) -> bool
fn eq(&self, other: &RequestCode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for RequestCode
impl StructuralPartialEq for RequestCode
Auto Trait Implementations§
impl RefUnwindSafe for RequestCode
impl Send for RequestCode
impl Sync for RequestCode
impl Unpin for RequestCode
impl UnwindSafe for RequestCode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more