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
Kafka's documentation for OffsetFetch() indicates that in the OffsetFetchRequest object, the topics field should be set to "Each topic we would like to fetch offsets for, or null to fetch offsets for all topics."
However, when topics is unset in kafka-go (or set explicitly to nil), the response does not return any information on topics for the given consumer group.
In comparison, sarama's equivalent, FetchOffset() returns offset info for all known topics of a given consumer group (even if they are Empty), as does an equivalent python library
Kafka Version
This is tested against kafka 2.4.1 using kafka-go 0.4.39
To Reproduce
Call Client.OffsetFetch() with no topics field set in the OffsetFetchRequest object.
Describe the bug
Kafka's documentation for OffsetFetch() indicates that in the OffsetFetchRequest object, the
topics
field should be set to "Each topic we would like to fetch offsets for, or null to fetch offsets for all topics."However, when
topics
is unset in kafka-go (or set explicitly to nil), the response does not return any information on topics for the given consumer group.In comparison, sarama's equivalent, FetchOffset() returns offset info for all known topics of a given consumer group (even if they are Empty), as does an equivalent python library
Kafka Version
This is tested against kafka 2.4.1 using kafka-go 0.4.39
To Reproduce
Call Client.OffsetFetch() with no
topics
field set in the OffsetFetchRequest object.Expected Behavior
All discovered topics and offsets for the requested consumer group in response. For example, sarama returns:
Observed Behavior
No topic/offset is returned in the response:
The text was updated successfully, but these errors were encountered: