You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by Sharat Jagannath <sh...@fusionops.com> on 2017/05/01 01:08:42 UTC

kafka tcp connection

I was just wondering, when does the kafka producer  tcp connection open
when using the java api? Is it when initializing the KafkaProducer object
using the constructor or when the actual send method is called to send the
record?
I am guessing its on send since if kafka is down, it throws a connection
error on the send method. Is that correct?

Thanks
Sharat J
Sent from my phone

-- 
 
--------------------------------- 
*Confidentiality Notice: This message is intended for use only by the 
individual or entity to which it is addressed and may contain information 
that is privileged, confidential, and exempt from disclosure under 
applicable law. If the reader of this message is not the intended recipient 
or the employee or agent responsible for delivering the message to the 
intended recipient, you are hereby notified that any dissemination, 
distribution or copying of this communication is strictly prohibited. If 
you have received this communication in error, please contact the sender 
immediately and destroy the material in its entirety. *
*By replying to this e-mail, you consent to FusionOps monitoring activities 
of all communication that occurs on FusionOps systems.*