streamnative / pulsar-spark

Spark Connector to read and write with Pulsar
Apache License 2.0
113 stars 50 forks source link

Propagate pulsar client factory class name from driver spark context to RDD #162

Closed chaoqin-li1123 closed 1 year ago

chaoqin-li1123 commented 1 year ago

Motivation

Previously we used the SparkConf in SparkEnv to get the pulsar client factory class in executor, which is not configurable in driver side.

Modifications

Propagate the pulsarClientFactoryClassName from driver to executor tasks.

Verifying this change

(Please pick either of the following options)

Documentation

Check the box below.

Need to update docs?