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

Make the pulsar client creation factory pluggable #159

Merged
merged 4 commits into from
Aug 31, 2023

Conversation

chaoqin-li1123
Copy link
Contributor

@chaoqin-li1123 chaoqin-li1123 commented Aug 29, 2023

Motivation

Make the pulsar client creation factory pluggable

Modifications

Make the pulsar client creation factory pluggable through spark conf org.apache.spark.sql.pulsar.PulsarClientFactoryClass so that user can customize the client creation logic.
Default behavior will not be changed, still go through the CachedPulsarclient.

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

@github-actions
Copy link

@chaoqin-li1123:Thanks for your contribution. For this PR, do we need to update docs?
(The PR template contains info about doc, which helps others know more about the changes. Can you provide doc-related info in this and future PR descriptions? Thanks)

@github-actions github-actions bot added the doc-info-missing This pr needs to mark a document option in description label Aug 29, 2023
@github-actions
Copy link

@chaoqin-li1123:Thanks for providing doc info!

@github-actions github-actions bot added no-need-doc This pr does not need any document and removed doc-info-missing This pr needs to mark a document option in description labels Aug 29, 2023
@chaoqin-li1123
Copy link
Contributor Author

The ci failure seems to be caused by 30 minutes timeout.

@nlu90 nlu90 merged commit bc5b3d9 into streamnative:master Aug 31, 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