Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Sep 11, 2023

Conversation

chaoqin-li1123
Copy link
Contributor

@chaoqin-li1123 chaoqin-li1123 commented Sep 9, 2023

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

  • Make sure that the change passes the CI checks.

(Please pick either of the following options)

  • This change is a trivial rework / code cleanup without any test coverage.

  • 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

@chaoqin-li1123 chaoqin-li1123 requested review from nlu90 and a team as code owners September 9, 2023 23:33
@github-actions github-actions bot added the no-need-doc This pr does not need any document label Sep 9, 2023
@chaoqin-li1123 chaoqin-li1123 changed the title Propagate pulsar client factory class name from driver node. Propagate pulsar client factory class name from driver spark context to RDD Sep 9, 2023
@nlu90 nlu90 merged commit 955ed87 into streamnative:master Sep 11, 2023
nlu90 pushed a commit that referenced this pull request Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-need-doc This pr does not need any document
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants