class Kafka::ConnectionBuilder
def build_connection(host, port)
def build_connection(host, port) connection = Connection.new( host: host, port: port, client_id: @client_id, connect_timeout: @connect_timeout, socket_timeout: @socket_timeout, logger: @logger, instrumenter: @instrumenter, ssl_context: @ssl_context, ) @sasl_authenticator.authenticate!(connection) connection end