Skip to content

[improve][io] Reducing size of KCA nar and of connectors that use KCA - #18255

Merged
nicoloboschi merged 1 commit into
apache:masterfrom
dlg99:kca-size
Oct 28, 2022
Merged

nicoloboschi merged 1 commit into
apache:masterfrom
dlg99:kca-size

Conversation

@dlg99

@dlg99 dlg99 commented Oct 28, 2022 •

Copy link
Copy Markdown
Contributor

PR in forked repository: dlg99#4

Motivation

Reducing size of KCA nar and of connectors that use KCA, transitively reducing image size of the docker container that packages connectors.

Modifications

KCA dependencies removed/exclusions added.

Size changes:
84M pulsar-io-kafka-connect-adaptor-2.11.0-SNAPSHOT.nar
to
27M pulsar-io-kafka-connect-adaptor-2.11.0-SNAPSHOT.nar

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.

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

NO

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

@github-actions github-actions Bot added the doc-not-needed Your PR changes do not impact docs label Oct 28, 2022

@eolivelli eolivelli left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@dlg99

dlg99 commented Oct 28, 2022

Copy link
Copy Markdown
Contributor Author

/pulsarbot rerun-failure-checks

@codecov-commenter

codecov-commenter commented Oct 28, 2022 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 38.80%. Comparing base (3f5acfe) to head (a8d710f).
⚠️ Report is 3413 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #18255      +/-   ##
============================================
- Coverage     38.91%   38.80%   -0.11%     
- Complexity     8283     8290       +7     
============================================
  Files           683      683              
  Lines         67290    67323      +33     
  Branches       7218     7215       -3     
============================================
- Hits          26187    26126      -61     
- Misses        38095    38200     +105     
+ Partials       3008     2997      -11     
Flag Coverage Δ
unittests 38.80% <ø> (-0.11%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 35 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@nicoloboschi
nicoloboschi merged commit 46c0438 into apache:master Oct 28, 2022
nicoloboschi pushed a commit to datastax/pulsar that referenced this pull request Oct 28, 2022
@nicoloboschi nicoloboschi added this to the 2.12.0 milestone Nov 8, 2022
@dlg99
dlg99 deleted the kca-size branch November 28, 2022 05:21
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants