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

[improve][misc] Sync commits from apache/pulsar branch-3.0 (30th June) into 3.1_ds #291

Merged
merged 52 commits into from
Jul 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
ba12187
[improve][ci] Migrate from Gradle Enterprise to Develocity (#22880)
lhotari Jun 8, 2024
19e0d5d
[improve][broker] Include runtime dependencies in server distribution…
dragosvictor Jan 31, 2024
de47988
[improve][misc] Include native epoll library for Netty for arm64 (#22…
lhotari Mar 21, 2024
25c8a8b
[fix] Remove blocking calls from BookieRackAffinityMapping (#22846)
merlimat Jun 5, 2024
5249178
[fix][cli] Fix Pulsar standalone shutdown - bkCluster wasn't closed (…
lhotari Jun 7, 2024
f2297b3
[fix][cli] Fix Pulsar standalone "--wipe-data" (#22885)
lhotari Jun 10, 2024
272137a
[improve] Upgrade IPAddress to 5.5.0 (#22886)
merlimat Jun 10, 2024
01616ba
[fix][misc] Topic name from persistence name should decode local name…
Shawyeok Jun 11, 2024
77a4169
[improve][broker] Optimize PersistentTopic.getLastDispatchablePositio…
dao-jun Jun 11, 2024
71b7561
[improve][broker] Include runtime dependencies in server distribution…
dragosvictor Jan 31, 2024
00e6f6f
[fix][broker][branch-3.0] The topic might reference a closed ledger (…
shibd Jun 13, 2024
81f9bf7
[fix][cli] Fix the pulsar-daemon parameter passthrough syntax (#22905)
coderzc Jun 14, 2024
0b3f364
[fix][broker] Fix topic status for oldestBacklogMessageAgeSeconds con…
shibd Jun 14, 2024
d953d9c
fix: cannot find symbol from cherry-pick 73b50e
shibd Jun 18, 2024
b01694f
[fix] [client] PIP-344 Do not create partitioned metadata when callin…
poorbarcode May 23, 2024
ec203a6
[improve] [client] PIP-344 support feature flag supportsGetPartitione…
poorbarcode Jun 6, 2024
2c96105
[fix] [broker] response not-found error if topic does not exist when …
poorbarcode Jun 17, 2024
624a143
[fix][client] fix producer/consumer perform lookup for migrated topic…
rdhabalia Oct 14, 2023
d8df958
[fix][proxy] Add missing parameter in newPartitionMetadataRequest call
nikhil-ctds Jun 25, 2024
8aafc9d
[fix][test] Fix thread leaks in Managed Ledger tests and remove dupli…
lhotari Oct 24, 2023
25f202e
[fix] [broker] Messages lost on the remote cluster when using topic l…
poorbarcode Jun 19, 2024
e00b233
[fix][fn] Enable optimized Netty direct byte buffer support for Pulsa…
lhotari Jun 17, 2024
7d7abe6
[fix][test] Fix TableViewBuilderImplTest NPE and infinite loop (#22924)
lhotari Jun 17, 2024
a4cd75a
[fix] [client] Fix resource leak in Pulsar Client since HttpLookupSer…
poorbarcode Jun 18, 2024
5e11289
[fix] [broker] broker log a full thread dump when a deadlock is detec…
yyj8 Jun 20, 2024
a785a19
[fix][fn] Support compression type and crypto config for all producer…
lhotari Jun 20, 2024
3b9f5b4
[fix][broker] Check the markDeletePosition and calculate the backlog …
nodece Jun 20, 2024
a25c6cd
[improve][broker] Optimize `ConcurrentOpenLongPairRangeSet` by Roarin…
dao-jun Jun 20, 2024
050aec7
[improve][misc][branch-3.2] Upgrade to Bookkeeper 4.16.6 (#22963)
lhotari Jun 24, 2024
ae80ffd
[fix][ci] Replace removed macos-11 with macos-latest in GitHub Action…
lhotari Jun 24, 2024
669988c
[fix][misc] Rename netty native libraries in pulsar-client-admin-shad…
lhotari Jun 21, 2024
027716c
[improve][misc] Replace rename-netty-native-libs.sh script with renam…
lhotari Jun 24, 2024
5cab1de
[improve][fn] Make producer cache bounded and expiring in Functions/C…
lhotari Jun 25, 2024
4a9af86
[fix][misc] Rename netty native libraries in pulsar-client-admin-shad…
lhotari Jun 21, 2024
5902fff
[improve] [broker] make system topic distribute evenly. (#22953)
thetumbled Jun 24, 2024
f800bcb
Revert "[improve][broker] Optimize `ConcurrentOpenLongPairRangeSet` b…
lhotari Jun 24, 2024
b963216
[improve][misc] Replace rename-netty-native-libs.sh script with renam…
lhotari Jun 24, 2024
7715dcc
[fix][client] Fix orphan consumer when reconnection and closing are c…
poorbarcode Jun 25, 2024
730ce56
[fix][broker] Fix Replicated Topic unload bug when ExtensibleLoadMana…
heesung-sn Apr 16, 2024
f7dcb1b
[fix][broker] Immediately tombstone Deleted and Free state bundles (#…
heesung-sn May 21, 2024
a840759
[fix][broker] Fix NPE after publishing a tombstone to the service uni…
BewareMyPower Jun 7, 2024
caebf0f
[fix][broker] Asynchronously return brokerRegistry.lookupAsync when c…
heesung-sn Jun 13, 2024
36a0967
[fix][broker] Update init and shutdown time and other minor logic (Ex…
heesung-sn Jun 18, 2024
867d2ff
[fix][broker] Ensure that PulsarService is ready for serving incoming…
lhotari Jun 26, 2024
0f47422
[fix][broker] Check the broker is available for the SLA monitor bundl…
Demogorgon314 Apr 18, 2024
c78b63e
[fix][broker] Support lookup options for extensible load manager (#22…
Demogorgon314 Apr 23, 2024
e02f0ef
[fix][broker] Fix updatePartitionedTopic when replication at ns level…
lhotari Jun 25, 2024
34f88c0
[improve] [broker] PIP-356 Support Geo-Replication starts at earliest…
poorbarcode Jun 19, 2024
1bc3789
[feat][broker][branch-3.0] PIP-321 Introduce allowed-cluster at the n…
Demogorgon314 Jul 1, 2024
692258c
[improve][misc] Upgrade to Netty 4.1.111.Final and switch to use grpc…
lhotari Jun 12, 2024
cca5668
[cleanup][misc] Remove classifier from netty-transport-native-unix-co…
lhotari Jun 20, 2024
be6313d
[fix][ci] Fix jacoco code coverage report aggregation (#22964)
lhotari Jun 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci-maven-cache-update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
mvn_arguments: ''

- name: all modules - macos
runs-on: macos-11
runs-on: macos-latest
cache_name: 'm2-dependencies-all'

- name: core-modules
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pulsar-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1209,7 +1209,7 @@ jobs:

macos-build:
name: Build Pulsar on MacOS
runs-on: macos-11
runs-on: macos-latest
timeout-minutes: 120
needs: ['preconditions', 'integration-tests']
if: ${{ needs.preconditions.outputs.docs_only != 'true' }}
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,5 @@ test-reports/

# Gradle Enterprise
.mvn/.gradle-enterprise/
# Gradle Develocity
.mvn/.develocity/
13 changes: 6 additions & 7 deletions .mvn/gradle-enterprise.xml → .mvn/develocity.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,21 @@
under the License.

-->
<gradleEnterprise
xmlns="https://www.gradle.com/gradle-enterprise-maven" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://www.gradle.com/gradle-enterprise-maven https://www.gradle.com/schema/gradle-enterprise-maven.xsd">
<develocity xmlns="https://www.gradle.com/develocity-maven" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://www.gradle.com/develocity-maven https://www.gradle.com/schema/develocity-maven.xsd">
<!-- Enable Gradle Develocity extension when GRADLE_ENTERPRISE_ACCESS_KEY/DEVELOCITY_ACCESS_KEY is set and the build isn't
a pull request from a branch or forked repository with a name that indicates it's a work in progress. -->
<enabled>#{(env['GRADLE_ENTERPRISE_ACCESS_KEY']?.trim() > '' or env['DEVELOCITY_ACCESS_KEY']?.trim() > '') and !(env['GITHUB_HEAD_REF']?.matches('(?i).*(experiment|wip|private).*') or env['GITHUB_REPOSITORY']?.matches('(?i).*(experiment|wip|private).*'))}</enabled>
<server>
<url>https://ge.apache.org</url>
<allowUntrusted>false</allowUntrusted>
</server>
<buildScan>
<capture>
<goalInputFiles>true</goalInputFiles>
<buildLogging>true</buildLogging>
<testLogging>true</testLogging>
</capture>
<backgroundBuildScanUpload>#{isFalse(env['GITHUB_ACTIONS'])}</backgroundBuildScanUpload>
<publish>ALWAYS</publish>
<publishIfAuthenticated>true</publishIfAuthenticated>
<obfuscation>
<ipAddresses>#{{'0.0.0.0'}}</ipAddresses>
</obfuscation>
Expand All @@ -47,4 +46,4 @@
<enabled>false</enabled>
</remote>
</buildCache>
</gradleEnterprise>
</develocity>
6 changes: 3 additions & 3 deletions .mvn/extensions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
xsi:schemaLocation="http://maven.apache.org/EXTENSIONS/1.0.0 http://maven.apache.org/xsd/core-extensions-1.0.0.xsd">
<extension>
<groupId>com.gradle</groupId>
<artifactId>gradle-enterprise-maven-extension</artifactId>
<version>1.17.1</version>
<artifactId>develocity-maven-extension</artifactId>
<version>1.21.4</version>
</extension>
<extension>
<groupId>com.gradle</groupId>
<artifactId>common-custom-user-data-maven-extension</artifactId>
<version>1.11.1</version>
<version>2.0</version>
</extension>
</extensions>
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,6 @@ components in the Pulsar ecosystem, including connectors, adapters, and other la
>
> This project includes a [Maven Wrapper](https://maven.apache.org/wrapper/) that can be used instead of a system-installed Maven.
> Use it by replacing `mvn` by `./mvnw` on Linux and `mvnw.cmd` on Windows in the commands below.
>
> It's better to use CMD rather than Powershell on Windows. Because maven will activate the `windows` profile which runs `rename-netty-native-libs.cmd`.
### Build

Expand Down
19 changes: 9 additions & 10 deletions bin/pulsar-daemon
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ start ()
echo starting $command, logging to $logfile
echo Note: Set immediateFlush to true in conf/log4j2.yaml will guarantee the logging event is flushing to disk immediately. The default behavior is switched off due to performance considerations.
pulsar=$PULSAR_HOME/bin/pulsar
nohup $pulsar $command "$1" > "$out" 2>&1 < /dev/null &
nohup $pulsar $command "$@" > "$out" 2>&1 < /dev/null &
echo $! > $pid
sleep 1; head $out
sleep 2;
Expand Down Expand Up @@ -216,29 +216,28 @@ stop ()

case $startStop in
(start)
start "$*"
start "$@"
;;

(stop)
stop $1
;;

(restart)
forceStopFlag=$(echo "$*"|grep "\-force")
if [[ "$forceStopFlag" != "" ]]
if [[ "$1" == "-force" ]]
then
stop "-force"
stop -force
# remove "-force" from the arguments
shift
else
stop
fi
if [ "$?" == 0 ]
then
sleep 3
paramaters="$*"
startParamaters=${paramaters//-force/}
start "$startParamaters"
sleep 3
start "$@"
else
echo "WARNNING : $command failed restart, for $command is not stopped completely."
echo "WARNNING : $command failed restart, for $command is not stopped completely."
fi
;;

Expand Down
9 changes: 5 additions & 4 deletions build/pulsar_ci_tool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ _ci_upload_coverage_files() {
--transform="flags=r;s|\\(/jacoco.*\\).exec$|\\1_${testtype}_${testgroup}.exec|" \
--transform="flags=r;s|\\(/tmp/jacocoDir/.*\\).exec$|\\1_${testtype}_${testgroup}.exec|" \
--exclude="*/META-INF/bundled-dependencies/*" \
--exclude="*/META-INF/versions/*" \
$GITHUB_WORKSPACE/target/classpath_* \
$(find "$GITHUB_WORKSPACE" -path "*/target/jacoco*.exec" -printf "%p\n%h/classes\n" | sort | uniq) \
$([ -d /tmp/jacocoDir ] && echo "/tmp/jacocoDir" ) \
Expand Down Expand Up @@ -530,11 +531,11 @@ ci_create_test_coverage_report() {
local classfilesArgs="--classfiles $({
{
for classpathEntry in $(cat $completeClasspathFile | { grep -v -f $filterArtifactsFile || true; } | sort | uniq | { grep -v -E "$excludeJarsPattern" || true; }); do
if [[ -f $classpathEntry && -n "$(unzip -Z1C $classpathEntry 'META-INF/bundled-dependencies/*' 2>/dev/null)" ]]; then
# file must be processed by removing META-INF/bundled-dependencies
if [[ -f $classpathEntry && -n "$(unzip -Z1C $classpathEntry 'META-INF/bundled-dependencies/*' 'META-INF/versions/*' 2>/dev/null)" ]]; then
# file must be processed by removing META-INF/bundled-dependencies and META-INF/versions
local jartempfile=$(mktemp -t jarfile.XXXX --suffix=.jar)
cp $classpathEntry $jartempfile
zip -q -d $jartempfile 'META-INF/bundled-dependencies/*' &> /dev/null
zip -q -d $jartempfile 'META-INF/bundled-dependencies/*' 'META-INF/versions/*' &> /dev/null
echo $jartempfile
else
echo $classpathEntry
Expand Down Expand Up @@ -596,7 +597,7 @@ ci_create_inttest_coverage_report() {
# remove jar file that causes duplicate classes issue
rm /tmp/jacocoDir/pulsar_lib/org.apache.pulsar-bouncy-castle* || true
# remove any bundled dependencies as part of .jar/.nar files
find /tmp/jacocoDir/pulsar_lib '(' -name "*.jar" -or -name "*.nar" ')' -exec echo "Processing {}" \; -exec zip -q -d {} 'META-INF/bundled-dependencies/*' \; |grep -E -v "Nothing to do|^$" || true
find /tmp/jacocoDir/pulsar_lib '(' -name "*.jar" -or -name "*.nar" ')' -exec echo "Processing {}" \; -exec zip -q -d {} 'META-INF/bundled-dependencies/*' 'META-INF/versions/*' \; |grep -E -v "Nothing to do|^$" || true
fi
# projects that aren't considered as production code and their own src/main/java source code shouldn't be analysed
local excludeProjectsPattern="testmocks|testclient|buildtools"
Expand Down
2 changes: 1 addition & 1 deletion buildtools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<license-maven-plugin.version>4.1</license-maven-plugin.version>
<puppycrawl.checkstyle.version>10.14.2</puppycrawl.checkstyle.version>
<maven-checkstyle-plugin.version>3.1.2</maven-checkstyle-plugin.version>
<netty.version>4.1.108.Final</netty.version>
<netty.version>4.1.111.Final</netty.version>
<guice.version>4.2.3</guice.version>
<guava.version>32.1.1-jre</guava.version>
<ant.version>1.10.12</ant.version>
Expand Down
13 changes: 13 additions & 0 deletions distribution/server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,19 @@
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>pulsar-metadata</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>jetcd-core-shaded</artifactId>
<version>${project.version}</version>
<classifier>shaded</classifier>
</dependency>

<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>pulsar-proxy</artifactId>
Expand Down
109 changes: 52 additions & 57 deletions distribution/server/src/assemble/LICENSE.bin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -289,26 +289,26 @@ The Apache Software License, Version 2.0
- org.apache.commons-commons-lang3-3.11.jar
- org.apache.commons-commons-text-1.10.0.jar
* Netty
- io.netty-netty-buffer-4.1.108.Final.jar
- io.netty-netty-codec-4.1.108.Final.jar
- io.netty-netty-codec-dns-4.1.108.Final.jar
- io.netty-netty-codec-http-4.1.108.Final.jar
- io.netty-netty-codec-http2-4.1.108.Final.jar
- io.netty-netty-codec-socks-4.1.108.Final.jar
- io.netty-netty-codec-haproxy-4.1.108.Final.jar
- io.netty-netty-common-4.1.108.Final.jar
- io.netty-netty-handler-4.1.108.Final.jar
- io.netty-netty-handler-proxy-4.1.108.Final.jar
- io.netty-netty-resolver-4.1.108.Final.jar
- io.netty-netty-resolver-dns-4.1.108.Final.jar
- io.netty-netty-resolver-dns-classes-macos-4.1.108.Final.jar
- io.netty-netty-resolver-dns-native-macos-4.1.108.Final-osx-aarch_64.jar
- io.netty-netty-resolver-dns-native-macos-4.1.108.Final-osx-x86_64.jar
- io.netty-netty-transport-4.1.108.Final.jar
- io.netty-netty-transport-classes-epoll-4.1.108.Final.jar
- io.netty-netty-transport-native-epoll-4.1.108.Final-linux-x86_64.jar
- io.netty-netty-transport-native-unix-common-4.1.108.Final.jar
- io.netty-netty-transport-native-unix-common-4.1.108.Final-linux-x86_64.jar
- io.netty-netty-buffer-4.1.111.Final.jar
- io.netty-netty-codec-4.1.111.Final.jar
- io.netty-netty-codec-dns-4.1.111.Final.jar
- io.netty-netty-codec-http-4.1.111.Final.jar
- io.netty-netty-codec-http2-4.1.111.Final.jar
- io.netty-netty-codec-socks-4.1.111.Final.jar
- io.netty-netty-codec-haproxy-4.1.111.Final.jar
- io.netty-netty-common-4.1.111.Final.jar
- io.netty-netty-handler-4.1.111.Final.jar
- io.netty-netty-handler-proxy-4.1.111.Final.jar
- io.netty-netty-resolver-4.1.111.Final.jar
- io.netty-netty-resolver-dns-4.1.111.Final.jar
- io.netty-netty-resolver-dns-classes-macos-4.1.111.Final.jar
- io.netty-netty-resolver-dns-native-macos-4.1.111.Final-osx-aarch_64.jar
- io.netty-netty-resolver-dns-native-macos-4.1.111.Final-osx-x86_64.jar
- io.netty-netty-transport-4.1.111.Final.jar
- io.netty-netty-transport-classes-epoll-4.1.111.Final.jar
- io.netty-netty-transport-native-epoll-4.1.111.Final-linux-aarch_64.jar
- io.netty-netty-transport-native-epoll-4.1.111.Final-linux-x86_64.jar
- io.netty-netty-transport-native-unix-common-4.1.111.Final.jar
- io.netty-netty-tcnative-boringssl-static-2.0.65.Final.jar
- io.netty-netty-tcnative-boringssl-static-2.0.65.Final-linux-aarch_64.jar
- io.netty-netty-tcnative-boringssl-static-2.0.65.Final-linux-x86_64.jar
Expand Down Expand Up @@ -345,34 +345,34 @@ The Apache Software License, Version 2.0
- net.java.dev.jna-jna-jpms-5.12.1.jar
- net.java.dev.jna-jna-platform-jpms-5.12.1.jar
* BookKeeper
- org.apache.bookkeeper-bookkeeper-common-4.16.5.jar
- org.apache.bookkeeper-bookkeeper-common-allocator-4.16.5.jar
- org.apache.bookkeeper-bookkeeper-proto-4.16.5.jar
- org.apache.bookkeeper-bookkeeper-server-4.16.5.jar
- org.apache.bookkeeper-bookkeeper-tools-framework-4.16.5.jar
- org.apache.bookkeeper-circe-checksum-4.16.5.jar
- org.apache.bookkeeper-cpu-affinity-4.16.5.jar
- org.apache.bookkeeper-statelib-4.16.5.jar
- org.apache.bookkeeper-stream-storage-api-4.16.5.jar
- org.apache.bookkeeper-stream-storage-common-4.16.5.jar
- org.apache.bookkeeper-stream-storage-java-client-4.16.5.jar
- org.apache.bookkeeper-stream-storage-java-client-base-4.16.5.jar
- org.apache.bookkeeper-stream-storage-proto-4.16.5.jar
- org.apache.bookkeeper-stream-storage-server-4.16.5.jar
- org.apache.bookkeeper-stream-storage-service-api-4.16.5.jar
- org.apache.bookkeeper-stream-storage-service-impl-4.16.5.jar
- org.apache.bookkeeper.http-http-server-4.16.5.jar
- org.apache.bookkeeper.http-vertx-http-server-4.16.5.jar
- org.apache.bookkeeper.stats-bookkeeper-stats-api-4.16.5.jar
- org.apache.bookkeeper.stats-prometheus-metrics-provider-4.16.5.jar
- org.apache.distributedlog-distributedlog-common-4.16.5.jar
- org.apache.distributedlog-distributedlog-core-4.16.5-tests.jar
- org.apache.distributedlog-distributedlog-core-4.16.5.jar
- org.apache.distributedlog-distributedlog-protocol-4.16.5.jar
- org.apache.bookkeeper.stats-codahale-metrics-provider-4.16.5.jar
- org.apache.bookkeeper-bookkeeper-slogger-api-4.16.5.jar
- org.apache.bookkeeper-bookkeeper-slogger-slf4j-4.16.5.jar
- org.apache.bookkeeper-native-io-4.16.5.jar
- org.apache.bookkeeper-bookkeeper-common-4.16.6.jar
- org.apache.bookkeeper-bookkeeper-common-allocator-4.16.6.jar
- org.apache.bookkeeper-bookkeeper-proto-4.16.6.jar
- org.apache.bookkeeper-bookkeeper-server-4.16.6.jar
- org.apache.bookkeeper-bookkeeper-tools-framework-4.16.6.jar
- org.apache.bookkeeper-circe-checksum-4.16.6.jar
- org.apache.bookkeeper-cpu-affinity-4.16.6.jar
- org.apache.bookkeeper-statelib-4.16.6.jar
- org.apache.bookkeeper-stream-storage-api-4.16.6.jar
- org.apache.bookkeeper-stream-storage-common-4.16.6.jar
- org.apache.bookkeeper-stream-storage-java-client-4.16.6.jar
- org.apache.bookkeeper-stream-storage-java-client-base-4.16.6.jar
- org.apache.bookkeeper-stream-storage-proto-4.16.6.jar
- org.apache.bookkeeper-stream-storage-server-4.16.6.jar
- org.apache.bookkeeper-stream-storage-service-api-4.16.6.jar
- org.apache.bookkeeper-stream-storage-service-impl-4.16.6.jar
- org.apache.bookkeeper.http-http-server-4.16.6.jar
- org.apache.bookkeeper.http-vertx-http-server-4.16.6.jar
- org.apache.bookkeeper.stats-bookkeeper-stats-api-4.16.6.jar
- org.apache.bookkeeper.stats-prometheus-metrics-provider-4.16.6.jar
- org.apache.distributedlog-distributedlog-common-4.16.6.jar
- org.apache.distributedlog-distributedlog-core-4.16.6-tests.jar
- org.apache.distributedlog-distributedlog-core-4.16.6.jar
- org.apache.distributedlog-distributedlog-protocol-4.16.6.jar
- org.apache.bookkeeper.stats-codahale-metrics-provider-4.16.6.jar
- org.apache.bookkeeper-bookkeeper-slogger-api-4.16.6.jar
- org.apache.bookkeeper-bookkeeper-slogger-slf4j-4.16.6.jar
- org.apache.bookkeeper-native-io-4.16.6.jar
* Apache HTTP Client
- org.apache.httpcomponents-httpclient-4.5.13.jar
- org.apache.httpcomponents-httpcore-4.4.15.jar
Expand Down Expand Up @@ -423,7 +423,6 @@ The Apache Software License, Version 2.0
- io.grpc-grpc-auth-1.55.3.jar
- io.grpc-grpc-context-1.55.3.jar
- io.grpc-grpc-core-1.55.3.jar
- io.grpc-grpc-netty-1.55.3.jar
- io.grpc-grpc-protobuf-1.55.3.jar
- io.grpc-grpc-protobuf-lite-1.55.3.jar
- io.grpc-grpc-stub-1.55.3.jar
Expand Down Expand Up @@ -482,7 +481,6 @@ The Apache Software License, Version 2.0
- io.vertx-vertx-core-4.5.8.jar
- io.vertx-vertx-web-4.5.8.jar
- io.vertx-vertx-web-common-4.5.8.jar
- io.vertx-vertx-grpc-4.5.8.jar
* Apache ZooKeeper
- org.apache.zookeeper-zookeeper-3.9.2.jar
- org.apache.zookeeper-zookeeper-jute-3.9.2.jar
Expand All @@ -494,17 +492,14 @@ The Apache Software License, Version 2.0
- com.google.http-client-google-http-client-1.41.0.jar
- com.google.auto.value-auto-value-annotations-1.9.jar
- com.google.re2j-re2j-1.6.jar
* Jetcd
- io.etcd-jetcd-api-0.7.7.jar
- io.etcd-jetcd-common-0.7.7.jar
- io.etcd-jetcd-core-0.7.7.jar
- io.etcd-jetcd-grpc-0.7.7.jar
* Jetcd - shaded
* IPAddress
- com.github.seancfoley-ipaddress-5.3.3.jar
- com.github.seancfoley-ipaddress-5.5.0.jar
* RxJava
- io.reactivex.rxjava3-rxjava-3.0.1.jar
* RoaringBitmap
- org.roaringbitmap-RoaringBitmap-0.9.44.jar
- org.roaringbitmap-shims-0.9.44.jar

BSD 3-clause "New" or "Revised" License
* Google auth library
Expand Down Expand Up @@ -537,7 +532,6 @@ Protocol Buffers License

CDDL-1.1 -- ../licenses/LICENSE-CDDL-1.1.txt
* Java Annotations API
- javax.annotation-javax.annotation-api-1.3.2.jar
- com.sun.activation-javax.activation-1.2.0.jar
- javax.xml.bind-jaxb-api-2.3.1.jar
* Java Servlet API -- javax.servlet-javax.servlet-api-3.1.0.jar
Expand Down Expand Up @@ -607,6 +601,7 @@ Datastax
- com.datastax.oss-pulsar-transaction-common-3.1.4.3-SNAPSHOT.jar
- com.datastax.oss-pulsar-transaction-coordinator-3.1.4.3-SNAPSHOT.jar
- com.datastax.oss-testmocks-3.1.4.3-SNAPSHOT.jar
- com.datastax.oss-jetcd-core-shaded-3.1.4.3-SNAPSHOT-shaded.jar

------------------------

Expand Down
10 changes: 6 additions & 4 deletions distribution/server/src/assemble/bin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -126,21 +126,23 @@
<dependencySet>
<outputDirectory>lib</outputDirectory>
<unpack>false</unpack>
<scope>compile</scope>
<scope>runtime</scope>
<useProjectArtifact>false</useProjectArtifact>
<!-- Include 'groupId' in the dependencies Jar names to better identify
the provenance of the jar -->
<outputFileNameMapping>${artifact.groupId}-${artifact.artifactId}-${artifact.version}${dashClassifier?}.${artifact.extension}</outputFileNameMapping>

<excludes>
<exclude>com.datastax.oss:pulsar-functions-runtime-all</exclude>

<exclude>org.projectlombok:lombok</exclude>

<!-- prevent adding pulsar-functions-api-examples in lib -->
<exclude>com.datastax.oss:pulsar-functions-api-examples</exclude>
<!-- prevent adding any distribution .tar.gz files in lib -->
<exclude>*:tar.gz</exclude>
<!-- prevent adding annotation libraries -->
<exclude>org.codehaus.mojo:animal-sniffer-annotations</exclude>
<exclude>com.google.android:annotations</exclude>
<!-- Needed only in the pulsar-shell distro only -->
<exclude>net.java.dev.jna:jna</exclude>
</excludes>
</dependencySet>
</dependencySets>
Expand Down
Loading
Loading