Skip to content

[improve][fn] Expose pulsar client in python instance - #18739

Merged
nodece merged 1 commit into
apache:masterfrom
jiangpengcheng:expose_pulsar_client
Dec 5, 2022
Merged

nodece merged 1 commit into
apache:masterfrom
jiangpengcheng:expose_pulsar_client

Conversation

@jiangpengcheng

Copy link
Copy Markdown
Contributor

Fixes #18627

Motivation

Python instance doesn't expose pulsar client while java does, so it's better to expose it in python instance too

Modifications

expose pulsar client in python functions

Verifying this change

  • Make sure that the change passes the CI checks.

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

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

  • Dependencies (add or upgrade a dependency)
  • The public API
  • The schema
  • The default values of configurations
  • The threading model
  • The binary protocol
  • The REST endpoints
  • The admin CLI options
  • Anything that affects deployment

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Matching PR in forked repository

PR in forked repository: jiangpengcheng#5

@github-actions github-actions Bot added the doc-not-needed Your PR changes do not impact docs label Dec 5, 2022
@codecov-commenter

codecov-commenter commented Dec 5, 2022 •

Copy link
Copy Markdown

Codecov Report

Merging #18739 (f5b6be6) into master (58ad3d0) will decrease coverage by 2.85%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #18739      +/-   ##
============================================
- Coverage     47.67%   44.82%   -2.86%     
- Complexity     9333    10030     +697     
============================================
  Files           618      703      +85     
  Lines         58586    68797   +10211     
  Branches       6098     7374    +1276     
============================================
+ Hits          27933    30836    +2903     
- Misses        27623    34350    +6727     
- Partials       3030     3611     +581     
Flag Coverage Δ
unittests 44.82% <ø> (-2.86%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...g/apache/pulsar/client/impl/RawBatchConverter.java 3.12% <0.00%> (-89.07%) ⬇️
.../pulsar/broker/service/SharedConsumerAssignor.java 3.70% <0.00%> (-57.41%) ⬇️
...lsar/broker/service/StickyKeyConsumerSelector.java 50.00% <0.00%> (-50.00%) ⬇️
...ion/buffer/metadata/TransactionBufferSnapshot.java 42.85% <0.00%> (-42.86%) ⬇️
...apache/pulsar/broker/service/EntryAndMetadata.java 0.00% <0.00%> (-40.75%) ⬇️
...e/HashRangeExclusiveStickyKeyConsumerSelector.java 0.00% <0.00%> (-36.93%) ⬇️
...saction/timeout/TransactionTimeoutTrackerImpl.java 50.87% <0.00%> (-36.85%) ⬇️
...apache/pulsar/broker/service/TopicListService.java 10.40% <0.00%> (-30.40%) ⬇️
...er/impl/SingleSnapshotAbortedTxnProcessorImpl.java 51.19% <0.00%> (-22.62%) ⬇️
...ulsar/broker/service/PulsarChannelInitializer.java 68.42% <0.00%> (-21.06%) ⬇️
... and 148 more

@nodece
nodece merged commit 2dbd252 into apache:master Dec 5, 2022
lifepuzzlefun pushed a commit to lifepuzzlefun/pulsar that referenced this pull request Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-not-needed Your PR changes do not impact docs ready-to-test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

expose pulsar-client in python instance

5 participants