You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please specify real version numbers or git SHAs, not just "Latest" since that changes fairly regularly.
Sarama Version: ec84346
Kafka Version: 1.1.1
Go Version: 1.11
Configuration
What configuration values are you using for Sarama and Kafka?
Logs
When filing an issue please provide logs from Sarama and Kafka if at all
possible. You can set sarama.Logger to a log.Logger to capture Sarama debug
output.
Problem Description
While implementing a simple CLI app for removing orphaned consumer groups got this message:
2018/11/15 13:46:37 Successfully initialized new client
2018/11/15 13:46:37 client/coordinator requesting coordinator for consumergroup woot from kafka:9092
2018/11/15 13:46:37 client/coordinator coordinator for consumergroup woot is #3 (10.20.5.14:9092)
2018/11/15 13:46:37 Connected to broker at 10.20.5.14:9092 (registered as #3)
&{0s map[woot:Unknown error, how did this happen? Error code = 69]}
2018/11/15 13:46:37 Closing Client
Corresponding code snippet:
config:=sarama.NewConfig()
config.Version=sarama.V1_1_0_0client, err:=sarama.NewClient(strings.Split(*brokerList, ","), config)
iferr!=nil {
// deal with it
}
deferclient.Close()
broker, err:=client.Coordinator(*consumerGroupID)
iferr!=nil {
// deal with it
}
resp, err:=broker.DeleteGroups(&sarama.DeleteGroupsRequest{Groups: []string{*consumerGroupID}})
iferr!=nil {
// deal with it
}
fmt.Printf("%v\n", resp)
fmt.Printf("%v\n", resp) produces the &{0s map[woot:Unknown error, how did this happen? Error code = 69]} line.
Error code 69 (GROUP_ID_NOT_FOUND ) is absent apparently.
Versions
Please specify real version numbers or git SHAs, not just "Latest" since that changes fairly regularly.
Sarama Version: ec84346
Kafka Version: 1.1.1
Go Version: 1.11
Configuration
What configuration values are you using for Sarama and Kafka?
Logs
When filing an issue please provide logs from Sarama and Kafka if at all
possible. You can set
sarama.Logger
to alog.Logger
to capture Sarama debugoutput.
Problem Description
While implementing a simple CLI app for removing orphaned consumer groups got this message:
Corresponding code snippet:
fmt.Printf("%v\n", resp)
produces the&{0s map[woot:Unknown error, how did this happen? Error code = 69]}
line.Error code
69
(GROUP_ID_NOT_FOUND
) is absent apparently.Moreover https://kafka.apache.org/protocol#protocol_error_codes and https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol#AGuideToTheKafkaProtocol-ErrorCodes do not match. And the latter is referred to in errors.go
The suggestion is:
The text was updated successfully, but these errors were encountered: