That¹s right. Send() will first try to get metadata of a topic, that is a blocking operation.
On 5/12/15, 2:48 AM, "Rendy Bambang Junior" <rendy.b.jun...@gmail.com> wrote: >Hi, sorry if my understanding is incorrect. > >I am integrating kafka producer with application, when i try to shutdown >all kafka broker (preparing for prod env) I notice that 'send' method is >blocking. > >Is new producer fetch metadata not async? > >Rendy