Announcing: The Pulsar PMC Published The 2020 Apache Pulsar User Survey Report!

Overview
Get started
Install and upgrade
Configure
Secure
Manage and monitor
Connect
Process
Overview
Pulsar Flink Connector
Pulsar Spark Connector
Overview
Link
Read data from Pulsar (source)
Write data to Pulsar (sink)
Configure
Secure
Tutorial
Pulsar Functions
Release notes

Secure Pulsar Spark connector

If you want to set the encryption and authentication settings for Pulsar Spark Connector, follow the steps below.

Encryption and authentication settings

When your Pulsar instance is configured with TLS encryption or any authentication enabled, you can add the following options when creating Pulsar source or sink based on your authentication/encryption settings:

.option("pulsar.client.authPluginClassName", "")
.option("pulsar.client.authParams", "")
.option("pulsar.client.useTls", "")
.option("pulsar.client.tlsTrustCertsFilePath", "")
.option("pulsar.client.tlsAllowInsecureConnection", "")
.option("pulsar.client.tlsHostnameVerificationEnable", "")