Closed chaoqin-li1123 closed 1 year ago
Previously we used the SparkConf in SparkEnv to get the pulsar client factory class in executor, which is not configurable in driver side.
Propagate the pulsarClientFactoryClassName from driver to executor tasks.
(Please pick either of the following options)
[ ] This change is a trivial rework / code cleanup without any test coverage.
[x] This change is already covered by existing tests, such as:
[ ] This change added tests and can be verified as follows:
Check the box below.
Need to update docs?
doc-required
no-need-doc
doc
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)
[ ] This change is a trivial rework / code cleanup without any test coverage.
[x] This change is already covered by existing tests, such as:
[ ] This change added tests and can be verified as follows:
Documentation
Check the box below.
Need to update docs?
doc-required
no-need-doc
doc