[ 
https://issues.apache.org/jira/browse/ROCKETMQ-182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15980404#comment-15980404
 ] 

ASF GitHub Bot commented on ROCKETMQ-182:
-----------------------------------------

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


> Go SDK Tracing
> --------------
>
>                 Key: ROCKETMQ-182
>                 URL: https://issues.apache.org/jira/browse/ROCKETMQ-182
>             Project: Apache RocketMQ
>          Issue Type: New Feature
>          Components: rocketmq-externals
>         Environment: Linux & Windows
>            Reporter: WenFeng Wang 
>            Assignee: yukon
>              Labels: features
>
> Go SDK for RocketMQ.
> This Issue is mainly used for tracking the Go SDK design and development, if 
> you have any Suggestions, can also be discussed in this Issue.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to