Github user StyleTang commented on a diff in the pull request:

    
https://github.com/apache/incubator-rocketmq-externals/pull/13#discussion_r112835033
  
    --- Diff: rocketmq-go/model/response_code.go ---
    @@ -0,0 +1,67 @@
    +package model
    +
    +const (
    +   // success
    +   Success = 0
    +   // happened unknow error exception
    +   SystemError = 1
    +   // system busy
    +   SystemBusy = 2
    +   // unsupport request code
    +   RequestCodeNotSupported = 3
    +   // transaction failed, because of add db failed
    +   TransactionFailed = 4
    +   // Broker flush disk timeout
    +   FlushDiskTimeout = 10
    +   // Broker slave unavailable, just for sync double write
    +   SlaveNotAvailable = 11
    +   // Broker write slave timeout, just for sync double write
    +   FlushSlaveTimeout = 12
    +   // Broker illegal message
    +   MessageIllegal = 13
    +   // Broker, Namesrv not available,maybe service is closing or 
incorrect permission
    +   ServiceNotAvailable = 14
    +   // Broker, Namesrv unsupport version
    +   VersionNOtSupported = 15
    +   // Broker, Namesrv no permission for operation with send/receive or 
other
    +   NoPermission = 16
    +   // Broker, topic not exist
    +   TopicNotExist = 17
    +   // Broker, topic already exist
    +   TopicExistAlready = 18
    +   // Broker message not found when pull
    +   PullNotFound = 19
    +   // Broker retry immediately, maybe msg was filtered or incorrect 
notification TODO confirm annotation
    +   PullRetryImmediately = 20
    +   // Broker pull offset moved, because of too big or to small TODO 
confirm annotation
    +   PullOffsetMoved = 21
    +   // Broker query not found
    +   QueryNotFound = 22
    +   // Broker parse subscription failed
    +   SubscriptionParseFailed = 23
    +   // Broker subscription relationship not existed
    +   SubscriptionNotExist = 24
    +   // Broker subscription relationship not latest
    +   SubscriptionNotLatest = 25
    +   // Broker subscription group not exist
    +   SubscriptionGroupNotExist = 26
    +   // Producer transaction should commit
    +   TransactionShouldCommit = 200
    +   // Producer transaction should rollback
    +   TransactionShouldRollback = 201
    +   // Producer transaction status unknow
    +   TransactionStatusUnknow = 202
    +   // Producer ProducerGroup错误
    --- End diff --
    
    错误->error


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to