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
Off the top of my head, I think it depends if you have topic auto-create enabled on your broker? If you do, then retrying ErrUnknownTopicOrPartition is correct because the topic will have been created by the time you try again?
@eapache you are right, it has use case when auto create topic is enabled. I think reporting the error is more correct behavior though. It could be behind the setting, with error reporting on by default. What you think?
Otherwise when auto create topic is not enabled it gets stuck forever in .Close call without any useful logs.
ErrUnknownTopicOrPartition at https://github.com/Shopify/sarama/blob/master/offset_manager.go#L460
should be logged and probably considered an error (propagate error back to Close()?)
Versions
Sarama Version: master
Kafka Version: 0.10
Go Version: 1.6.2
The text was updated successfully, but these errors were encountered: