Skip to content

Commit

Permalink
fix: wrong Stringer implement for consumer group (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
wxybear authored Jun 5, 2023
1 parent e569c93 commit 546f0ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client_consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type ConsumerGroup struct {
}

func (cg *ConsumerGroup) String() string {
return fmt.Sprintf("%+v", cg)
return fmt.Sprintf("[ConsumerGroupName: %s, Timeout: %d, InOrder: %t]", cg.ConsumerGroupName, cg.Timeout, cg.InOrder)
}

// ConsumerGroupCheckPoint type define
Expand Down

0 comments on commit 546f0ed

Please sign in to comment.