franz-go icon indicating copy to clipboard operation
franz-go copied to clipboard

kgo: add TopicID to the FetchTopic type

Open twmb opened this issue 1 year ago • 1 comments

Closes #790.

twmb avatar Jul 29 '24 05:07 twmb

Topics do not have all 0 topic IDs, if the cluster supports topic IDs. The user can be sure that a topic ID is present based on the fact it is not all 0s. I use this same comparison myself: https://github.com/twmb/franz-go/blob/6b61d17383b1e0c766143118efa39f1f320a3b2b/pkg/kgo/metadata.go#L795-L803 https://github.com/twmb/franz-go/blob/6b61d17383b1e0c766143118efa39f1f320a3b2b/pkg/kgo/source.go#L1895-L1898

twmb avatar Jul 31 '24 16:07 twmb

Bit of a delay on my side ... releasing this evening.

twmb avatar Oct 15 '24 00:10 twmb