Skip to content

Commit

Permalink
Add comment on protocol details
Browse files Browse the repository at this point in the history
  • Loading branch information
yolken-segment committed Dec 9, 2020
1 parent fed2c53 commit 1d9a9a4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions describegroups.go
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,9 @@ func (t *describeGroupsResponseV0) readFrom(r *bufio.Reader, sz int) (remain int

// decodeMemberAssignments converts raw assignment bytes to a DescribeGroupsResponseAssignments
// struct.
//
// See https://github.com/apache/kafka/blob/2.4/clients/src/main/java/org/apache/kafka/clients/consumer/internals/ConsumerProtocol.java#L49
// for protocol details.
func decodeMemberAssignments(rawAssignments []byte) (DescribeGroupsResponseAssignments, error) {
ma := DescribeGroupsResponseAssignments{}

Expand Down

0 comments on commit 1d9a9a4

Please sign in to comment.