Hey Jiangjie, Can you capture the full motivation and use cases for the feature? This mentions your interest in having a way of aborting from inside the Callback. But it doesn't really explain that usage or why other people would want to do that. It also doesn't list the primary use case for having close with a bounded timeout which was to avoid blocking too long on shutdown.
-Jay On Sat, Mar 7, 2015 at 12:25 PM, Jiangjie Qin <j...@linkedin.com.invalid> wrote: > Hi, > > I just created a KIP for adding a close(timeout) to new producer. Most of > the previous discussions are in KAFKA-1660 where Parth Brahmbhatt has > already done a lot of work. > Since this is an interface change so we are going through the KIP process. > Here is the KIP link: > https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=53739782 > > Thanks. > > Jiangjie (Becket) Qin >