Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

change pulsar dependency jars to provided scope to reduce nar package size #391

Conversation

hangc0276
Copy link
Collaborator

Motivation

KOP put pulsar dependency jar into nar package, which lead the nar size up to 130MB. However, the kop nar run with pulsar broker, the pulsar dependency is no need to be packed into KOP nar package.

Changes

  1. change pulsar dependency jar scope to provided in pom.xml

Copy link
Contributor

@dockerzhang dockerzhang left a comment

Choose a reason for hiding this comment

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

LGTM

@BewareMyPower BewareMyPower merged commit 8bce0a7 into streamnative:master Mar 3, 2021
BewareMyPower pushed a commit that referenced this pull request Mar 3, 2021
… size (#391)

### Motivation
KOP put pulsar dependency jar into nar package, which lead the nar size up to 130MB. However, the kop nar run with pulsar broker, the pulsar dependency is no need to be packed into KOP nar package.

### Changes
1. change pulsar dependency jar scope to provided in pom.xml
josephglanville added a commit to josephglanville/aop that referenced this pull request Apr 25, 2021
Similar to streamnative/kop#391 and
streamnative/mop#53 the purpose of this change
is to reduce the archive size as these dependencies will be provided on
the class path at runtime.
josephglanville added a commit to josephglanville/aop that referenced this pull request Apr 26, 2021
Similar to streamnative/kop#391 and
streamnative/mop#53 the purpose of this change
is to reduce the archive size as these dependencies will be provided on
the class path at runtime.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants