wenfengwang commented on a change in pull request #12: [WIP]More Configurable 
fields and mores
URL: https://github.com/apache/rocketmq-client-go/pull/12#discussion_r241975826
 
 

 ##########
 File path: core/producer.go
 ##########
 @@ -59,21 +60,85 @@ func (status SendStatus) String() string {
        }
 }
 
-func newDefaultProducer(config *ProducerConfig) *defaultProducer {
+func newDefaultProducer(config *ProducerConfig) (*defaultProducer, error) {
+       if config.GroupID == "" {
 
 Review comment:
   In golang, the default value of `string` type is `""` not `nil`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to