Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Connect to Kafka server over SSL

by cLive ;-) (Prior)
on Jan 14, 2020 at 02:05 UTC ( #11111391=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $socket = IO::Socket::SSL->new(
        PeerAddr        => $host,
        PeerPort        => 9094,
    ...
        SSL_key_file    => './key.pem',
        SSL_cert_file   => './cert.pem',
    ) or die "failed to connect: $SSL_ERROR"
    
  2. or download this
    use v5.22;
    use strictures 2;
    ...
        }
      }
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11111391]
Approved by marto
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (1)
As of 2022-10-01 10:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (126 votes). Check out past polls.

    Notices?