UknownTopic Or Partition
PragmaticCypher opened this issue · comments
PragmaticCypher commented
Would it be possible to have this error report which topic/partition in the error?
proto/errors.go: ErrUnknownTopicOrPartition = &KafkaError{3, "unknown topic or partition"}
Piotr H commented
Not without drawback. All standard errors are defined in https://github.com/optiopay/kafka/blob/master/proto/errors.go#L11 and because of this you can compare them. If I would build custom error with topic/partition information, there would be no chance to compare it.
Where do you need it?