File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -131,12 +131,10 @@ func (c *Client) DescribeGroups(
131
131
}
132
132
133
133
for _ , member := range apiGroup .Members {
134
- fmt .Println ("Decoding member metadata" )
135
134
decodedMetadata , err := decodeMemberMetadata (member .MemberMetadata )
136
135
if err != nil {
137
136
return nil , err
138
137
}
139
- fmt .Println ("Decoding member assignments" )
140
138
decodedAssignments , err := decodeMemberAssignments (member .MemberAssignment )
141
139
if err != nil {
142
140
return nil , err
Original file line number Diff line number Diff line change 6
6
"io"
7
7
"math/rand"
8
8
"net"
9
+ "os"
9
10
"reflect"
10
11
"strconv"
11
12
"sync"
@@ -571,6 +572,14 @@ func BenchmarkReader(b *testing.B) {
571
572
}
572
573
573
574
func TestCloseLeavesGroup (t * testing.T ) {
575
+ if os .Getenv ("KAFKA_VERSION" ) == "2.3.1" {
576
+ // There's a bug in 2.3.1 that causes the MemberMetadata to be in the wrong format and thus
577
+ // leads to an error when decoding the DescribeGroupsResponse.
578
+ //
579
+ // See https://issues.apache.org/jira/browse/KAFKA-9150 for details.
580
+ t .Skip ("Skipping because kafka version is 2.3.1" )
581
+ }
582
+
574
583
ctx , cancel := context .WithTimeout (context .Background (), 30 * time .Second )
575
584
defer cancel ()
576
585
You can’t perform that action at this time.
0 commit comments