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][build, test] Sync commits from apache/pulsar branch-3.1 into 3.1_ds #227

Merged
merged 101 commits into from
Mar 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
101 commits
Select commit Hold shift + click to select a range
0e6c049
[fix][broker][branch-3.1] Fix lookup heartbeat and sla namespace bund…
Demogorgon314 Oct 18, 2023
7c054fb
Revert "[fix][client] Avert extensive time consumption during table v…
liangyepianzhou Nov 13, 2023
5dc27cc
Revert "[fix][broker] Fix issue with consumer read uncommitted messag…
coderzc Nov 13, 2023
07263ac
Fix for CompactedTopicUtils.java
mukesh-ctds Feb 29, 2024
a76e453
[fix][broker][branch-3.1] Fix issue with consumer read uncommitted me…
coderzc Nov 13, 2023
b8e156b
[improve][broker] Support not retaining null-key message during topic…
coderzc Nov 22, 2023
77afc3c
Fix for CompactionTest.java
mukesh-ctds Feb 29, 2024
b581776
Fix testNoCleanupOffloadLedgerWhenMetadataExceptionHappens
Technoboy- Dec 27, 2023
edac162
[fix] [broker] Update topic policies as much as possible when some ex…
poorbarcode Jan 3, 2024
dd57072
[improve][broker] defer the ownership checks if the owner is inactive…
heesung-sn Jan 5, 2024
9e81d98
[fix] [ml] Fix retry mechanism of deleting ledgers to invalidate (#21…
poorbarcode Jan 9, 2024
6b4c71e
[fix][broker] Fix compaction/replication data loss when expire messag…
coderzc Jan 11, 2024
02d0879
[improve][broker] Don't rollover empty ledgers based on inactivity (#…
lhotari Jan 15, 2024
de51eba
[fix] [client] Messages lost due to TopicListWatcher reconnect (#21853)
poorbarcode Jan 8, 2024
dff9783
[fix] [broker] Fix break change: could not subscribe partitioned top…
poorbarcode Jan 15, 2024
cfb635e
[improve][build] Add a default username in the image (#21695)
zymap Dec 18, 2023
a96b685
[fix][broker]Fix NonPersistentDispatcherMultipleConsumers ArrayIndexO…
Technoboy- Jan 8, 2024
0bba615
[fix][broker] fix the wrong value of BrokerSrevice.maxUnackedMsgsPerD…
aloyszhang Jan 5, 2024
a6f6dc9
[fix][client] Fix messages in the batch container timed out unexpecte…
BewareMyPower Jan 16, 2024
7697e2b
[improve] [client] Prevent reserve memory with a negative memory size…
poorbarcode Dec 26, 2023
da0f9a2
[fix][sec] Exclude avro from hadoop-client (#21719)
liangyepianzhou Dec 13, 2023
38039eb
[improve][broker] Skip loading the NAR packages if not configured (#2…
BewareMyPower Jan 10, 2024
6a1d25c
[fix][txn] Fix getting last message ID when there are ongoing transac…
liangyepianzhou Dec 13, 2023
3b957cd
[improve][broker] Improve NamespaceUnloadStrategy error message (#21880)
Technoboy- Jan 16, 2024
40b5732
[fix][broker] Fix returns wrong webServiceUrl when both webServicePor…
coderzc Dec 5, 2023
2a3a04d
Revert "[fix][broker] Fix returns wrong webServiceUrl when both webSe…
lhotari Jan 25, 2024
01aac99
[fix][broker] Fix returns wrong webServiceUrl when both webServicePor…
coderzc Dec 5, 2023
3f0836a
[fix][broker] Fix returns wrong webServiceUrl when both webServicePor…
Technoboy- Jan 3, 2024
d787756
[fix][broker] Fix leader broker cannot be determined when the adverti…
lhotari Jan 19, 2024
7778183
[fix][broker] Restore the broker id to match the format used in exist…
lhotari Jan 21, 2024
b9c62f3
[fix][test] Make base test class method protected so that it passes R…
lhotari Jan 27, 2024
1d8c8b9
[improve] [bk] Upgrade BookKeeper dependency to 4.16.4 (#21983)
hangc0276 Jan 29, 2024
8e982e5
[fix] [broker] add timeout for health check read. (#21990)
thetumbled Jan 30, 2024
0e68d8d
[fix][client] Fix ConsumerBuilderImpl#subscribe silent stuck when usi…
Shawyeok Jan 30, 2024
ff896b9
[fix][broker] Correct schema deletion for parititioned topic (#21574)
poorbarcode Nov 21, 2023
cff1a51
[fix][broker] Fix schema deletion error when deleting a partitioned t…
heesung-sn Jan 30, 2024
6ebfd26
[improve] [proxy] Add a check for brokerServiceURL that does not supp…
poorbarcode Jan 30, 2024
c2eda21
[fix] [broker] Fix reader stuck when read from compacted topic with r…
thetumbled Jan 30, 2024
cba48c5
[fix][client] Fix multi-topics consumer could receive old messages af…
BewareMyPower Jan 30, 2024
c7e481a
[fix][broker] Fix getMessageById throws 500 (#21919)
nodece Jan 19, 2024
ed528cc
[fix][broker] Fix deadlock while skip non-recoverable ledgers. (#21915)
hrzzzz Jan 22, 2024
0394a64
[fix] [broker] Replication stopped due to unload topic failed (#21947)
poorbarcode Jan 25, 2024
24521de
[fix] [broker] Fix write all compacted out entry into compacted topic…
thetumbled Jan 21, 2024
c8c4e23
[fix][broker] Avoid consumers receiving acknowledged messages from co…
coderzc Jan 26, 2024
b90989b
[fix][broker] Fix issue with GetMessageIdByTimestamp can't find match…
coderzc Jan 20, 2024
276d067
[improve][ci] Upgrade pulsar-client-python to 3.4.0 to avoid CVE-2023…
BewareMyPower Jan 16, 2024
6940463
Revert "[fix][broker] Fix issue with GetMessageIdByTimestamp can't fi…
coderzc Jan 31, 2024
357f270
[fix][broker] Fix issue with GetMessageIdByTimestamp can't find match…
coderzc Jan 20, 2024
9bb8989
[improve][ml] Filter out deleted entries before read entries from led…
dao-jun Jan 19, 2024
3bf0b57
[fix][broker] Sanitize values before logging in apply-config-from-env…
lhotari Feb 9, 2024
42821fb
[fix][broker][branch-3.1] Avoid PublishRateLimiter use an already clo…
coderzc Feb 19, 2024
9108b1f
[fix][broker] Support running docker container with gid != 0 (#22081)
lhotari Feb 21, 2024
bfbaee2
[fix][sec] Upgrade commons-compress to 1.26.0 (#22086)
massakam Feb 21, 2024
a2a100e
[improve][fn] Optimize Function Worker startup by lazy loading and di…
lhotari Feb 26, 2024
d6ef89f
Fix byte-buddy version in presto LICENSE
lhotari Feb 26, 2024
2f5b81e
[fix] [bk] Fix the BookKeeper license (#22000)
hangc0276 Jan 31, 2024
eca55b4
[fix] Bump org.apache.solr:solr-core from 8.11.1 to 8.11.3 in /pulsar…
dependabot[bot] Feb 10, 2024
9bf0fd6
[fix][test] Fix test testTransactionBufferMetrics (#22117)
liangyepianzhou Feb 26, 2024
96008a8
[improve][broker] Cache the internal writer when sent to system topic…
Technoboy- Feb 24, 2024
153723c
[fix] [broker] Enabling batch causes negative unackedMessages due to …
poorbarcode Feb 26, 2024
c60900f
[fix] [client] fix huge permits if acked a half batched message (#22091)
poorbarcode Feb 26, 2024
b957d59
[fix][broker] Fix hash collision when using a consumer name that ends…
lhotari Feb 15, 2024
93b2af1
[fix][test] fix test testSyncNormalPositionWhenTBRecover (#22120)
liangyepianzhou Feb 27, 2024
c82aa40
[improve][broker] Do not retain the data in the system topic (#22022)
liangyepianzhou Feb 6, 2024
8a37714
[improve] [broker] Do not print an Error log when responding to `HTTP…
poorbarcode Feb 18, 2024
6fe13a1
[fix] [broker] Subscription stuck due to called Admin API analyzeSubs…
poorbarcode Feb 18, 2024
8d33e37
[fix] [broker] Fix can not subscribe partitioned topic with a suffix-…
poorbarcode Feb 19, 2024
bf25adf
[improve] [broker] Not close the socket if lookup failed caused by bu…
poorbarcode Sep 27, 2023
408c7ee
[improve][broker] Do not close the socket if lookup failed due to Loc…
BewareMyPower Feb 2, 2024
9f3b9d1
[fix] [txn] Get previous position by managed ledger. (#22024)
thetumbled Feb 22, 2024
ef176df
[fix][sec] Add a check for the input time value (#22023)
liangyepianzhou Feb 26, 2024
517f418
[improve] [broker] Do not try to open ML when the topic meta does not…
poorbarcode Feb 23, 2024
249c7f5
[fix][ml] Make mlOwnershipChecker asynchronous so that it doesn't blo…
lhotari Oct 11, 2023
1461d3d
[improve][broker] Add an error log to troubleshoot the failure of sta…
liangyepianzhou Feb 18, 2024
7f6d874
[fix][broker][branch-3.0] Set ServiceUnitStateChannel topic compactio…
heesung-sn Feb 29, 2024
b87fe73
[fix][broker][branch-3.0] Return getOwnerAsync without waiting on sou…
heesung-sn Feb 29, 2024
b1d0870
Fix for import statements
mukesh-ctds Mar 1, 2024
bf35c75
Fix for LICENSE
mukesh-ctds Mar 1, 2024
16d871a
[improve][broker] Add fine-grain authorization to retention admin API…
mattisonchao Feb 29, 2024
9dac2ac
Fix for Github Broker Group Tests
mukesh-ctds Mar 4, 2024
1e0bc09
Fix for ClientAuthenticationTlsTest & ServiceUnitStateChannelTest
mukesh-ctds Mar 4, 2024
46b0c05
Fix for PulsarServiceTest
mukesh-ctds Mar 4, 2024
bd52e89
[fix] [broker] Expire messages according to ledger close time to avoi…
315157973 Feb 22, 2024
e43d991
[fix][fn] Use unified PackageManagement service to download packages …
jiangpengcheng Jan 31, 2024
90a140a
[fix][broker]Support setting `autoSkipNonRecoverableData` dynamically…
chenhongSZ Feb 18, 2024
75a666e
[fix] [client] Do no retrying for error subscription not found when d…
zifengmo Feb 26, 2024
051fbce
[fix][test] Fix test testAsyncFunctionMaxPending (#22121)
liangyepianzhou Feb 27, 2024
5eab582
[fix][sec] Upgrade Jetty to 9.4.54.v20240208 to address CVE-2024-2220…
lhotari Feb 28, 2024
f4f30cd
[fix][txn]Fix TopicTransactionBuffer potential thread safety issue (#…
dao-jun Feb 29, 2024
7fc96f9
[fix] [broker] print non log when delete partitioned topic failed (#2…
poorbarcode Feb 29, 2024
e2984d6
[fix][offload] Fix Offload readHandle cannot close multi times. (#22162)
dao-jun Feb 29, 2024
8d7ebfb
Fix for ClusterMigrationTest & ProxyServiceTlsStarterTest
mukesh-ctds Mar 4, 2024
301af83
Fix for ProxyRefreshAuthTest
mukesh-ctds Mar 4, 2024
2d19267
[improve][fn] Add configuration for connector & functions package url…
lhotari Mar 4, 2024
85255aa
Fix presto-distribution/LICENSE
lhotari Mar 4, 2024
f05ae32
Fix for github ci latest-version-image docker image
mukesh-ctds Mar 5, 2024
6d379b9
Fix for github system ci pulsar-io
mukesh-ctds Mar 5, 2024
b07857b
[fix][broker] Fix PulsarService.getLookupServiceAddress returns wron…
Technoboy- Sep 18, 2023
81dd0f4
Revert "Fix for github system ci pulsar-io"
mukesh-ctds Mar 6, 2024
1bf7e04
Disabled PulsarSinksTest.testCassandraSink & fix for BrokerServiceTest
mukesh-ctds Mar 6, 2024
d6c2416
Fix for LICENSE
mukesh-ctds Mar 6, 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
25 changes: 23 additions & 2 deletions conf/functions_worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,16 @@ metadataStoreOperationTimeoutSeconds: 30
# Metadata store cache expiry time in seconds
metadataStoreCacheExpirySeconds: 300

# Specifies if the function worker should use classloading for validating submissions for built-in
# connectors and functions. This is required for validateConnectorConfig to take effect.
# Default is false.
enableClassloadingOfBuiltinFiles: false

# Specifies if the function worker should use classloading for validating submissions for external
# connectors and functions. This is required for validateConnectorConfig to take effect.
# Default is false.
enableClassloadingOfExternalFiles: false

################################
# Function package management
################################
Expand Down Expand Up @@ -398,9 +408,20 @@ saslJaasServerRoleTokenSignerSecretPath:
########################

connectorsDirectory: ./connectors
# Whether to enable referencing connectors directory files by file url in connector (sink/source) creation
enableReferencingConnectorDirectoryFiles: true
# Regex patterns for enabling creation of connectors by referencing packages in matching http/https urls
additionalEnabledConnectorUrlPatterns: []
functionsDirectory: ./functions

# Should connector config be validated during submission
# Whether to enable referencing functions directory files by file url in functions creation
enableReferencingFunctionsDirectoryFiles: true
# Regex patterns for enabling creation of functions by referencing packages in matching http/https urls
additionalEnabledFunctionsUrlPatterns: []

# Enables extended validation for connector config with fine-grain annotation based validation
# during submission. Classloading with either enableClassloadingOfExternalFiles or
# enableClassloadingOfBuiltinFiles must be enabled on the worker for this to take effect.
# Default is false.
validateConnectorConfig: false

# Whether to initialize distributed log metadata by runtime.
Expand Down
10 changes: 6 additions & 4 deletions conf/proxy.conf
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,19 @@ metadataStoreUrl=
# The metadata store URL for the configuration data. If empty, we fall back to use metadataStoreUrl
configurationMetadataStoreUrl=

# If Service Discovery is Disabled this url should point to the discovery service provider.
# If does not set metadataStoreUrl or configurationMetadataStoreUrl, this url should point to the discovery service
# provider, and does not support multi urls yet.
# The URL must begin with pulsar:// for plaintext or with pulsar+ssl:// for TLS.
brokerServiceURL=
brokerServiceURLTLS=

# These settings are unnecessary if `zookeeperServers` is specified
# If does not set metadataStoreUrl or configurationMetadataStoreUrl, this url should point to the discovery service
# provider, and does not support multi urls yet.
brokerWebServiceURL=
brokerWebServiceURLTLS=

# If function workers are setup in a separate cluster, configure the following 2 settings
# to point to the function workers cluster
# If function workers are setup in a separate cluster, configure the following 2 settings. This url should point to
# the discovery service provider of the function workers cluster, and does not support multi urls yet.
functionWorkerWebServiceURL=
functionWorkerWebServiceURLTLS=

Expand Down
144 changes: 74 additions & 70 deletions distribution/server/src/assemble/LICENSE.bin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ The Apache Software License, Version 2.0
- commons-lang-commons-lang-2.6.jar
- commons-logging-commons-logging-1.1.1.jar
- org.apache.commons-commons-collections4-4.4.jar
- org.apache.commons-commons-compress-1.21.jar
- org.apache.commons-commons-compress-1.26.0.jar
- org.apache.commons-commons-lang3-3.11.jar
- org.apache.commons-commons-text-1.10.0.jar
* Netty
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.3.jar
- org.apache.bookkeeper-bookkeeper-common-allocator-4.16.3.jar
- org.apache.bookkeeper-bookkeeper-proto-4.16.3.jar
- org.apache.bookkeeper-bookkeeper-server-4.16.3.jar
- org.apache.bookkeeper-bookkeeper-tools-framework-4.16.3.jar
- org.apache.bookkeeper-circe-checksum-4.16.3.jar
- org.apache.bookkeeper-cpu-affinity-4.16.3.jar
- org.apache.bookkeeper-statelib-4.16.3.jar
- org.apache.bookkeeper-stream-storage-api-4.16.3.jar
- org.apache.bookkeeper-stream-storage-common-4.16.3.jar
- org.apache.bookkeeper-stream-storage-java-client-4.16.3.jar
- org.apache.bookkeeper-stream-storage-java-client-base-4.16.3.jar
- org.apache.bookkeeper-stream-storage-proto-4.16.3.jar
- org.apache.bookkeeper-stream-storage-server-4.16.3.jar
- org.apache.bookkeeper-stream-storage-service-api-4.16.3.jar
- org.apache.bookkeeper-stream-storage-service-impl-4.16.3.jar
- org.apache.bookkeeper.http-http-server-4.16.3.jar
- org.apache.bookkeeper.http-vertx-http-server-4.16.3.jar
- org.apache.bookkeeper.stats-bookkeeper-stats-api-4.16.3.jar
- org.apache.bookkeeper.stats-prometheus-metrics-provider-4.16.3.jar
- org.apache.distributedlog-distributedlog-common-4.16.3.jar
- org.apache.distributedlog-distributedlog-core-4.16.3-tests.jar
- org.apache.distributedlog-distributedlog-core-4.16.3.jar
- org.apache.distributedlog-distributedlog-protocol-4.16.3.jar
- org.apache.bookkeeper.stats-codahale-metrics-provider-4.16.3.jar
- org.apache.bookkeeper-bookkeeper-slogger-api-4.16.3.jar
- org.apache.bookkeeper-bookkeeper-slogger-slf4j-4.16.3.jar
- org.apache.bookkeeper-native-io-4.16.3.jar
- org.apache.bookkeeper-bookkeeper-common-4.16.4.jar
- org.apache.bookkeeper-bookkeeper-common-allocator-4.16.4.jar
- org.apache.bookkeeper-bookkeeper-proto-4.16.4.jar
- org.apache.bookkeeper-bookkeeper-server-4.16.4.jar
- org.apache.bookkeeper-bookkeeper-tools-framework-4.16.4.jar
- org.apache.bookkeeper-circe-checksum-4.16.4.jar
- org.apache.bookkeeper-cpu-affinity-4.16.4.jar
- org.apache.bookkeeper-statelib-4.16.4.jar
- org.apache.bookkeeper-stream-storage-api-4.16.4.jar
- org.apache.bookkeeper-stream-storage-common-4.16.4.jar
- org.apache.bookkeeper-stream-storage-java-client-4.16.4.jar
- org.apache.bookkeeper-stream-storage-java-client-base-4.16.4.jar
- org.apache.bookkeeper-stream-storage-proto-4.16.4.jar
- org.apache.bookkeeper-stream-storage-server-4.16.4.jar
- org.apache.bookkeeper-stream-storage-service-api-4.16.4.jar
- org.apache.bookkeeper-stream-storage-service-impl-4.16.4.jar
- org.apache.bookkeeper.http-http-server-4.16.4.jar
- org.apache.bookkeeper.http-vertx-http-server-4.16.4.jar
- org.apache.bookkeeper.stats-bookkeeper-stats-api-4.16.4.jar
- org.apache.bookkeeper.stats-prometheus-metrics-provider-4.16.4.jar
- org.apache.distributedlog-distributedlog-common-4.16.4.jar
- org.apache.distributedlog-distributedlog-core-4.16.4-tests.jar
- org.apache.distributedlog-distributedlog-core-4.16.4.jar
- org.apache.distributedlog-distributedlog-protocol-4.16.4.jar
- org.apache.bookkeeper.stats-codahale-metrics-provider-4.16.4.jar
- org.apache.bookkeeper-bookkeeper-slogger-api-4.16.4.jar
- org.apache.bookkeeper-bookkeeper-slogger-slf4j-4.16.4.jar
- org.apache.bookkeeper-native-io-4.16.4.jar
* Apache HTTP Client
- org.apache.httpcomponents-httpclient-4.5.13.jar
- org.apache.httpcomponents-httpcore-4.4.15.jar
Expand All @@ -382,25 +382,25 @@ The Apache Software License, Version 2.0
- org.asynchttpclient-async-http-client-2.12.1.jar
- org.asynchttpclient-async-http-client-netty-utils-2.12.1.jar
* Jetty
- org.eclipse.jetty-jetty-client-9.4.53.v20231009.jar
- org.eclipse.jetty-jetty-continuation-9.4.53.v20231009.jar
- org.eclipse.jetty-jetty-http-9.4.53.v20231009.jar
- org.eclipse.jetty-jetty-io-9.4.53.v20231009.jar
- org.eclipse.jetty-jetty-proxy-9.4.53.v20231009.jar
- org.eclipse.jetty-jetty-security-9.4.53.v20231009.jar
- org.eclipse.jetty-jetty-server-9.4.53.v20231009.jar
- org.eclipse.jetty-jetty-servlet-9.4.53.v20231009.jar
- org.eclipse.jetty-jetty-servlets-9.4.53.v20231009.jar
- org.eclipse.jetty-jetty-util-9.4.53.v20231009.jar
- org.eclipse.jetty-jetty-util-ajax-9.4.53.v20231009.jar
- org.eclipse.jetty.websocket-javax-websocket-client-impl-9.4.53.v20231009.jar
- org.eclipse.jetty.websocket-websocket-api-9.4.53.v20231009.jar
- org.eclipse.jetty.websocket-websocket-client-9.4.53.v20231009.jar
- org.eclipse.jetty.websocket-websocket-common-9.4.53.v20231009.jar
- org.eclipse.jetty.websocket-websocket-server-9.4.53.v20231009.jar
- org.eclipse.jetty.websocket-websocket-servlet-9.4.53.v20231009.jar
- org.eclipse.jetty-jetty-alpn-conscrypt-server-9.4.53.v20231009.jar
- org.eclipse.jetty-jetty-alpn-server-9.4.53.v20231009.jar
- org.eclipse.jetty-jetty-client-9.4.54.v20240208.jar
- org.eclipse.jetty-jetty-continuation-9.4.54.v20240208.jar
- org.eclipse.jetty-jetty-http-9.4.54.v20240208.jar
- org.eclipse.jetty-jetty-io-9.4.54.v20240208.jar
- org.eclipse.jetty-jetty-proxy-9.4.54.v20240208.jar
- org.eclipse.jetty-jetty-security-9.4.54.v20240208.jar
- org.eclipse.jetty-jetty-server-9.4.54.v20240208.jar
- org.eclipse.jetty-jetty-servlet-9.4.54.v20240208.jar
- org.eclipse.jetty-jetty-servlets-9.4.54.v20240208.jar
- org.eclipse.jetty-jetty-util-9.4.54.v20240208.jar
- org.eclipse.jetty-jetty-util-ajax-9.4.54.v20240208.jar
- org.eclipse.jetty.websocket-javax-websocket-client-impl-9.4.54.v20240208.jar
- org.eclipse.jetty.websocket-websocket-api-9.4.54.v20240208.jar
- org.eclipse.jetty.websocket-websocket-client-9.4.54.v20240208.jar
- org.eclipse.jetty.websocket-websocket-common-9.4.54.v20240208.jar
- org.eclipse.jetty.websocket-websocket-server-9.4.54.v20240208.jar
- org.eclipse.jetty.websocket-websocket-servlet-9.4.54.v20240208.jar
- org.eclipse.jetty-jetty-alpn-conscrypt-server-9.4.54.v20240208.jar
- org.eclipse.jetty-jetty-alpn-server-9.4.54.v20240208.jar
* SnakeYaml -- org.yaml-snakeyaml-2.0.jar
* RocksDB - org.rocksdb-rocksdbjni-7.9.2.jar
* Google Error Prone Annotations - com.google.errorprone-error_prone_annotations-2.5.1.jar
Expand Down Expand Up @@ -445,6 +445,10 @@ The Apache Software License, Version 2.0
* Jodah
- net.jodah-typetools-0.5.0.jar
- net.jodah-failsafe-2.4.4.jar
* Byte Buddy
- net.bytebuddy-byte-buddy-1.14.12.jar
* zt-zip
- org.zeroturnaround-zt-zip-1.17.jar
* Apache Avro
- org.apache.avro-avro-1.11.3.jar
- org.apache.avro-avro-protobuf-1.11.3.jar
Expand Down Expand Up @@ -581,28 +585,28 @@ Bouncy Castle License
- org.bouncycastle-bcutil-jdk18on-1.75.jar

Datastax
- com.datastax.oss-managed-ledger-3.1.0.2.jar
- com.datastax.oss-pulsar-broker-3.1.0.2.jar
- com.datastax.oss-pulsar-broker-auth-oidc-3.1.0.2.jar
- com.datastax.oss-pulsar-broker-auth-sasl-3.1.0.2.jar
- com.datastax.oss-pulsar-broker-common-3.1.0.2.jar
- com.datastax.oss-pulsar-config-validation-3.1.0.2.jar
- com.datastax.oss-pulsar-docs-tools-3.1.0.2.jar
- com.datastax.oss-pulsar-functions-api-3.1.0.2.jar
- com.datastax.oss-pulsar-functions-instance-3.1.0.2.jar
- com.datastax.oss-pulsar-functions-local-runner-original-3.1.0.2.jar
- com.datastax.oss-pulsar-functions-proto-3.1.0.2.jar
- com.datastax.oss-pulsar-functions-runtime-3.1.0.2.jar
- com.datastax.oss-pulsar-functions-secrets-3.1.0.2.jar
- com.datastax.oss-pulsar-functions-utils-3.1.0.2.jar
- com.datastax.oss-pulsar-functions-worker-3.1.0.2.jar
- com.datastax.oss-pulsar-io-core-3.1.0.2.jar
- com.datastax.oss-pulsar-metadata-3.1.0.2.jar
- com.datastax.oss-pulsar-proxy-3.1.0.2.jar
- com.datastax.oss-pulsar-testclient-3.1.0.2.jar
- com.datastax.oss-pulsar-transaction-common-3.1.0.2.jar
- com.datastax.oss-pulsar-transaction-coordinator-3.1.0.2.jar
- com.datastax.oss-testmocks-3.1.0.2.jar
- com.datastax.oss-managed-ledger-3.1.3.0.jar
- com.datastax.oss-pulsar-broker-3.1.3.0.jar
- com.datastax.oss-pulsar-broker-auth-oidc-3.1.3.0.jar
- com.datastax.oss-pulsar-broker-auth-sasl-3.1.3.0.jar
- com.datastax.oss-pulsar-broker-common-3.1.3.0.jar
- com.datastax.oss-pulsar-config-validation-3.1.3.0.jar
- com.datastax.oss-pulsar-docs-tools-3.1.3.0.jar
- com.datastax.oss-pulsar-functions-api-3.1.3.0.jar
- com.datastax.oss-pulsar-functions-instance-3.1.3.0.jar
- com.datastax.oss-pulsar-functions-local-runner-original-3.1.3.0.jar
- com.datastax.oss-pulsar-functions-proto-3.1.3.0.jar
- com.datastax.oss-pulsar-functions-runtime-3.1.3.0.jar
- com.datastax.oss-pulsar-functions-secrets-3.1.3.0.jar
- com.datastax.oss-pulsar-functions-utils-3.1.3.0.jar
- com.datastax.oss-pulsar-functions-worker-3.1.3.0.jar
- com.datastax.oss-pulsar-io-core-3.1.3.0.jar
- com.datastax.oss-pulsar-metadata-3.1.3.0.jar
- com.datastax.oss-pulsar-proxy-3.1.3.0.jar
- com.datastax.oss-pulsar-testclient-3.1.3.0.jar
- com.datastax.oss-pulsar-transaction-common-3.1.3.0.jar
- com.datastax.oss-pulsar-transaction-coordinator-3.1.3.0.jar
- com.datastax.oss-testmocks-3.1.3.0.jar

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

Expand Down
24 changes: 12 additions & 12 deletions distribution/shell/src/assemble/LICENSE.bin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ The Apache Software License, Version 2.0
- commons-logging-1.2.jar
- commons-lang3-3.11.jar
- commons-text-1.10.0.jar
- commons-compress-1.21.jar
- commons-compress-1.26.0.jar
* Netty
- netty-buffer-4.1.100.Final.jar
- netty-codec-4.1.100.Final.jar
Expand Down Expand Up @@ -386,23 +386,23 @@ The Apache Software License, Version 2.0
- log4j-web-2.18.0.jar

* BookKeeper
- bookkeeper-common-allocator-4.16.3.jar
- cpu-affinity-4.16.3.jar
- circe-checksum-4.16.3.jar
- bookkeeper-common-allocator-4.16.4.jar
- cpu-affinity-4.16.4.jar
- circe-checksum-4.16.4.jar
* AirCompressor
- aircompressor-0.20.jar
* AsyncHttpClient
- async-http-client-2.12.1.jar
- async-http-client-netty-utils-2.12.1.jar
* Jetty
- jetty-client-9.4.53.v20231009.jar
- jetty-http-9.4.53.v20231009.jar
- jetty-io-9.4.53.v20231009.jar
- jetty-util-9.4.53.v20231009.jar
- javax-websocket-client-impl-9.4.53.v20231009.jar
- websocket-api-9.4.53.v20231009.jar
- websocket-client-9.4.53.v20231009.jar
- websocket-common-9.4.53.v20231009.jar
- jetty-client-9.4.54.v20240208.jar
- jetty-http-9.4.54.v20240208.jar
- jetty-io-9.4.54.v20240208.jar
- jetty-util-9.4.54.v20240208.jar
- javax-websocket-client-impl-9.4.54.v20240208.jar
- websocket-api-9.4.54.v20240208.jar
- websocket-client-9.4.54.v20240208.jar
- websocket-common-9.4.54.v20240208.jar
* SnakeYaml -- snakeyaml-2.0.jar
* Google Error Prone Annotations - error_prone_annotations-2.5.1.jar
* Javassist -- javassist-3.25.0-GA.jar
Expand Down
8 changes: 7 additions & 1 deletion docker/pulsar/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,14 @@ COPY scripts/install-pulsar-client.sh /pulsar/bin

# The final image needs to give the root group sufficient permission for Pulsar components
# to write to specific directories within /pulsar
# The ownership is changed to uid 10000 to allow using a different root group. This is necessary when running the
# container when gid=0 is prohibited. In that case, the container must be run with uid 10000 with
# any group id != 0 (for example 10001).
# The file permissions are preserved when copying files from this builder image to the target image.
RUN for SUBDIRECTORY in conf data download logs; do \
[ -d /pulsar/$SUBDIRECTORY ] || mkdir /pulsar/$SUBDIRECTORY; \
chmod -R g+w /pulsar/$SUBDIRECTORY; \
chmod -R ug+w /pulsar/$SUBDIRECTORY; \
chown -R 10000:0 /pulsar/$SUBDIRECTORY; \
done

# Trino writes logs to this directory (at least during tests), so we need to give the process permission
Expand All @@ -54,6 +58,7 @@ FROM ubuntu:22.04
ARG DEBIAN_FRONTEND=noninteractive
ARG UBUNTU_MIRROR=mirror://mirrors.ubuntu.com/mirrors.txt
ARG UBUNTU_SECURITY_MIRROR=http://security.ubuntu.com/ubuntu/
ARG DEFAULT_USERNAME=pulsar

# Install some utilities
RUN sed -i -e "s|http://archive\.ubuntu\.com/ubuntu/|${UBUNTU_MIRROR:-mirror://mirrors.ubuntu.com/mirrors.txt}|g" \
Expand Down Expand Up @@ -104,4 +109,5 @@ RUN chmod +x /pulsar/bin/install-pulsar-client.sh
RUN /pulsar/bin/install-pulsar-client.sh

# The UID must be non-zero. Otherwise, it is arbitrary. No logic should rely on its specific value.
RUN useradd ${DEFAULT_USERNAME} -u 10000 -g 0
USER 10000
Loading
Loading