You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2019/08/13 03:06:46 UTC
[GitHub] [rocketmq-client-go] wenfengwang commented on a change in pull
request #138: [ISSUE #137]add transaction producer
wenfengwang commented on a change in pull request #138: [ISSUE #137]add transaction producer
URL: https://github.com/apache/rocketmq-client-go/pull/138#discussion_r313204167
##########
File path: internal/model.go
##########
@@ -64,10 +72,79 @@ type consumerData struct {
UnitMode bool `json:"unitMode"`
}
+func (c consumerData) UniqueID() string {
+ return c.GroupName
+}
+
+type UniqueItem interface {
+ UniqueID() string
+}
+
+type Set struct {
Review comment:
could remove the data-struct to utils ?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services