Thanks for writing up the KIP. Vito, Matthias: one thing that I wanted to figure out first is what categories of errors we want to notify the users, if we only wants to distinguish fatal v.s. retriable then probably we should rename the proposed StateStoreMigratedException / StateStoreClosedException classes. And then from there we should list what are the possible internal exceptions ever thrown in those APIs in the call trace, and which exceptions should be wrapped to what others, and which ones should be handled without re-throwing, and which ones should not be wrapped at all but directly thrown to user's face.
Guozhang On Wed, Nov 1, 2017 at 11:09 PM, vito jeng <v...@is-land.com.tw> wrote: > Hi, > > I'd like to start discuss KIP-216: > > https://cwiki.apache.org/confluence/display/KAFKA/KIP- > 216%3A+IQ+should+throw+different+exceptions+for+different+errors > > Please have a look. > Thanks! > > --- > Vito > -- -- Guozhang