Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
yolken-segment committed Oct 1, 2021
1 parent c1963b8 commit 760b875
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions describegroups.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ type GroupMemberTopic struct {
Partitions []int
}

// DescribeGroups calls the Kafka DescribeGroups API to get information about one or more
// consumer groups. See https://kafka.apache.org/protocol#The_Messages_DescribeGroups for
// more information.
func (c *Client) DescribeGroups(
ctx context.Context,
req *DescribeGroupsRequest,
Expand Down Expand Up @@ -153,6 +156,7 @@ func (c *Client) DescribeGroups(
return resp, nil
}

// readFrom
func (t *DescribeGroupsResponseMemberMetadataOwnedPartition) readFrom(r *bufio.Reader, size int) (remain int, err error) {
if remain, err = readString(r, size, &t.Topic); err != nil {
return
Expand Down

0 comments on commit 760b875

Please sign in to comment.