From 4a8b2cd9de2da5bd78d1256e40a65887326c0abd Mon Sep 17 00:00:00 2001 From: guangning Date: Mon, 20 Apr 2020 16:44:17 +0800 Subject: [PATCH 01/13] Add release note for pulsar 2.5.1 --- site2/website/release-notes.md | 140 +++++++++++++++++++++++++++++++++ 1 file changed, 140 insertions(+) diff --git a/site2/website/release-notes.md b/site2/website/release-notes.md index 374286914e562..ecf22486f56e9 100644 --- a/site2/website/release-notes.md +++ b/site2/website/release-notes.md @@ -1,6 +1,146 @@ ## Apache Pulsar Release Notes +### 2.5.1 — 2020-04-20 + +#### PIPS + +PIP-55: Refresh Authentication Credentials [#6074](https://github.com/apache/pulsar/pull/6074) + +#### Fixes + +Fix create consumer on partitioned topic while disable topic auto creation. [#5572](https://github.com/apache/pulsar/pull/5572) +Fixed static linking on C++ lib on MacOS [#5581](https://github.com/apache/pulsar/pull/5581) +[pulsar-broker] close managed-ledgers before giving up bundle ownership to avoid bad zk-version [#5599](https://github.com/apache/pulsar/pull/5599) +Fix negative un-ack messages in consumer stats [#5929](https://github.com/apache/pulsar/pull/5929) +Fix unit test issue in BrokerServiceTest.java [#6006](https://github.com/apache/pulsar/pull/6006) +Fix NPE occur when get partitioned topic stats [#6060](https://github.com/apache/pulsar/pull/6060) +Fix zero queue consumer message redelivery [#6076](https://github.com/apache/pulsar/pull/6076) +Fix message redelivery for zero queue consumer while using async api to receive messages [#6090](https://github.com/apache/pulsar/pull/6090) +Fix Adds integration test for RabbitMQ [#6033](https://github.com/apache/pulsar/pull/6033) +Fix the argument and description for dead letter topic is wrong [#6101](https://github.com/apache/pulsar/pull/6101) +Fix Websocket doesn't set the correct cluster data [#6102](https://github.com/apache/pulsar/pull/6102) +Fix available permits may be greater than 1 even though queue size is 0. [#6106](https://github.com/apache/pulsar/pull/6106) +Add timeout to search for web service URLs to avoid web threads getting stuck [#6124](https://github.com/apache/pulsar/pull/6124) +Fix broker client tls settings error [#6128](https://github.com/apache/pulsar/pull/6128) +Fix get schema version in HttpLookupService. [#6193](https://github.com/apache/pulsar/pull/6193) +[broker] Fix bug that backlog message that has not yet expired could be deleted due to TTL [#6211](https://github.com/apache/pulsar/pull/6211) +[Compaction] Fix log compaction for flow control/empty topic/last deletion [#6237](https://github.com/apache/pulsar/pull/6237) +[Function Worker] Fix deploy of WindowFunctions [#6246](https://github.com/apache/pulsar/pull/6246) +Make tests more stable by using JSONAssert equals [#6247](https://github.com/apache/pulsar/pull/6247) +[C++] Fixed memory corruption on ExecutorService destructor [#6270](https://github.com/apache/pulsar/pull/6270) +[C++] Fixed handling of canceled timer events on NegativeAcksTracker [#6272](https://github.com/apache/pulsar/pull/6272) +[broker] Fix bug that tenants whose allowed clusters include global cannot be created/updated [#6275](https://github.com/apache/pulsar/pull/6275) +[pulsar-client-cpp] Fix for possible deadlock when closing Pulsar client [#6277](https://github.com/apache/pulsar/pull/6277) +Fixed integration Pulsar SQL test failed [#6279](https://github.com/apache/pulsar/pull/6279) +Remove problematic semicolon from conf [#6303](https://github.com/apache/pulsar/pull/6303) +Enable get precise backlog and backlog without delayed messages. [#6310](https://github.com/apache/pulsar/pull/6310) +Fixed casting in ZooKeeperCache.getDataIfPresent() [#6313](https://github.com/apache/pulsar/pull/6313) +[Fix-6273] Flush the potential duplicated message when add messages to a batch. [#6326](https://github.com/apache/pulsar/pull/6326) +Windows CMake corrections [#6336](https://github.com/apache/pulsar/pull/6336) +Avoid getting partition metadata while the topic name is a partition name. [#6339](https://github.com/apache/pulsar/pull/6339) +[Helm]explicit statement env-var 'BOOKIE_MEM' and 'BOOKIE_GC' for values-mini.yaml [#6340](https://github.com/apache/pulsar/pull/6340) +[Java Reader Client] Start reader inside batch result in read first message in batch. [#6345](https://github.com/apache/pulsar/pull/6345) +[Issue 6343] Fix broker to specify a list of bookie groups [#6349](https://github.com/apache/pulsar/pull/6349) +Independent schema is set for each consumer generated by topic [#6356](https://github.com/apache/pulsar/pull/6356) +[function] remove future.join() from PulsarSinkEffectivelyOnceProcessor [#6361](https://github.com/apache/pulsar/pull/6361) +[ClientAPI]Fix hasMessageAvailable() [#6362](https://github.com/apache/pulsar/pull/6362) +[HELM] autorecovery - could not find or load main class [#6373](https://github.com/apache/pulsar/pull/6373) +Fix Amend the default value of `supportedNamespaceBundleSplitAlgorithms [#6374](https://github.com/apache/pulsar/pull/6374) +[Pulsar-Client] Stop shade snappy-java in pulsar-client-shaded [#6375](https://github.com/apache/pulsar/pull/6375) +Fix duplicate key to send propertys [#6390](https://github.com/apache/pulsar/pull/6390) +[Issue 6168] Fix Unacked Message Tracker by Using Time Partition on C++ [#6391](https://github.com/apache/pulsar/pull/6391) +[Minor] Fix java code errors reported by lgtm. [#6398](https://github.com/apache/pulsar/pull/6398) +[Python Test]Fixed the enum34 package not found [#6401](https://github.com/apache/pulsar/pull/6401) +Consumer received duplicated deplayed messages upon restart [#6404](https://github.com/apache/pulsar/pull/6404) +[Schema] Fix wrong avro schema [#6406](https://github.com/apache/pulsar/pull/6406) +[Java client] MultiTopics discovery is broken due to discovery task scheduled twice instead of pendingBatchReceiveTask [#6407](https://github.com/apache/pulsar/pull/6407) +Fix publish buffer limit does not take effect [#6431](https://github.com/apache/pulsar/pull/6431) +Fix the bug of authenticationData is't initialized. [#6440](https://github.com/apache/pulsar/pull/6440) +Fixed the max backoff configuration for lookups [#6444](https://github.com/apache/pulsar/pull/6444) +Fixed avro schema decode error in functions [#6445](https://github.com/apache/pulsar/pull/6445) +pulsar-proxy: fix correct name for proxy thread executor name [#6460](https://github.com/apache/pulsar/pull/6460) +[pulsar-proxy] fix logging for published messages [#6474](https://github.com/apache/pulsar/pull/6474) +Fix create partitioned topic with a substring of an existing topic name. [#6478](https://github.com/apache/pulsar/pull/6478) +Fix memory leak when running topic compaction. [#6485](https://github.com/apache/pulsar/pull/6485) +[proxy] Fix proxy routing to functions worker [#6486](https://github.com/apache/pulsar/pull/6486) +[pulsar-client] fix deadlock on send failure [#6488](https://github.com/apache/pulsar/pull/6488) +[pulsar-client-cpp] Fix Redelivery of Messages on UnackedMessageTracker When Ack Messages . [#6498](https://github.com/apache/pulsar/pull/6498) +Fix admin getLastMessageId return batchIndex [#6511](https://github.com/apache/pulsar/pull/6511) +Fix: topic with one partition cannot be updated [#6560](https://github.com/apache/pulsar/pull/6560) +[pulsar-client] Fix NPE while call getLastMessageId [#6562](https://github.com/apache/pulsar/pull/6562) +Do not retry on authorization failure [#6577](https://github.com/apache/pulsar/pull/6577) +Fix send get raw schema request [#6650](https://github.com/apache/pulsar/pull/6650) +Fixed avro schema decode error in functions [#6662](https://github.com/apache/pulsar/pull/6662) +[broker]Handle BadVersionException thrown by updateSchemaLocator() [#6683](https://github.com/apache/pulsar/pull/6683) + +#### Enhancements + +Expose bookkeeper expose explicit lac configuration in broker.conf [#5822](https://github.com/apache/pulsar/pull/5822) +[build] Skip javadoc task for pulsar-client-kafka-compact modules [#5836](https://github.com/apache/pulsar/pull/5836) +Add backlogSize in topicStats [#5914](https://github.com/apache/pulsar/pull/5914) +Allow to enable/disable delayed delivery for messages on namespace [#5915](https://github.com/apache/pulsar/pull/5915) +Upgrade Avro to 1.9.1 [#5938](https://github.com/apache/pulsar/pull/5938) +Avoid using same OpAddEntry between different ledger handles [#5942](https://github.com/apache/pulsar/pull/5942) +[pulsar-broker] Prevent creation of regular topic with the same name as existing partitioned topic [#5943](https://github.com/apache/pulsar/pull/5943) +[pulsar-broker] Clean up closed producer to avoid publish-time for producer [#5988](https://github.com/apache/pulsar/pull/5988) +Expose lastConsumedTimestamp and lastAckedTimestamp to consumer stats [#6051](https://github.com/apache/pulsar/pull/6051) +Fix maven broken link [#6068](https://github.com/apache/pulsar/pull/6068) +[minor] make acker in BatchMessageIdImpl transient [#6064](https://github.com/apache/pulsar/pull/6064) +Support delete inactive topic when subscriptions caught up [#6077](https://github.com/apache/pulsar/pull/6077) +Add a message on how to make log refresh immediately when starting a component [#6078](https://github.com/apache/pulsar/pull/6078) +[Broker]Reset cursor with a non-exists position [#6120](https://github.com/apache/pulsar/pull/6120) +[pulsar-admin] allow tenant admin to manage subscription permission [#6122](https://github.com/apache/pulsar/pull/6122) +[broker] Output resource usage rate to log on broker [#6152](https://github.com/apache/pulsar/pull/6152) +[helm]: Start proxy pods when at least one broker pod is running [#6158](https://github.com/apache/pulsar/pull/6158) +[helm-chart] add missing check to dashboard-ingress [#6160](https://github.com/apache/pulsar/pull/6160) +Fix [broker] Restore clusterDispatchRate policy for compatibility [#6176](https://github.com/apache/pulsar/pull/6176) +Introduce maxMessagePublishBufferSizeInMB configuration to avoid broker OOM [#6178](https://github.com/apache/pulsar/pull/6178) +Namespace level support offloader [#6183](https://github.com/apache/pulsar/pull/6183) +Support `unload` all partitions of a partitioned topic [#6187](https://github.com/apache/pulsar/pull/6187) +Create managed ledger path on local zookeeper when create partitions [#6189](https://github.com/apache/pulsar/pull/6189) +Corrected the method name for source implementation [#6190](https://github.com/apache/pulsar/pull/6190) +Make kubernetes yamls for aws operational [#6192](https://github.com/apache/pulsar/pull/6192) +Pin the netty-transport-native-epoll to avoid conflicts [#6194](https://github.com/apache/pulsar/pull/6194) +Ensure JVM memory and GC options are set for bookie [#6201](https://github.com/apache/pulsar/pull/6201) +Default functionAuthProvider when running in k8s [#6203](https://github.com/apache/pulsar/pull/6203) +[Authentication] Validate tokens for binary connections [#6233](https://github.com/apache/pulsar/pull/6233) +Use fully qualified hostname as default to advertise brokers [#6235](https://github.com/apache/pulsar/pull/6235) +Supports evenly distribute topics count when splits bundle [#6241](https://github.com/apache/pulsar/pull/6241) +KeyValue schema support for pulsar sql [#6325](https://github.com/apache/pulsar/pull/6325) +Upgrade ZooKeeper to 3.5.7 [#6329](https://github.com/apache/pulsar/pull/6329) +Client: make SubscriptionMode a member of ConsumerConfigurationData [#6337](https://github.com/apache/pulsar/pull/6337) +Fix java doc for key shared policy. [#6341](https://github.com/apache/pulsar/pull/6341) +Creating a topic does not wait for creating cursor of replicators [#6364](https://github.com/apache/pulsar/pull/6364) +[Reader] Should set either start message id or start message from roll back duration. [#6392](https://github.com/apache/pulsar/pull/6392) +Seek to the first one >= timestamp [#6393](https://github.com/apache/pulsar/pull/6393) +[pulsar-zookeeper-utils] Close ZK before canceling future with exception [#6399](https://github.com/apache/pulsar/pull/6399) +Add verification for SchemaDefinitionBuilderImpl.java [#6405](https://github.com/apache/pulsar/pull/6405) +BatchReceivePolicy implements Serializable. [#6423](https://github.com/apache/pulsar/pull/6423) +Bump netty version to 4.1.45.Final [#6424](https://github.com/apache/pulsar/pull/6424) +Remove duplicated test libraries in POM dependencies [#6430](https://github.com/apache/pulsar/pull/6430) +[Flink-Connector]Get PulsarClient from cache should always return an open instance [#6436](https://github.com/apache/pulsar/pull/6436) +Pulsar Java client: Use System.nanoTime() instead of System.currentTimeMillis() to measure elapsed time [#6454](https://github.com/apache/pulsar/pull/6454) +[Broker] Create namespace failed when TLS is enabled in PulsarStandalone [#6457](https://github.com/apache/pulsar/pull/6457) +Improve cpp-client-lib: provide another `libpulsarwithdeps.a` in dep/rpm [#6458](https://github.com/apache/pulsar/pull/6458) +[C++]Avoid calling redeliverMessages() when message list is empty [#6480](https://github.com/apache/pulsar/pull/6480) +Fix some async method problems at PersistentTopicsBase. [#6483](https://github.com/apache/pulsar/pull/6483) +[broker] Timeout API calls in BrokerService [#6489](https://github.com/apache/pulsar/pull/6489) +[pulsar-client] remove duplicate cnx method [#6490](https://github.com/apache/pulsar/pull/6490) +Start namespace service and schema registry service before start broker. [#6499](https://github.com/apache/pulsar/pull/6499) +Use more granular permissions for topics [#6504](https://github.com/apache/pulsar/pull/6504) +[Maven Cleanup] Remove managed-ledger and zk-utils test-jar dependencies when possible [#6513](https://github.com/apache/pulsar/pull/6513) +Disable channel auto read when publish rate or publish buffer exceeded [#6550](https://github.com/apache/pulsar/pull/6550) +Stop increase unacked messages for the consumer with Exclusive/Failover subscription mode. [#6558](https://github.com/apache/pulsar/pull/6558) +Resume some servercnx method to public [#6581](https://github.com/apache/pulsar/pull/6581) +Support BouncyCastle FIPS provider [#6588](https://github.com/apache/pulsar/pull/6588) +Improve Key_Shared subscription message dispatching performance. [#6647](https://github.com/apache/pulsar/pull/6647) +Not allow sub auto create by admin when disable topic auto create [#6685](https://github.com/apache/pulsar/pull/6685) +Update README.md To Represent JDK 11 in Build Pulsar Doc [#6686](https://github.com/apache/pulsar/pull/6686) +Add Joda time logical type conversion. [#6704](https://github.com/apache/pulsar/pull/6704) +Improve backlogSize stats in the topic. [#6700](https://github.com/apache/pulsar/pull/6700) +[python client]Support generate pulsar-client for python3.8 [#6741](https://github.com/apache/pulsar/pull/6741) + ### 2.5.0 — 2019-12-06 #### PIPs From 67feb0fd332c12d1d447ceebf97d096a721ab358 Mon Sep 17 00:00:00 2001 From: guangning Date: Mon, 20 Apr 2020 16:50:22 +0800 Subject: [PATCH 02/13] format style --- site2/website/release-notes.md | 78 +++++++++++++++++----------------- 1 file changed, 39 insertions(+), 39 deletions(-) diff --git a/site2/website/release-notes.md b/site2/website/release-notes.md index ecf22486f56e9..28c0cee54d080 100644 --- a/site2/website/release-notes.md +++ b/site2/website/release-notes.md @@ -9,29 +9,29 @@ PIP-55: Refresh Authentication Credentials [#6074](https://github.com/apache/pul #### Fixes -Fix create consumer on partitioned topic while disable topic auto creation. [#5572](https://github.com/apache/pulsar/pull/5572) +Fixed create consumer on partitioned topic while disable topic auto creation. [#5572](https://github.com/apache/pulsar/pull/5572) Fixed static linking on C++ lib on MacOS [#5581](https://github.com/apache/pulsar/pull/5581) [pulsar-broker] close managed-ledgers before giving up bundle ownership to avoid bad zk-version [#5599](https://github.com/apache/pulsar/pull/5599) -Fix negative un-ack messages in consumer stats [#5929](https://github.com/apache/pulsar/pull/5929) -Fix unit test issue in BrokerServiceTest.java [#6006](https://github.com/apache/pulsar/pull/6006) -Fix NPE occur when get partitioned topic stats [#6060](https://github.com/apache/pulsar/pull/6060) -Fix zero queue consumer message redelivery [#6076](https://github.com/apache/pulsar/pull/6076) -Fix message redelivery for zero queue consumer while using async api to receive messages [#6090](https://github.com/apache/pulsar/pull/6090) -Fix Adds integration test for RabbitMQ [#6033](https://github.com/apache/pulsar/pull/6033) -Fix the argument and description for dead letter topic is wrong [#6101](https://github.com/apache/pulsar/pull/6101) -Fix Websocket doesn't set the correct cluster data [#6102](https://github.com/apache/pulsar/pull/6102) -Fix available permits may be greater than 1 even though queue size is 0. [#6106](https://github.com/apache/pulsar/pull/6106) +Fixed negative un-ack messages in consumer stats [#5929](https://github.com/apache/pulsar/pull/5929) +Fixed unit test issue in BrokerServiceTest.java [#6006](https://github.com/apache/pulsar/pull/6006) +Fixed NPE occur when get partitioned topic stats [#6060](https://github.com/apache/pulsar/pull/6060) +Fixed zero queue consumer message redelivery [#6076](https://github.com/apache/pulsar/pull/6076) +Fixed message redelivery for zero queue consumer while using async api to receive messages [#6090](https://github.com/apache/pulsar/pull/6090) +Fixed Adds integration test for RabbitMQ [#6033](https://github.com/apache/pulsar/pull/6033) +Fixed the argument and description for dead letter topic is wrong [#6101](https://github.com/apache/pulsar/pull/6101) +Fixed Websocket doesn't set the correct cluster data [#6102](https://github.com/apache/pulsar/pull/6102) +Fixed available permits may be greater than 1 even though queue size is 0. [#6106](https://github.com/apache/pulsar/pull/6106) Add timeout to search for web service URLs to avoid web threads getting stuck [#6124](https://github.com/apache/pulsar/pull/6124) -Fix broker client tls settings error [#6128](https://github.com/apache/pulsar/pull/6128) -Fix get schema version in HttpLookupService. [#6193](https://github.com/apache/pulsar/pull/6193) -[broker] Fix bug that backlog message that has not yet expired could be deleted due to TTL [#6211](https://github.com/apache/pulsar/pull/6211) -[Compaction] Fix log compaction for flow control/empty topic/last deletion [#6237](https://github.com/apache/pulsar/pull/6237) -[Function Worker] Fix deploy of WindowFunctions [#6246](https://github.com/apache/pulsar/pull/6246) +Fixed broker client tls settings error [#6128](https://github.com/apache/pulsar/pull/6128) +Fixed get schema version in HttpLookupService. [#6193](https://github.com/apache/pulsar/pull/6193) +[broker] Fixed bug that backlog message that has not yet expired could be deleted due to TTL [#6211](https://github.com/apache/pulsar/pull/6211) +[Compaction] Fixed log compaction for flow control/empty topic/last deletion [#6237](https://github.com/apache/pulsar/pull/6237) +[Function Worker] Fixed deploy of WindowFunctions [#6246](https://github.com/apache/pulsar/pull/6246) Make tests more stable by using JSONAssert equals [#6247](https://github.com/apache/pulsar/pull/6247) [C++] Fixed memory corruption on ExecutorService destructor [#6270](https://github.com/apache/pulsar/pull/6270) [C++] Fixed handling of canceled timer events on NegativeAcksTracker [#6272](https://github.com/apache/pulsar/pull/6272) -[broker] Fix bug that tenants whose allowed clusters include global cannot be created/updated [#6275](https://github.com/apache/pulsar/pull/6275) -[pulsar-client-cpp] Fix for possible deadlock when closing Pulsar client [#6277](https://github.com/apache/pulsar/pull/6277) +[broker] Fixed bug that tenants whose allowed clusters include global cannot be created/updated [#6275](https://github.com/apache/pulsar/pull/6275) +[pulsar-client-cpp] Fixed for possible deadlock when closing Pulsar client [#6277](https://github.com/apache/pulsar/pull/6277) Fixed integration Pulsar SQL test failed [#6279](https://github.com/apache/pulsar/pull/6279) Remove problematic semicolon from conf [#6303](https://github.com/apache/pulsar/pull/6303) Enable get precise backlog and backlog without delayed messages. [#6310](https://github.com/apache/pulsar/pull/6310) @@ -41,41 +41,42 @@ Windows CMake corrections [#6336](https://github.com/apache/pulsar/pull/6336) Avoid getting partition metadata while the topic name is a partition name. [#6339](https://github.com/apache/pulsar/pull/6339) [Helm]explicit statement env-var 'BOOKIE_MEM' and 'BOOKIE_GC' for values-mini.yaml [#6340](https://github.com/apache/pulsar/pull/6340) [Java Reader Client] Start reader inside batch result in read first message in batch. [#6345](https://github.com/apache/pulsar/pull/6345) -[Issue 6343] Fix broker to specify a list of bookie groups [#6349](https://github.com/apache/pulsar/pull/6349) +[Issue 6343] Fixed broker to specify a list of bookie groups [#6349](https://github.com/apache/pulsar/pull/6349) Independent schema is set for each consumer generated by topic [#6356](https://github.com/apache/pulsar/pull/6356) [function] remove future.join() from PulsarSinkEffectivelyOnceProcessor [#6361](https://github.com/apache/pulsar/pull/6361) -[ClientAPI]Fix hasMessageAvailable() [#6362](https://github.com/apache/pulsar/pull/6362) +[ClientAPI]Fixed hasMessageAvailable() [#6362](https://github.com/apache/pulsar/pull/6362) [HELM] autorecovery - could not find or load main class [#6373](https://github.com/apache/pulsar/pull/6373) -Fix Amend the default value of `supportedNamespaceBundleSplitAlgorithms [#6374](https://github.com/apache/pulsar/pull/6374) +Fixed Amend the default value of `supportedNamespaceBundleSplitAlgorithms [#6374](https://github.com/apache/pulsar/pull/6374) [Pulsar-Client] Stop shade snappy-java in pulsar-client-shaded [#6375](https://github.com/apache/pulsar/pull/6375) -Fix duplicate key to send propertys [#6390](https://github.com/apache/pulsar/pull/6390) -[Issue 6168] Fix Unacked Message Tracker by Using Time Partition on C++ [#6391](https://github.com/apache/pulsar/pull/6391) -[Minor] Fix java code errors reported by lgtm. [#6398](https://github.com/apache/pulsar/pull/6398) +Fixed duplicate key to send propertys [#6390](https://github.com/apache/pulsar/pull/6390) +[Issue 6168] Fixed Unacked Message Tracker by Using Time Partition on C++ [#6391](https://github.com/apache/pulsar/pull/6391) +[Minor] Fixed java code errors reported by lgtm. [#6398](https://github.com/apache/pulsar/pull/6398) [Python Test]Fixed the enum34 package not found [#6401](https://github.com/apache/pulsar/pull/6401) Consumer received duplicated deplayed messages upon restart [#6404](https://github.com/apache/pulsar/pull/6404) -[Schema] Fix wrong avro schema [#6406](https://github.com/apache/pulsar/pull/6406) +[Schema] Fixed wrong avro schema [#6406](https://github.com/apache/pulsar/pull/6406) [Java client] MultiTopics discovery is broken due to discovery task scheduled twice instead of pendingBatchReceiveTask [#6407](https://github.com/apache/pulsar/pull/6407) -Fix publish buffer limit does not take effect [#6431](https://github.com/apache/pulsar/pull/6431) -Fix the bug of authenticationData is't initialized. [#6440](https://github.com/apache/pulsar/pull/6440) +Fixed publish buffer limit does not take effect [#6431](https://github.com/apache/pulsar/pull/6431) +Fixed the bug of authenticationData is't initialized. [#6440](https://github.com/apache/pulsar/pull/6440) Fixed the max backoff configuration for lookups [#6444](https://github.com/apache/pulsar/pull/6444) Fixed avro schema decode error in functions [#6445](https://github.com/apache/pulsar/pull/6445) -pulsar-proxy: fix correct name for proxy thread executor name [#6460](https://github.com/apache/pulsar/pull/6460) -[pulsar-proxy] fix logging for published messages [#6474](https://github.com/apache/pulsar/pull/6474) -Fix create partitioned topic with a substring of an existing topic name. [#6478](https://github.com/apache/pulsar/pull/6478) -Fix memory leak when running topic compaction. [#6485](https://github.com/apache/pulsar/pull/6485) -[proxy] Fix proxy routing to functions worker [#6486](https://github.com/apache/pulsar/pull/6486) -[pulsar-client] fix deadlock on send failure [#6488](https://github.com/apache/pulsar/pull/6488) -[pulsar-client-cpp] Fix Redelivery of Messages on UnackedMessageTracker When Ack Messages . [#6498](https://github.com/apache/pulsar/pull/6498) -Fix admin getLastMessageId return batchIndex [#6511](https://github.com/apache/pulsar/pull/6511) -Fix: topic with one partition cannot be updated [#6560](https://github.com/apache/pulsar/pull/6560) -[pulsar-client] Fix NPE while call getLastMessageId [#6562](https://github.com/apache/pulsar/pull/6562) +pulsar-proxy: fixed correct name for proxy thread executor name [#6460](https://github.com/apache/pulsar/pull/6460) +[pulsar-proxy] fixed logging for published messages [#6474](https://github.com/apache/pulsar/pull/6474) +Fixed create partitioned topic with a substring of an existing topic name. [#6478](https://github.com/apache/pulsar/pull/6478) +Fixed memory leak when running topic compaction. [#6485](https://github.com/apache/pulsar/pull/6485) +[proxy] Fixed proxy routing to functions worker [#6486](https://github.com/apache/pulsar/pull/6486) +[pulsar-client] fixed deadlock on send failure [#6488](https://github.com/apache/pulsar/pull/6488) +[pulsar-client-cpp] Fixed Redelivery of Messages on UnackedMessageTracker When Ack Messages . [#6498](https://github.com/apache/pulsar/pull/6498) +Fixed admin getLastMessageId return batchIndex [#6511](https://github.com/apache/pulsar/pull/6511) +Fixed topic with one partition cannot be updated [#6560](https://github.com/apache/pulsar/pull/6560) +[pulsar-client] Fixed NPE while call getLastMessageId [#6562](https://github.com/apache/pulsar/pull/6562) Do not retry on authorization failure [#6577](https://github.com/apache/pulsar/pull/6577) -Fix send get raw schema request [#6650](https://github.com/apache/pulsar/pull/6650) +Fixed send get raw schema request [#6650](https://github.com/apache/pulsar/pull/6650) Fixed avro schema decode error in functions [#6662](https://github.com/apache/pulsar/pull/6662) [broker]Handle BadVersionException thrown by updateSchemaLocator() [#6683](https://github.com/apache/pulsar/pull/6683) +Fixed restore clusterDispatchRate policy for compatibility [#6176](https://github.com/apache/pulsar/pull/6176) -#### Enhancements +#### Enhancements Expose bookkeeper expose explicit lac configuration in broker.conf [#5822](https://github.com/apache/pulsar/pull/5822) [build] Skip javadoc task for pulsar-client-kafka-compact modules [#5836](https://github.com/apache/pulsar/pull/5836) Add backlogSize in topicStats [#5914](https://github.com/apache/pulsar/pull/5914) @@ -94,7 +95,6 @@ Add a message on how to make log refresh immediately when starting a component [ [broker] Output resource usage rate to log on broker [#6152](https://github.com/apache/pulsar/pull/6152) [helm]: Start proxy pods when at least one broker pod is running [#6158](https://github.com/apache/pulsar/pull/6158) [helm-chart] add missing check to dashboard-ingress [#6160](https://github.com/apache/pulsar/pull/6160) -Fix [broker] Restore clusterDispatchRate policy for compatibility [#6176](https://github.com/apache/pulsar/pull/6176) Introduce maxMessagePublishBufferSizeInMB configuration to avoid broker OOM [#6178](https://github.com/apache/pulsar/pull/6178) Namespace level support offloader [#6183](https://github.com/apache/pulsar/pull/6183) Support `unload` all partitions of a partitioned topic [#6187](https://github.com/apache/pulsar/pull/6187) From 93eae1087ded022802a2369c13a21323c6747ec1 Mon Sep 17 00:00:00 2001 From: guangning Date: Mon, 20 Apr 2020 16:51:25 +0800 Subject: [PATCH 03/13] Fixed style --- site2/website/release-notes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site2/website/release-notes.md b/site2/website/release-notes.md index 28c0cee54d080..87d08ab085a28 100644 --- a/site2/website/release-notes.md +++ b/site2/website/release-notes.md @@ -46,7 +46,7 @@ Independent schema is set for each consumer generated by topic [#6356](https://g [function] remove future.join() from PulsarSinkEffectivelyOnceProcessor [#6361](https://github.com/apache/pulsar/pull/6361) [ClientAPI]Fixed hasMessageAvailable() [#6362](https://github.com/apache/pulsar/pull/6362) [HELM] autorecovery - could not find or load main class [#6373](https://github.com/apache/pulsar/pull/6373) -Fixed Amend the default value of `supportedNamespaceBundleSplitAlgorithms [#6374](https://github.com/apache/pulsar/pull/6374) +Fixed Amend the default value of `supportedNamespaceBundleSplitAlgorithms` [#6374](https://github.com/apache/pulsar/pull/6374) [Pulsar-Client] Stop shade snappy-java in pulsar-client-shaded [#6375](https://github.com/apache/pulsar/pull/6375) Fixed duplicate key to send propertys [#6390](https://github.com/apache/pulsar/pull/6390) [Issue 6168] Fixed Unacked Message Tracker by Using Time Partition on C++ [#6391](https://github.com/apache/pulsar/pull/6391) From afaa705ddfd880b79ec815d1032776c25536c9e4 Mon Sep 17 00:00:00 2001 From: guangning Date: Mon, 20 Apr 2020 16:53:49 +0800 Subject: [PATCH 04/13] Fixed style --- site2/website/release-notes.md | 257 +++++++++++++++++---------------- 1 file changed, 129 insertions(+), 128 deletions(-) diff --git a/site2/website/release-notes.md b/site2/website/release-notes.md index 87d08ab085a28..eb1bf984e93d9 100644 --- a/site2/website/release-notes.md +++ b/site2/website/release-notes.md @@ -9,137 +9,138 @@ PIP-55: Refresh Authentication Credentials [#6074](https://github.com/apache/pul #### Fixes -Fixed create consumer on partitioned topic while disable topic auto creation. [#5572](https://github.com/apache/pulsar/pull/5572) -Fixed static linking on C++ lib on MacOS [#5581](https://github.com/apache/pulsar/pull/5581) -[pulsar-broker] close managed-ledgers before giving up bundle ownership to avoid bad zk-version [#5599](https://github.com/apache/pulsar/pull/5599) -Fixed negative un-ack messages in consumer stats [#5929](https://github.com/apache/pulsar/pull/5929) -Fixed unit test issue in BrokerServiceTest.java [#6006](https://github.com/apache/pulsar/pull/6006) -Fixed NPE occur when get partitioned topic stats [#6060](https://github.com/apache/pulsar/pull/6060) -Fixed zero queue consumer message redelivery [#6076](https://github.com/apache/pulsar/pull/6076) -Fixed message redelivery for zero queue consumer while using async api to receive messages [#6090](https://github.com/apache/pulsar/pull/6090) -Fixed Adds integration test for RabbitMQ [#6033](https://github.com/apache/pulsar/pull/6033) -Fixed the argument and description for dead letter topic is wrong [#6101](https://github.com/apache/pulsar/pull/6101) -Fixed Websocket doesn't set the correct cluster data [#6102](https://github.com/apache/pulsar/pull/6102) -Fixed available permits may be greater than 1 even though queue size is 0. [#6106](https://github.com/apache/pulsar/pull/6106) -Add timeout to search for web service URLs to avoid web threads getting stuck [#6124](https://github.com/apache/pulsar/pull/6124) -Fixed broker client tls settings error [#6128](https://github.com/apache/pulsar/pull/6128) -Fixed get schema version in HttpLookupService. [#6193](https://github.com/apache/pulsar/pull/6193) -[broker] Fixed bug that backlog message that has not yet expired could be deleted due to TTL [#6211](https://github.com/apache/pulsar/pull/6211) -[Compaction] Fixed log compaction for flow control/empty topic/last deletion [#6237](https://github.com/apache/pulsar/pull/6237) -[Function Worker] Fixed deploy of WindowFunctions [#6246](https://github.com/apache/pulsar/pull/6246) -Make tests more stable by using JSONAssert equals [#6247](https://github.com/apache/pulsar/pull/6247) -[C++] Fixed memory corruption on ExecutorService destructor [#6270](https://github.com/apache/pulsar/pull/6270) -[C++] Fixed handling of canceled timer events on NegativeAcksTracker [#6272](https://github.com/apache/pulsar/pull/6272) -[broker] Fixed bug that tenants whose allowed clusters include global cannot be created/updated [#6275](https://github.com/apache/pulsar/pull/6275) -[pulsar-client-cpp] Fixed for possible deadlock when closing Pulsar client [#6277](https://github.com/apache/pulsar/pull/6277) -Fixed integration Pulsar SQL test failed [#6279](https://github.com/apache/pulsar/pull/6279) -Remove problematic semicolon from conf [#6303](https://github.com/apache/pulsar/pull/6303) -Enable get precise backlog and backlog without delayed messages. [#6310](https://github.com/apache/pulsar/pull/6310) -Fixed casting in ZooKeeperCache.getDataIfPresent() [#6313](https://github.com/apache/pulsar/pull/6313) -[Fix-6273] Flush the potential duplicated message when add messages to a batch. [#6326](https://github.com/apache/pulsar/pull/6326) -Windows CMake corrections [#6336](https://github.com/apache/pulsar/pull/6336) -Avoid getting partition metadata while the topic name is a partition name. [#6339](https://github.com/apache/pulsar/pull/6339) -[Helm]explicit statement env-var 'BOOKIE_MEM' and 'BOOKIE_GC' for values-mini.yaml [#6340](https://github.com/apache/pulsar/pull/6340) -[Java Reader Client] Start reader inside batch result in read first message in batch. [#6345](https://github.com/apache/pulsar/pull/6345) -[Issue 6343] Fixed broker to specify a list of bookie groups [#6349](https://github.com/apache/pulsar/pull/6349) -Independent schema is set for each consumer generated by topic [#6356](https://github.com/apache/pulsar/pull/6356) -[function] remove future.join() from PulsarSinkEffectivelyOnceProcessor [#6361](https://github.com/apache/pulsar/pull/6361) -[ClientAPI]Fixed hasMessageAvailable() [#6362](https://github.com/apache/pulsar/pull/6362) -[HELM] autorecovery - could not find or load main class [#6373](https://github.com/apache/pulsar/pull/6373) -Fixed Amend the default value of `supportedNamespaceBundleSplitAlgorithms` [#6374](https://github.com/apache/pulsar/pull/6374) -[Pulsar-Client] Stop shade snappy-java in pulsar-client-shaded [#6375](https://github.com/apache/pulsar/pull/6375) -Fixed duplicate key to send propertys [#6390](https://github.com/apache/pulsar/pull/6390) -[Issue 6168] Fixed Unacked Message Tracker by Using Time Partition on C++ [#6391](https://github.com/apache/pulsar/pull/6391) -[Minor] Fixed java code errors reported by lgtm. [#6398](https://github.com/apache/pulsar/pull/6398) -[Python Test]Fixed the enum34 package not found [#6401](https://github.com/apache/pulsar/pull/6401) -Consumer received duplicated deplayed messages upon restart [#6404](https://github.com/apache/pulsar/pull/6404) -[Schema] Fixed wrong avro schema [#6406](https://github.com/apache/pulsar/pull/6406) -[Java client] MultiTopics discovery is broken due to discovery task scheduled twice instead of pendingBatchReceiveTask [#6407](https://github.com/apache/pulsar/pull/6407) -Fixed publish buffer limit does not take effect [#6431](https://github.com/apache/pulsar/pull/6431) -Fixed the bug of authenticationData is't initialized. [#6440](https://github.com/apache/pulsar/pull/6440) -Fixed the max backoff configuration for lookups [#6444](https://github.com/apache/pulsar/pull/6444) -Fixed avro schema decode error in functions [#6445](https://github.com/apache/pulsar/pull/6445) -pulsar-proxy: fixed correct name for proxy thread executor name [#6460](https://github.com/apache/pulsar/pull/6460) -[pulsar-proxy] fixed logging for published messages [#6474](https://github.com/apache/pulsar/pull/6474) -Fixed create partitioned topic with a substring of an existing topic name. [#6478](https://github.com/apache/pulsar/pull/6478) -Fixed memory leak when running topic compaction. [#6485](https://github.com/apache/pulsar/pull/6485) -[proxy] Fixed proxy routing to functions worker [#6486](https://github.com/apache/pulsar/pull/6486) -[pulsar-client] fixed deadlock on send failure [#6488](https://github.com/apache/pulsar/pull/6488) -[pulsar-client-cpp] Fixed Redelivery of Messages on UnackedMessageTracker When Ack Messages . [#6498](https://github.com/apache/pulsar/pull/6498) -Fixed admin getLastMessageId return batchIndex [#6511](https://github.com/apache/pulsar/pull/6511) -Fixed topic with one partition cannot be updated [#6560](https://github.com/apache/pulsar/pull/6560) -[pulsar-client] Fixed NPE while call getLastMessageId [#6562](https://github.com/apache/pulsar/pull/6562) -Do not retry on authorization failure [#6577](https://github.com/apache/pulsar/pull/6577) -Fixed send get raw schema request [#6650](https://github.com/apache/pulsar/pull/6650) -Fixed avro schema decode error in functions [#6662](https://github.com/apache/pulsar/pull/6662) -[broker]Handle BadVersionException thrown by updateSchemaLocator() [#6683](https://github.com/apache/pulsar/pull/6683) -Fixed restore clusterDispatchRate policy for compatibility [#6176](https://github.com/apache/pulsar/pull/6176) +* Fixed create consumer on partitioned topic while disable topic auto creation [#5572](https://github.com/apache/pulsar/pull/5572) +* Fixed static linking on C++ lib on MacOS [#5581](https://github.com/apache/pulsar/pull/5581) +* [pulsar-broker] close managed-ledgers before giving up bundle ownership to avoid bad zk-version [#5599](https://github.com/apache/pulsar/pull/5599) +* Fixed negative un-ack messages in consumer stats [#5929](https://github.com/apache/pulsar/pull/5929) +* Fixed unit test issue in BrokerServiceTest.java [#6006](https://github.com/apache/pulsar/pull/6006) +* Fixed NPE occur when get partitioned topic stats [#6060](https://github.com/apache/pulsar/pull/6060) +* Fixed zero queue consumer message redelivery [#6076](https://github.com/apache/pulsar/pull/6076) +* Fixed message redelivery for zero queue consumer while using async api to receive messages [#6090](https://github.com/apache/pulsar/pull/6090) +* Fixed Adds integration test for RabbitMQ [#6033](https://github.com/apache/pulsar/pull/6033) +* Fixed the argument and description for dead letter topic is wrong [#6101](https://github.com/apache/pulsar/pull/6101) +* Fixed Websocket doesn't set the correct cluster data [#6102](https://github.com/apache/pulsar/pull/6102) +* Fixed available permits may be greater than 1 even though queue size is 0. [#6106](https://github.com/apache/pulsar/pull/6106) +* Add timeout to search for web service URLs to avoid web threads getting stuck [#6124](https://github.com/apache/pulsar/pull/6124) +* Fixed broker client tls settings error [#6128](https://github.com/apache/pulsar/pull/6128) +* Fixed get schema version in HttpLookupService. [#6193](https://github.com/apache/pulsar/pull/6193) +* [broker] Fixed bug that backlog message that has not yet expired could be deleted due to TTL [#6211](https://github.com/apache/pulsar/pull/6211) +* [Compaction] Fixed log compaction for flow control/empty topic/last deletion [#6237](https://github.com/apache/pulsar/pull/6237) +* [Function Worker] Fixed deploy of WindowFunctions [#6246](https://github.com/apache/pulsar/pull/6246) +* Make tests more stable by using JSONAssert equals [#6247](https://github.com/apache/pulsar/pull/6247) +* [C++] Fixed memory corruption on ExecutorService destructor [#6270](https://github.com/apache/pulsar/pull/6270) +* [C++] Fixed handling of canceled timer events on NegativeAcksTracker [#6272](https://github.com/apache/pulsar/pull/6272) +* [broker] Fixed bug that tenants whose allowed clusters include global cannot be created/updated [#6275](https://github.com/apache/pulsar/pull/6275) +* [pulsar-client-cpp] Fixed for possible deadlock when closing Pulsar client [#6277](https://github.com/apache/pulsar/pull/6277) +* Fixed integration Pulsar SQL test failed [#6279](https://github.com/apache/pulsar/pull/6279) +* Remove problematic semicolon from conf [#6303](https://github.com/apache/pulsar/pull/6303) +* Enable get precise backlog and backlog without delayed messages. [#6310](https://github.com/apache/pulsar/pull/6310) +* Fixed casting in ZooKeeperCache.getDataIfPresent() [#6313](https://github.com/apache/pulsar/pull/6313) +* [Fix-6273] Flush the potential duplicated message when add messages to a batch. [#6326](https://github.com/apache/pulsar/pull/6326) +* Windows CMake corrections [#6336](https://github.com/apache/pulsar/pull/6336) +* Avoid getting partition metadata while the topic name is a partition name. [#6339](https://github.com/apache/pulsar/pull/6339) +* [Helm]explicit statement env-var 'BOOKIE_MEM' and 'BOOKIE_GC' for values-mini.yaml [#6340](https://github.com/apache/pulsar/pull/6340) +* [Java Reader Client] Start reader inside batch result in read first message in batch. [#6345](https://github.com/apache/pulsar/pull/6345) +* [Issue 6343] Fixed broker to specify a list of bookie groups [#6349](https://github.com/apache/pulsar/pull/6349) +* Independent schema is set for each consumer generated by topic [#6356](https://github.com/apache/pulsar/pull/6356) +* [function] remove future.join() from PulsarSinkEffectivelyOnceProcessor [#6361](https://github.com/apache/pulsar/pull/6361) +* [ClientAPI]Fixed hasMessageAvailable() [#6362](https://github.com/apache/pulsar/pull/6362) +* [HELM] autorecovery - could not find or load main class [#6373](https://github.com/apache/pulsar/pull/6373) +* Fixed Amend the default value of `supportedNamespaceBundleSplitAlgorithms` [#6374](https://github.com/apache/pulsar/pull/6374) +* [Pulsar-Client] Stop shade snappy-java in pulsar-client-shaded [#6375](https://github.com/apache/pulsar/pull/6375) +* Fixed duplicate key to send propertys [#6390](https://github.com/apache/pulsar/pull/6390) +* [Issue 6168] Fixed Unacked Message Tracker by Using Time Partition on C++ [#6391](https://github.com/apache/pulsar/pull/6391) +* [Minor] Fixed java code errors reported by lgtm. [#6398](https://github.com/apache/pulsar/pull/6398) +* [Python Test]Fixed the enum34 package not found [#6401](https://github.com/apache/pulsar/pull/6401) +* Consumer received duplicated deplayed messages upon restart [#6404](https://github.com/apache/pulsar/pull/6404) +* [Schema] Fixed wrong avro schema [#6406](https://github.com/apache/pulsar/pull/6406) +[Java client] MultiTopics discovery is broken due to discovery task scheduled twice instead of pendingBatchReceiveTask [#6407](https://github.com/apache/pulsar/* pull/6407) +* Fixed publish buffer limit does not take effect [#6431](https://github.com/apache/pulsar/pull/6431) +* Fixed the bug of authenticationData is't initialized. [#6440](https://github.com/apache/pulsar/pull/6440) +* Fixed the max backoff configuration for lookups [#6444](https://github.com/apache/pulsar/pull/6444) +* Fixed avro schema decode error in functions [#6445](https://github.com/apache/pulsar/pull/6445) +* pulsar-proxy: fixed correct name for proxy thread executor name [#6460](https://github.com/apache/pulsar/pull/6460) +* [pulsar-proxy] fixed logging for published messages [#6474](https://github.com/apache/pulsar/pull/6474) +* Fixed create partitioned topic with a substring of an existing topic name. [#6478](https://github.com/apache/pulsar/pull/6478) +* Fixed memory leak when running topic compaction. [#6485](https://github.com/apache/pulsar/pull/6485) +* [proxy] Fixed proxy routing to functions worker [#6486](https://github.com/apache/pulsar/pull/6486) +* [pulsar-client] fixed deadlock on send failure [#6488](https://github.com/apache/pulsar/pull/6488) +* [pulsar-client-cpp] Fixed Redelivery of Messages on UnackedMessageTracker When Ack Messages . [#6498](https://github.com/apache/pulsar/pull/6498) +* Fixed admin getLastMessageId return batchIndex [#6511](https://github.com/apache/pulsar/pull/6511) +* Fixed topic with one partition cannot be updated [#6560](https://github.com/apache/pulsar/pull/6560) +* [pulsar-client] Fixed NPE while call getLastMessageId [#6562](https://github.com/apache/pulsar/pull/6562) +* Do not retry on authorization failure [#6577](https://github.com/apache/pulsar/pull/6577) +* Fixed send get raw schema request [#6650](https://github.com/apache/pulsar/pull/6650) +* Fixed avro schema decode error in functions [#6662](https://github.com/apache/pulsar/pull/6662) +* [broker]Handle BadVersionException thrown by updateSchemaLocator() [#6683](https://github.com/apache/pulsar/pull/6683) +* Fixed restore clusterDispatchRate policy for compatibility [#6176](https://github.com/apache/pulsar/pull/6176) #### Enhancements -Expose bookkeeper expose explicit lac configuration in broker.conf [#5822](https://github.com/apache/pulsar/pull/5822) -[build] Skip javadoc task for pulsar-client-kafka-compact modules [#5836](https://github.com/apache/pulsar/pull/5836) -Add backlogSize in topicStats [#5914](https://github.com/apache/pulsar/pull/5914) -Allow to enable/disable delayed delivery for messages on namespace [#5915](https://github.com/apache/pulsar/pull/5915) -Upgrade Avro to 1.9.1 [#5938](https://github.com/apache/pulsar/pull/5938) -Avoid using same OpAddEntry between different ledger handles [#5942](https://github.com/apache/pulsar/pull/5942) -[pulsar-broker] Prevent creation of regular topic with the same name as existing partitioned topic [#5943](https://github.com/apache/pulsar/pull/5943) -[pulsar-broker] Clean up closed producer to avoid publish-time for producer [#5988](https://github.com/apache/pulsar/pull/5988) -Expose lastConsumedTimestamp and lastAckedTimestamp to consumer stats [#6051](https://github.com/apache/pulsar/pull/6051) -Fix maven broken link [#6068](https://github.com/apache/pulsar/pull/6068) -[minor] make acker in BatchMessageIdImpl transient [#6064](https://github.com/apache/pulsar/pull/6064) -Support delete inactive topic when subscriptions caught up [#6077](https://github.com/apache/pulsar/pull/6077) -Add a message on how to make log refresh immediately when starting a component [#6078](https://github.com/apache/pulsar/pull/6078) -[Broker]Reset cursor with a non-exists position [#6120](https://github.com/apache/pulsar/pull/6120) -[pulsar-admin] allow tenant admin to manage subscription permission [#6122](https://github.com/apache/pulsar/pull/6122) -[broker] Output resource usage rate to log on broker [#6152](https://github.com/apache/pulsar/pull/6152) -[helm]: Start proxy pods when at least one broker pod is running [#6158](https://github.com/apache/pulsar/pull/6158) -[helm-chart] add missing check to dashboard-ingress [#6160](https://github.com/apache/pulsar/pull/6160) -Introduce maxMessagePublishBufferSizeInMB configuration to avoid broker OOM [#6178](https://github.com/apache/pulsar/pull/6178) -Namespace level support offloader [#6183](https://github.com/apache/pulsar/pull/6183) -Support `unload` all partitions of a partitioned topic [#6187](https://github.com/apache/pulsar/pull/6187) -Create managed ledger path on local zookeeper when create partitions [#6189](https://github.com/apache/pulsar/pull/6189) -Corrected the method name for source implementation [#6190](https://github.com/apache/pulsar/pull/6190) -Make kubernetes yamls for aws operational [#6192](https://github.com/apache/pulsar/pull/6192) -Pin the netty-transport-native-epoll to avoid conflicts [#6194](https://github.com/apache/pulsar/pull/6194) -Ensure JVM memory and GC options are set for bookie [#6201](https://github.com/apache/pulsar/pull/6201) -Default functionAuthProvider when running in k8s [#6203](https://github.com/apache/pulsar/pull/6203) -[Authentication] Validate tokens for binary connections [#6233](https://github.com/apache/pulsar/pull/6233) -Use fully qualified hostname as default to advertise brokers [#6235](https://github.com/apache/pulsar/pull/6235) -Supports evenly distribute topics count when splits bundle [#6241](https://github.com/apache/pulsar/pull/6241) -KeyValue schema support for pulsar sql [#6325](https://github.com/apache/pulsar/pull/6325) -Upgrade ZooKeeper to 3.5.7 [#6329](https://github.com/apache/pulsar/pull/6329) -Client: make SubscriptionMode a member of ConsumerConfigurationData [#6337](https://github.com/apache/pulsar/pull/6337) -Fix java doc for key shared policy. [#6341](https://github.com/apache/pulsar/pull/6341) -Creating a topic does not wait for creating cursor of replicators [#6364](https://github.com/apache/pulsar/pull/6364) -[Reader] Should set either start message id or start message from roll back duration. [#6392](https://github.com/apache/pulsar/pull/6392) -Seek to the first one >= timestamp [#6393](https://github.com/apache/pulsar/pull/6393) -[pulsar-zookeeper-utils] Close ZK before canceling future with exception [#6399](https://github.com/apache/pulsar/pull/6399) -Add verification for SchemaDefinitionBuilderImpl.java [#6405](https://github.com/apache/pulsar/pull/6405) -BatchReceivePolicy implements Serializable. [#6423](https://github.com/apache/pulsar/pull/6423) -Bump netty version to 4.1.45.Final [#6424](https://github.com/apache/pulsar/pull/6424) -Remove duplicated test libraries in POM dependencies [#6430](https://github.com/apache/pulsar/pull/6430) -[Flink-Connector]Get PulsarClient from cache should always return an open instance [#6436](https://github.com/apache/pulsar/pull/6436) -Pulsar Java client: Use System.nanoTime() instead of System.currentTimeMillis() to measure elapsed time [#6454](https://github.com/apache/pulsar/pull/6454) -[Broker] Create namespace failed when TLS is enabled in PulsarStandalone [#6457](https://github.com/apache/pulsar/pull/6457) -Improve cpp-client-lib: provide another `libpulsarwithdeps.a` in dep/rpm [#6458](https://github.com/apache/pulsar/pull/6458) -[C++]Avoid calling redeliverMessages() when message list is empty [#6480](https://github.com/apache/pulsar/pull/6480) -Fix some async method problems at PersistentTopicsBase. [#6483](https://github.com/apache/pulsar/pull/6483) -[broker] Timeout API calls in BrokerService [#6489](https://github.com/apache/pulsar/pull/6489) -[pulsar-client] remove duplicate cnx method [#6490](https://github.com/apache/pulsar/pull/6490) -Start namespace service and schema registry service before start broker. [#6499](https://github.com/apache/pulsar/pull/6499) -Use more granular permissions for topics [#6504](https://github.com/apache/pulsar/pull/6504) -[Maven Cleanup] Remove managed-ledger and zk-utils test-jar dependencies when possible [#6513](https://github.com/apache/pulsar/pull/6513) -Disable channel auto read when publish rate or publish buffer exceeded [#6550](https://github.com/apache/pulsar/pull/6550) -Stop increase unacked messages for the consumer with Exclusive/Failover subscription mode. [#6558](https://github.com/apache/pulsar/pull/6558) -Resume some servercnx method to public [#6581](https://github.com/apache/pulsar/pull/6581) -Support BouncyCastle FIPS provider [#6588](https://github.com/apache/pulsar/pull/6588) -Improve Key_Shared subscription message dispatching performance. [#6647](https://github.com/apache/pulsar/pull/6647) -Not allow sub auto create by admin when disable topic auto create [#6685](https://github.com/apache/pulsar/pull/6685) -Update README.md To Represent JDK 11 in Build Pulsar Doc [#6686](https://github.com/apache/pulsar/pull/6686) -Add Joda time logical type conversion. [#6704](https://github.com/apache/pulsar/pull/6704) -Improve backlogSize stats in the topic. [#6700](https://github.com/apache/pulsar/pull/6700) -[python client]Support generate pulsar-client for python3.8 [#6741](https://github.com/apache/pulsar/pull/6741) + +* Expose bookkeeper expose explicit lac configuration in broker.conf [#5822](https://github.com/apache/pulsar/pull/5822) +* [build] Skip javadoc task for pulsar-client-kafka-compact modules [#5836](https://github.com/apache/pulsar/pull/5836) +* Add backlogSize in topicStats [#5914](https://github.com/apache/pulsar/pull/5914) +* Allow to enable/disable delayed delivery for messages on namespace [#5915](https://github.com/apache/pulsar/pull/5915) +* Upgrade Avro to 1.9.1 [#5938](https://github.com/apache/pulsar/pull/5938) +* Avoid using same OpAddEntry between different ledger handles [#5942](https://github.com/apache/pulsar/pull/5942) +* [pulsar-broker] Prevent creation of regular topic with the same name as existing partitioned topic [#5943](https://github.com/apache/pulsar/pull/5943) +* [pulsar-broker] Clean up closed producer to avoid publish-time for producer [#5988](https://github.com/apache/pulsar/pull/5988) +* Expose lastConsumedTimestamp and lastAckedTimestamp to consumer stats [#6051](https://github.com/apache/pulsar/pull/6051) +* Fix maven broken link [#6068](https://github.com/apache/pulsar/pull/6068) +* [minor] make acker in BatchMessageIdImpl transient [#6064](https://github.com/apache/pulsar/pull/6064) +* Support delete inactive topic when subscriptions caught up [#6077](https://github.com/apache/pulsar/pull/6077) +* Add a message on how to make log refresh immediately when starting a component [#6078](https://github.com/apache/pulsar/pull/6078) +* [Broker]Reset cursor with a non-exists position [#6120](https://github.com/apache/pulsar/pull/6120) +* [pulsar-admin] allow tenant admin to manage subscription permission [#6122](https://github.com/apache/pulsar/pull/6122) +* [broker] Output resource usage rate to log on broker [#6152](https://github.com/apache/pulsar/pull/6152) +* [helm]: Start proxy pods when at least one broker pod is running [#6158](https://github.com/apache/pulsar/pull/6158) +* [helm-chart] add missing check to dashboard-ingress [#6160](https://github.com/apache/pulsar/pull/6160) +* Introduce maxMessagePublishBufferSizeInMB configuration to avoid broker OOM [#6178](https://github.com/apache/pulsar/pull/6178) +* Namespace level support offloader [#6183](https://github.com/apache/pulsar/pull/6183) +* Support `unload` all partitions of a partitioned topic [#6187](https://github.com/apache/pulsar/pull/6187) +* Create managed ledger path on local zookeeper when create partitions [#6189](https://github.com/apache/pulsar/pull/6189) +* Corrected the method name for source implementation [#6190](https://github.com/apache/pulsar/pull/6190) +* Make kubernetes yamls for aws operational [#6192](https://github.com/apache/pulsar/pull/6192) +* Pin the netty-transport-native-epoll to avoid conflicts [#6194](https://github.com/apache/pulsar/pull/6194) +* Ensure JVM memory and GC options are set for bookie [#6201](https://github.com/apache/pulsar/pull/6201) +* Default functionAuthProvider when running in k8s [#6203](https://github.com/apache/pulsar/pull/6203) +* [Authentication] Validate tokens for binary connections [#6233](https://github.com/apache/pulsar/pull/6233) +* Use fully qualified hostname as default to advertise brokers [#6235](https://github.com/apache/pulsar/pull/6235) +* Supports evenly distribute topics count when splits bundle [#6241](https://github.com/apache/pulsar/pull/6241) +* KeyValue schema support for pulsar sql [#6325](https://github.com/apache/pulsar/pull/6325) +* Upgrade ZooKeeper to 3.5.7 [#6329](https://github.com/apache/pulsar/pull/6329) +* Client: make SubscriptionMode a member of ConsumerConfigurationData [#6337](https://github.com/apache/pulsar/pull/6337) +* Fix java doc for key shared policy. [#6341](https://github.com/apache/pulsar/pull/6341) +* Creating a topic does not wait for creating cursor of replicators [#6364](https://github.com/apache/pulsar/pull/6364) +* [Reader] Should set either start message id or start message from roll back duration. [#6392](https://github.com/apache/pulsar/pull/6392) +* Seek to the first one >= timestamp [#6393](https://github.com/apache/pulsar/pull/6393) +* [pulsar-zookeeper-utils] Close ZK before canceling future with exception [#6399](https://github.com/apache/pulsar/pull/6399) +* Add verification for SchemaDefinitionBuilderImpl.java [#6405](https://github.com/apache/pulsar/pull/6405) +* BatchReceivePolicy implements Serializable. [#6423](https://github.com/apache/pulsar/pull/6423) +* Bump netty version to 4.1.45.Final [#6424](https://github.com/apache/pulsar/pull/6424) +* Remove duplicated test libraries in POM dependencies [#6430](https://github.com/apache/pulsar/pull/6430) +* [Flink-Connector]Get PulsarClient from cache should always return an open instance [#6436](https://github.com/apache/pulsar/pull/6436) +* Pulsar Java client: Use System.nanoTime() instead of System.currentTimeMillis() to measure elapsed time [#6454](https://github.com/apache/pulsar/pull/6454) +* [Broker] Create namespace failed when TLS is enabled in PulsarStandalone [#6457](https://github.com/apache/pulsar/pull/6457) +* Improve cpp-client-lib: provide another `libpulsarwithdeps.a` in dep/rpm [#6458](https://github.com/apache/pulsar/pull/6458) +* [C++]Avoid calling redeliverMessages() when message list is empty [#6480](https://github.com/apache/pulsar/pull/6480) +* Fix some async method problems at PersistentTopicsBase. [#6483](https://github.com/apache/pulsar/pull/6483) +* [broker] Timeout API calls in BrokerService [#6489](https://github.com/apache/pulsar/pull/6489) +* [pulsar-client] remove duplicate cnx method [#6490](https://github.com/apache/pulsar/pull/6490) +* Start namespace service and schema registry service before start broker. [#6499](https://github.com/apache/pulsar/pull/6499) +* Use more granular permissions for topics [#6504](https://github.com/apache/pulsar/pull/6504) +* [Maven Cleanup] Remove managed-ledger and zk-utils test-jar dependencies when possible [#6513](https://github.com/apache/pulsar/pull/6513) +* Disable channel auto read when publish rate or publish buffer exceeded [#6550](https://github.com/apache/pulsar/pull/6550) +* Stop increase unacked messages for the consumer with Exclusive/Failover subscription mode. [#6558](https://github.com/apache/pulsar/pull/6558) +* Resume some servercnx method to public [#6581](https://github.com/apache/pulsar/pull/6581) +* Support BouncyCastle FIPS provider [#6588](https://github.com/apache/pulsar/pull/6588) +* Improve Key_Shared subscription message dispatching performance. [#6647](https://github.com/apache/pulsar/pull/6647) +* Not allow sub auto create by admin when disable topic auto create [#6685](https://github.com/apache/pulsar/pull/6685) +* Update README.md To Represent JDK 11 in Build Pulsar Doc [#6686](https://github.com/apache/pulsar/pull/6686) +* Add Joda time logical type conversion. [#6704](https://github.com/apache/pulsar/pull/6704) +* Improve backlogSize stats in the topic. [#6700](https://github.com/apache/pulsar/pull/6700) +* [python client]Support generate pulsar-client for python3.8 [#6741](https://github.com/apache/pulsar/pull/6741) ### 2.5.0 — 2019-12-06 From f3cae023aa5ff01fe914b1a40f52b0128c55c12d Mon Sep 17 00:00:00 2001 From: guangning Date: Mon, 20 Apr 2020 16:56:09 +0800 Subject: [PATCH 05/13] Fixed md style --- site2/website/release-notes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site2/website/release-notes.md b/site2/website/release-notes.md index eb1bf984e93d9..ec2fe134bd0d9 100644 --- a/site2/website/release-notes.md +++ b/site2/website/release-notes.md @@ -54,7 +54,7 @@ PIP-55: Refresh Authentication Credentials [#6074](https://github.com/apache/pul * [Python Test]Fixed the enum34 package not found [#6401](https://github.com/apache/pulsar/pull/6401) * Consumer received duplicated deplayed messages upon restart [#6404](https://github.com/apache/pulsar/pull/6404) * [Schema] Fixed wrong avro schema [#6406](https://github.com/apache/pulsar/pull/6406) -[Java client] MultiTopics discovery is broken due to discovery task scheduled twice instead of pendingBatchReceiveTask [#6407](https://github.com/apache/pulsar/* pull/6407) +* [Java client] MultiTopics discovery is broken due to discovery task scheduled twice instead of pendingBatchReceiveTask [#6407](https://github.com/apache/pulsar/pull/6407) * Fixed publish buffer limit does not take effect [#6431](https://github.com/apache/pulsar/pull/6431) * Fixed the bug of authenticationData is't initialized. [#6440](https://github.com/apache/pulsar/pull/6440) * Fixed the max backoff configuration for lookups [#6444](https://github.com/apache/pulsar/pull/6444) From 75b2957ea1a143c42d971968077bb7e7651f23dd Mon Sep 17 00:00:00 2001 From: guangning Date: Mon, 20 Apr 2020 16:58:51 +0800 Subject: [PATCH 06/13] Fixed release note md file --- site2/website/release-notes.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/site2/website/release-notes.md b/site2/website/release-notes.md index ec2fe134bd0d9..b7fb18d480555 100644 --- a/site2/website/release-notes.md +++ b/site2/website/release-notes.md @@ -5,7 +5,7 @@ #### PIPS -PIP-55: Refresh Authentication Credentials [#6074](https://github.com/apache/pulsar/pull/6074) +* PIP-55: Refresh Authentication Credentials [#6074](https://github.com/apache/pulsar/pull/6074) #### Fixes @@ -74,6 +74,7 @@ PIP-55: Refresh Authentication Credentials [#6074](https://github.com/apache/pul * Fixed avro schema decode error in functions [#6662](https://github.com/apache/pulsar/pull/6662) * [broker]Handle BadVersionException thrown by updateSchemaLocator() [#6683](https://github.com/apache/pulsar/pull/6683) * Fixed restore clusterDispatchRate policy for compatibility [#6176](https://github.com/apache/pulsar/pull/6176) +* Fix maven broken link [#6068](https://github.com/apache/pulsar/pull/6068) #### Enhancements @@ -87,7 +88,6 @@ PIP-55: Refresh Authentication Credentials [#6074](https://github.com/apache/pul * [pulsar-broker] Prevent creation of regular topic with the same name as existing partitioned topic [#5943](https://github.com/apache/pulsar/pull/5943) * [pulsar-broker] Clean up closed producer to avoid publish-time for producer [#5988](https://github.com/apache/pulsar/pull/5988) * Expose lastConsumedTimestamp and lastAckedTimestamp to consumer stats [#6051](https://github.com/apache/pulsar/pull/6051) -* Fix maven broken link [#6068](https://github.com/apache/pulsar/pull/6068) * [minor] make acker in BatchMessageIdImpl transient [#6064](https://github.com/apache/pulsar/pull/6064) * Support delete inactive topic when subscriptions caught up [#6077](https://github.com/apache/pulsar/pull/6077) * Add a message on how to make log refresh immediately when starting a component [#6078](https://github.com/apache/pulsar/pull/6078) @@ -140,7 +140,7 @@ PIP-55: Refresh Authentication Credentials [#6074](https://github.com/apache/pul * Update README.md To Represent JDK 11 in Build Pulsar Doc [#6686](https://github.com/apache/pulsar/pull/6686) * Add Joda time logical type conversion. [#6704](https://github.com/apache/pulsar/pull/6704) * Improve backlogSize stats in the topic. [#6700](https://github.com/apache/pulsar/pull/6700) -* [python client]Support generate pulsar-client for python3.8 [#6741](https://github.com/apache/pulsar/pull/6741) +* [Python Client] Support generate pulsar-client for python3.8 [#6741](https://github.com/apache/pulsar/pull/6741) ### 2.5.0 — 2019-12-06 From 877b3fed19cace253f3ae3e1baa507b069ed4c26 Mon Sep 17 00:00:00 2001 From: guangning Date: Mon, 20 Apr 2020 21:55:45 +0800 Subject: [PATCH 07/13] Fixed release notes --- site2/website/release-notes.md | 276 +++++++++++++++++++-------------- 1 file changed, 160 insertions(+), 116 deletions(-) diff --git a/site2/website/release-notes.md b/site2/website/release-notes.md index b7fb18d480555..439c356511a3b 100644 --- a/site2/website/release-notes.md +++ b/site2/website/release-notes.md @@ -3,145 +3,189 @@ ### 2.5.1 — 2020-04-20 -#### PIPS +#### Features * PIP-55: Refresh Authentication Credentials [#6074](https://github.com/apache/pulsar/pull/6074) +* Namespace level support offloader [#6183](https://github.com/apache/pulsar/pull/6183) +* Upgrade Avro to 1.9.1 [#5938](https://github.com/apache/pulsar/pull/5938) +* Support `unload` all partitions of a partitioned topic [#6187](https://github.com/apache/pulsar/pull/6187) +* Supports evenly distribute topics count when splits bundle [#6241](https://github.com/apache/pulsar/pull/6241) +* KeyValue schema support for pulsar sql [#6325](https://github.com/apache/pulsar/pull/6325) +* Bump netty version to 4.1.45.Final [#6424](https://github.com/apache/pulsar/pull/6424) +* Support BouncyCastle FIPS provider [#6588](https://github.com/apache/pulsar/pull/6588) +* Improve Key_Shared subscription message dispatching performance. [#6647](https://github.com/apache/pulsar/pull/6647) +* Add Joda time logical type conversion. [#6704](https://github.com/apache/pulsar/pull/6704) + + #### Fixes -* Fixed create consumer on partitioned topic while disable topic auto creation [#5572](https://github.com/apache/pulsar/pull/5572) -* Fixed static linking on C++ lib on MacOS [#5581](https://github.com/apache/pulsar/pull/5581) -* [pulsar-broker] close managed-ledgers before giving up bundle ownership to avoid bad zk-version [#5599](https://github.com/apache/pulsar/pull/5599) -* Fixed negative un-ack messages in consumer stats [#5929](https://github.com/apache/pulsar/pull/5929) -* Fixed unit test issue in BrokerServiceTest.java [#6006](https://github.com/apache/pulsar/pull/6006) -* Fixed NPE occur when get partitioned topic stats [#6060](https://github.com/apache/pulsar/pull/6060) -* Fixed zero queue consumer message redelivery [#6076](https://github.com/apache/pulsar/pull/6076) -* Fixed message redelivery for zero queue consumer while using async api to receive messages [#6090](https://github.com/apache/pulsar/pull/6090) -* Fixed Adds integration test for RabbitMQ [#6033](https://github.com/apache/pulsar/pull/6033) +* [Broker] Fixed unit test issue in BrokerServiceTest.java [#6006](https://github.com/apache/pulsar/pull/6006) +* [Broker] Fixed NPE occur when get partitioned topic stats [#6060](https://github.com/apache/pulsar/pull/6060) +* [Broker] Fixed zero queue consumer message redelivery [#6076](https://github.com/apache/pulsar/pull/6076) +* [Broker] Fixed message redelivery for zero queue consumer while using async api to receive messages [#6090](https://github.com/apache/pulsar/pull/6090) * Fixed the argument and description for dead letter topic is wrong [#6101](https://github.com/apache/pulsar/pull/6101) -* Fixed Websocket doesn't set the correct cluster data [#6102](https://github.com/apache/pulsar/pull/6102) -* Fixed available permits may be greater than 1 even though queue size is 0. [#6106](https://github.com/apache/pulsar/pull/6106) -* Add timeout to search for web service URLs to avoid web threads getting stuck [#6124](https://github.com/apache/pulsar/pull/6124) -* Fixed broker client tls settings error [#6128](https://github.com/apache/pulsar/pull/6128) -* Fixed get schema version in HttpLookupService. [#6193](https://github.com/apache/pulsar/pull/6193) * [broker] Fixed bug that backlog message that has not yet expired could be deleted due to TTL [#6211](https://github.com/apache/pulsar/pull/6211) -* [Compaction] Fixed log compaction for flow control/empty topic/last deletion [#6237](https://github.com/apache/pulsar/pull/6237) -* [Function Worker] Fixed deploy of WindowFunctions [#6246](https://github.com/apache/pulsar/pull/6246) -* Make tests more stable by using JSONAssert equals [#6247](https://github.com/apache/pulsar/pull/6247) -* [C++] Fixed memory corruption on ExecutorService destructor [#6270](https://github.com/apache/pulsar/pull/6270) -* [C++] Fixed handling of canceled timer events on NegativeAcksTracker [#6272](https://github.com/apache/pulsar/pull/6272) -* [broker] Fixed bug that tenants whose allowed clusters include global cannot be created/updated [#6275](https://github.com/apache/pulsar/pull/6275) -* [pulsar-client-cpp] Fixed for possible deadlock when closing Pulsar client [#6277](https://github.com/apache/pulsar/pull/6277) -* Fixed integration Pulsar SQL test failed [#6279](https://github.com/apache/pulsar/pull/6279) -* Remove problematic semicolon from conf [#6303](https://github.com/apache/pulsar/pull/6303) -* Enable get precise backlog and backlog without delayed messages. [#6310](https://github.com/apache/pulsar/pull/6310) -* Fixed casting in ZooKeeperCache.getDataIfPresent() [#6313](https://github.com/apache/pulsar/pull/6313) -* [Fix-6273] Flush the potential duplicated message when add messages to a batch. [#6326](https://github.com/apache/pulsar/pull/6326) -* Windows CMake corrections [#6336](https://github.com/apache/pulsar/pull/6336) -* Avoid getting partition metadata while the topic name is a partition name. [#6339](https://github.com/apache/pulsar/pull/6339) -* [Helm]explicit statement env-var 'BOOKIE_MEM' and 'BOOKIE_GC' for values-mini.yaml [#6340](https://github.com/apache/pulsar/pull/6340) -* [Java Reader Client] Start reader inside batch result in read first message in batch. [#6345](https://github.com/apache/pulsar/pull/6345) -* [Issue 6343] Fixed broker to specify a list of bookie groups [#6349](https://github.com/apache/pulsar/pull/6349) -* Independent schema is set for each consumer generated by topic [#6356](https://github.com/apache/pulsar/pull/6356) -* [function] remove future.join() from PulsarSinkEffectivelyOnceProcessor [#6361](https://github.com/apache/pulsar/pull/6361) -* [ClientAPI]Fixed hasMessageAvailable() [#6362](https://github.com/apache/pulsar/pull/6362) -* [HELM] autorecovery - could not find or load main class [#6373](https://github.com/apache/pulsar/pull/6373) +* [Broker] Remove problematic semicolon from conf [#6303](https://github.com/apache/pulsar/pull/6303) +* [Zookeeper] Fixed casting in ZooKeeperCache.getDataIfPresent() [#6313](https://github.com/apache/pulsar/pull/6313) +* [Broker] Fixed broker to specify a list of bookie groups [#6349](https://github.com/apache/pulsar/pull/6349) * Fixed Amend the default value of `supportedNamespaceBundleSplitAlgorithms` [#6374](https://github.com/apache/pulsar/pull/6374) -* [Pulsar-Client] Stop shade snappy-java in pulsar-client-shaded [#6375](https://github.com/apache/pulsar/pull/6375) -* Fixed duplicate key to send propertys [#6390](https://github.com/apache/pulsar/pull/6390) -* [Issue 6168] Fixed Unacked Message Tracker by Using Time Partition on C++ [#6391](https://github.com/apache/pulsar/pull/6391) +* Fix maven broken link [#6068](https://github.com/apache/pulsar/pull/6068) * [Minor] Fixed java code errors reported by lgtm. [#6398](https://github.com/apache/pulsar/pull/6398) -* [Python Test]Fixed the enum34 package not found [#6401](https://github.com/apache/pulsar/pull/6401) * Consumer received duplicated deplayed messages upon restart [#6404](https://github.com/apache/pulsar/pull/6404) -* [Schema] Fixed wrong avro schema [#6406](https://github.com/apache/pulsar/pull/6406) -* [Java client] MultiTopics discovery is broken due to discovery task scheduled twice instead of pendingBatchReceiveTask [#6407](https://github.com/apache/pulsar/pull/6407) -* Fixed publish buffer limit does not take effect [#6431](https://github.com/apache/pulsar/pull/6431) -* Fixed the bug of authenticationData is't initialized. [#6440](https://github.com/apache/pulsar/pull/6440) * Fixed the max backoff configuration for lookups [#6444](https://github.com/apache/pulsar/pull/6444) -* Fixed avro schema decode error in functions [#6445](https://github.com/apache/pulsar/pull/6445) -* pulsar-proxy: fixed correct name for proxy thread executor name [#6460](https://github.com/apache/pulsar/pull/6460) -* [pulsar-proxy] fixed logging for published messages [#6474](https://github.com/apache/pulsar/pull/6474) -* Fixed create partitioned topic with a substring of an existing topic name. [#6478](https://github.com/apache/pulsar/pull/6478) -* Fixed memory leak when running topic compaction. [#6485](https://github.com/apache/pulsar/pull/6485) -* [proxy] Fixed proxy routing to functions worker [#6486](https://github.com/apache/pulsar/pull/6486) -* [pulsar-client] fixed deadlock on send failure [#6488](https://github.com/apache/pulsar/pull/6488) -* [pulsar-client-cpp] Fixed Redelivery of Messages on UnackedMessageTracker When Ack Messages . [#6498](https://github.com/apache/pulsar/pull/6498) -* Fixed admin getLastMessageId return batchIndex [#6511](https://github.com/apache/pulsar/pull/6511) -* Fixed topic with one partition cannot be updated [#6560](https://github.com/apache/pulsar/pull/6560) -* [pulsar-client] Fixed NPE while call getLastMessageId [#6562](https://github.com/apache/pulsar/pull/6562) -* Do not retry on authorization failure [#6577](https://github.com/apache/pulsar/pull/6577) -* Fixed send get raw schema request [#6650](https://github.com/apache/pulsar/pull/6650) -* Fixed avro schema decode error in functions [#6662](https://github.com/apache/pulsar/pull/6662) -* [broker]Handle BadVersionException thrown by updateSchemaLocator() [#6683](https://github.com/apache/pulsar/pull/6683) -* Fixed restore clusterDispatchRate policy for compatibility [#6176](https://github.com/apache/pulsar/pull/6176) -* Fix maven broken link [#6068](https://github.com/apache/pulsar/pull/6068) +* Pin the netty-transport-native-epoll to avoid conflicts [#6194](https://github.com/apache/pulsar/pull/6194) +* Fix java doc for key shared policy. [#6341](https://github.com/apache/pulsar/pull/6341) +* Seek to the first one >= timestamp [#6393](https://github.com/apache/pulsar/pull/6393) #### Enhancements - -* Expose bookkeeper expose explicit lac configuration in broker.conf [#5822](https://github.com/apache/pulsar/pull/5822) -* [build] Skip javadoc task for pulsar-client-kafka-compact modules [#5836](https://github.com/apache/pulsar/pull/5836) -* Add backlogSize in topicStats [#5914](https://github.com/apache/pulsar/pull/5914) -* Allow to enable/disable delayed delivery for messages on namespace [#5915](https://github.com/apache/pulsar/pull/5915) -* Upgrade Avro to 1.9.1 [#5938](https://github.com/apache/pulsar/pull/5938) -* Avoid using same OpAddEntry between different ledger handles [#5942](https://github.com/apache/pulsar/pull/5942) -* [pulsar-broker] Prevent creation of regular topic with the same name as existing partitioned topic [#5943](https://github.com/apache/pulsar/pull/5943) -* [pulsar-broker] Clean up closed producer to avoid publish-time for producer [#5988](https://github.com/apache/pulsar/pull/5988) -* Expose lastConsumedTimestamp and lastAckedTimestamp to consumer stats [#6051](https://github.com/apache/pulsar/pull/6051) -* [minor] make acker in BatchMessageIdImpl transient [#6064](https://github.com/apache/pulsar/pull/6064) -* Support delete inactive topic when subscriptions caught up [#6077](https://github.com/apache/pulsar/pull/6077) -* Add a message on how to make log refresh immediately when starting a component [#6078](https://github.com/apache/pulsar/pull/6078) -* [Broker]Reset cursor with a non-exists position [#6120](https://github.com/apache/pulsar/pull/6120) -* [pulsar-admin] allow tenant admin to manage subscription permission [#6122](https://github.com/apache/pulsar/pull/6122) -* [broker] Output resource usage rate to log on broker [#6152](https://github.com/apache/pulsar/pull/6152) -* [helm]: Start proxy pods when at least one broker pod is running [#6158](https://github.com/apache/pulsar/pull/6158) -* [helm-chart] add missing check to dashboard-ingress [#6160](https://github.com/apache/pulsar/pull/6160) -* Introduce maxMessagePublishBufferSizeInMB configuration to avoid broker OOM [#6178](https://github.com/apache/pulsar/pull/6178) -* Namespace level support offloader [#6183](https://github.com/apache/pulsar/pull/6183) -* Support `unload` all partitions of a partitioned topic [#6187](https://github.com/apache/pulsar/pull/6187) +* [Client] Make tests more stable by using JSONAssert equals [#6247](https://github.com/apache/pulsar/pull/6247) +* [Broker] Enable get precise backlog and backlog without delayed messages. [#6310](https://github.com/apache/pulsar/pull/6310) +* [ZooKeeper] Upgrade ZooKeeper to 3.5.7 [#6329](https://github.com/apache/pulsar/pull/6329) +* [Managed Ledger] Avoid using same OpAddEntry between different ledger handles [#5942](https://github.com/apache/pulsar/pull/5942) +* [Broker] Clean up closed producer to avoid publish-time for producer [#5988](https://github.com/apache/pulsar/pull/5988) +* [Client] make acker in BatchMessageIdImpl transient [#6064](https://github.com/apache/pulsar/pull/6064) +* [Broker] Support delete inactive topic when subscriptions caught up [#6077](https://github.com/apache/pulsar/pull/6077) +* [Broker] Add a message on how to make log refresh immediately when starting a component [#6078](https://github.com/apache/pulsar/pull/6078) +* [Pulsar Admin] allow tenant admin to manage subscription permission [#6122](https://github.com/apache/pulsar/pull/6122) +* [Broker] Output resource usage rate to log on broker [#6152](https://github.com/apache/pulsar/pull/6152) +* [Broker] Introduce maxMessagePublishBufferSizeInMB configuration to avoid broker OOM [#6178](https://github.com/apache/pulsar/pull/6178) * Create managed ledger path on local zookeeper when create partitions [#6189](https://github.com/apache/pulsar/pull/6189) * Corrected the method name for source implementation [#6190](https://github.com/apache/pulsar/pull/6190) -* Make kubernetes yamls for aws operational [#6192](https://github.com/apache/pulsar/pull/6192) -* Pin the netty-transport-native-epoll to avoid conflicts [#6194](https://github.com/apache/pulsar/pull/6194) -* Ensure JVM memory and GC options are set for bookie [#6201](https://github.com/apache/pulsar/pull/6201) -* Default functionAuthProvider when running in k8s [#6203](https://github.com/apache/pulsar/pull/6203) -* [Authentication] Validate tokens for binary connections [#6233](https://github.com/apache/pulsar/pull/6233) -* Use fully qualified hostname as default to advertise brokers [#6235](https://github.com/apache/pulsar/pull/6235) -* Supports evenly distribute topics count when splits bundle [#6241](https://github.com/apache/pulsar/pull/6241) -* KeyValue schema support for pulsar sql [#6325](https://github.com/apache/pulsar/pull/6325) -* Upgrade ZooKeeper to 3.5.7 [#6329](https://github.com/apache/pulsar/pull/6329) -* Client: make SubscriptionMode a member of ConsumerConfigurationData [#6337](https://github.com/apache/pulsar/pull/6337) -* Fix java doc for key shared policy. [#6341](https://github.com/apache/pulsar/pull/6341) * Creating a topic does not wait for creating cursor of replicators [#6364](https://github.com/apache/pulsar/pull/6364) -* [Reader] Should set either start message id or start message from roll back duration. [#6392](https://github.com/apache/pulsar/pull/6392) -* Seek to the first one >= timestamp [#6393](https://github.com/apache/pulsar/pull/6393) -* [pulsar-zookeeper-utils] Close ZK before canceling future with exception [#6399](https://github.com/apache/pulsar/pull/6399) -* Add verification for SchemaDefinitionBuilderImpl.java [#6405](https://github.com/apache/pulsar/pull/6405) -* BatchReceivePolicy implements Serializable. [#6423](https://github.com/apache/pulsar/pull/6423) -* Bump netty version to 4.1.45.Final [#6424](https://github.com/apache/pulsar/pull/6424) +* [ZooKeeper] Close ZK before canceling future with exception [#6399](https://github.com/apache/pulsar/pull/6399) * Remove duplicated test libraries in POM dependencies [#6430](https://github.com/apache/pulsar/pull/6430) -* [Flink-Connector]Get PulsarClient from cache should always return an open instance [#6436](https://github.com/apache/pulsar/pull/6436) -* Pulsar Java client: Use System.nanoTime() instead of System.currentTimeMillis() to measure elapsed time [#6454](https://github.com/apache/pulsar/pull/6454) -* [Broker] Create namespace failed when TLS is enabled in PulsarStandalone [#6457](https://github.com/apache/pulsar/pull/6457) -* Improve cpp-client-lib: provide another `libpulsarwithdeps.a` in dep/rpm [#6458](https://github.com/apache/pulsar/pull/6458) -* [C++]Avoid calling redeliverMessages() when message list is empty [#6480](https://github.com/apache/pulsar/pull/6480) -* Fix some async method problems at PersistentTopicsBase. [#6483](https://github.com/apache/pulsar/pull/6483) -* [broker] Timeout API calls in BrokerService [#6489](https://github.com/apache/pulsar/pull/6489) -* [pulsar-client] remove duplicate cnx method [#6490](https://github.com/apache/pulsar/pull/6490) -* Start namespace service and schema registry service before start broker. [#6499](https://github.com/apache/pulsar/pull/6499) -* Use more granular permissions for topics [#6504](https://github.com/apache/pulsar/pull/6504) * [Maven Cleanup] Remove managed-ledger and zk-utils test-jar dependencies when possible [#6513](https://github.com/apache/pulsar/pull/6513) -* Disable channel auto read when publish rate or publish buffer exceeded [#6550](https://github.com/apache/pulsar/pull/6550) -* Stop increase unacked messages for the consumer with Exclusive/Failover subscription mode. [#6558](https://github.com/apache/pulsar/pull/6558) -* Resume some servercnx method to public [#6581](https://github.com/apache/pulsar/pull/6581) -* Support BouncyCastle FIPS provider [#6588](https://github.com/apache/pulsar/pull/6588) -* Improve Key_Shared subscription message dispatching performance. [#6647](https://github.com/apache/pulsar/pull/6647) -* Not allow sub auto create by admin when disable topic auto create [#6685](https://github.com/apache/pulsar/pull/6685) +* Stop increase unacked messages for the consumer with Exclusive/Failover subscription mode. [#6558](https://github.com/apache/pulsar/pull/6558) +* [Broker] Not allow sub auto create by admin when disable topic auto create [#6685](https://github.com/apache/pulsar/pull/6685) * Update README.md To Represent JDK 11 in Build Pulsar Doc [#6686](https://github.com/apache/pulsar/pull/6686) -* Add Joda time logical type conversion. [#6704](https://github.com/apache/pulsar/pull/6704) + + + +#### Pulsar Broker +* [Broker] Fixed create consumer on partitioned topic while disable topic auto creation [#5572](https://github.com/apache/pulsar/pull/5572) +* [Broker] close managed-ledgers before giving up bundle ownership to avoid bad zk-version [#5599](https://github.com/apache/pulsar/pull/5599) +* [Broker] Fixed negative un-ack messages in consumer stats [#5929](https://github.com/apache/pulsar/pull/5929) +* [Broker] Add timeout to search for web service URLs to avoid web threads getting stuck [#6124](https://github.com/apache/pulsar/pull/6124) +* [Compaction] Fixed log compaction for flow control/empty topic/last deletion [#6237](https://github.com/apache/pulsar/pull/6237) +* [broker] Fixed bug that tenants whose allowed clusters include global cannot be created/updated [#6275](https://github.com/apache/pulsar/pull/6275) +* [Broker] Flush the potential duplicated message when add messages to a batch. [#6326](https://github.com/apache/pulsar/pull/6326) +* [Broker] Avoid getting partition metadata while the topic name is a partition name. [#6339](https://github.com/apache/pulsar/pull/6339) +* [Broker] Fixed create partitioned topic with a substring of an existing topic name. [#6478](https://github.com/apache/pulsar/pull/6478) +* [Broker] Fixed memory leak when running topic compaction. [#6485](https://github.com/apache/pulsar/pull/6485) +* [Broker] Fixed admin getLastMessageId return batchIndex [#6511](https://github.com/apache/pulsar/pull/6511) +* [Broker] Fixed topic with one partition cannot be updated [#6560](https://github.com/apache/pulsar/pull/6560) +* [Broker] Do not retry on authorization failure [#6577](https://github.com/apache/pulsar/pull/6577) +* [Broker]Handle BadVersionException thrown by updateSchemaLocator() [#6683](https://github.com/apache/pulsar/pull/6683) +* [Broker] Fixed restore clusterDispatchRate policy for compatibility [#6176](https://github.com/apache/pulsar/pull/6176) +* [Broker] Expose bookkeeper expose explicit lac configuration in broker.conf [#5822](https://github.com/apache/pulsar/pull/5822) +* [Broker] Allow to enable/disable delayed delivery for messages on namespace [#5915](https://github.com/apache/pulsar/pull/5915) +* [Broker] Prevent creation of regular topic with the same name as existing partitioned topic [#5943](https://github.com/apache/pulsar/pull/5943) +* [Broker] Reset cursor with a non-exists position [#6120](https://github.com/apache/pulsar/pull/6120) +* [Broker] Use fully qualified hostname as default to advertise brokers [#6235](https://github.com/apache/pulsar/pull/6235) +* [broker] Timeout API calls in BrokerService [#6489](https://github.com/apache/pulsar/pull/6489) +* [Broker] Fix some async method problems at PersistentTopicsBase. [#6483](https://github.com/apache/pulsar/pull/6483) +* [Broker] Start namespace service and schema registry service before start broker. [#6499](https://github.com/apache/pulsar/pull/6499) +* [Broker] Disable channel auto read when publish rate or publish buffer exceeded [#6550](https://github.com/apache/pulsar/pull/6550) +* [BRoker] Resume some servercnx method to public [#6581](https://github.com/apache/pulsar/pull/6581) + + + +#### Pulsar Proxy +* [Proxy] Fixed correct name for proxy thread executor name [#6460](https://github.com/apache/pulsar/pull/6460) +* [Proxy] Fixed logging for published messages [#6474](https://github.com/apache/pulsar/pull/6474) +* [Proxy] Fixed proxy routing to functions worker [#6486](https://github.com/apache/pulsar/pull/6486) + + +#### Stats & Monitoring +* [Broker] Add backlogSize in topicStats [#5914](https://github.com/apache/pulsar/pull/5914) +* [Broker] Expose lastConsumedTimestamp and lastAckedTimestamp to consumer stats [#6051](https://github.com/apache/pulsar/pull/6051) * Improve backlogSize stats in the topic. [#6700](https://github.com/apache/pulsar/pull/6700) + +#### Security +* Fixed publish buffer limit does not take effect [#6431](https://github.com/apache/pulsar/pull/6431) +* Fixed the bug of authenticationData is't initialized. [#6440](https://github.com/apache/pulsar/pull/6440) +* [Authentication] Validate tokens for binary connections [#6233](https://github.com/apache/pulsar/pull/6233) +* [Broker] Create namespace failed when TLS is enabled in PulsarStandalone [#6457](https://github.com/apache/pulsar/pull/6457) +* Use more granular permissions for topics [#6504](https://github.com/apache/pulsar/pull/6504) + + +#### Pulsar Schema + +* [Schema] Fixed get schema version in HttpLookupService. [#6193](https://github.com/apache/pulsar/pull/6193) +* [Schema] Independent schema is set for each consumer generated by topic [#6356](https://github.com/apache/pulsar/pull/6356) +* [Schema] Fixed wrong avro schema [#6406](https://github.com/apache/pulsar/pull/6406) +* [Schema] Fixed avro schema decode error in functions [#6662](https://github.com/apache/pulsar/pull/6662) +* [Schema] Fixed send get raw schema request [#6650](https://github.com/apache/pulsar/pull/6650) +* Add verification for SchemaDefinitionBuilderImpl.java [#6405](https://github.com/apache/pulsar/pull/6405) + + +#### Pulsar IO +* [IO] Fixed Adds integration test for RabbitMQ [#6033](https://github.com/apache/pulsar/pull/6033) + + +#### Pulsar Functions +* [Function Worker] Fixed deploy of WindowFunctions [#6246](https://github.com/apache/pulsar/pull/6246) +* [Function] remove future.join() from PulsarSinkEffectivelyOnceProcessor [#6361](https://github.com/apache/pulsar/pull/6361) + + +#### Pulsar SQL +* [SQL] Fixed integration Pulsar SQL test failed [#6279](https://github.com/apache/pulsar/pull/6279) + + +#### Java client +* [Client] Fixed available permits may be greater than 1 even though queue size is 0. [#6106](https://github.com/apache/pulsar/pull/6106) +* [Client] Fixed broker client tls settings error [#6128](https://github.com/apache/pulsar/pull/6128) +* [Client] Start reader inside batch result in read first message in batch. [#6345](https://github.com/apache/pulsar/pull/6345) +* [Client]Fixed hasMessageAvailable() [#6362](https://github.com/apache/pulsar/pull/6362) +* [Client] Stop shade snappy-java in pulsar-client-shaded [#6375](https://github.com/apache/pulsar/pull/6375) +* [Client] Fixed duplicate key to send propertys [#6390](https://github.com/apache/pulsar/pull/6390) +* [Client] MultiTopics discovery is broken due to discovery task scheduled twice instead of pendingBatchReceiveTask [#6407](https://github.com/apache/pulsar/pull/6407) +* [Client] fixed deadlock on send failure [#6488](https://github.com/apache/pulsar/pull/6488) +* [Client] Fixed NPE while call getLastMessageId [#6562](https://github.com/apache/pulsar/pull/6562) +* [Client] Make SubscriptionMode a member of ConsumerConfigurationData [#6337](https://github.com/apache/pulsar/pull/6337) +* [Client] Should set either start message id or start message from roll back duration. [#6392](https://github.com/apache/pulsar/pull/6392) +* [Client] BatchReceivePolicy implements Serializable. [#6423](https://github.com/apache/pulsar/pull/6423) +* [Client] remove duplicate cnx method [#6490](https://github.com/apache/pulsar/pull/6490) +* [Client] Pulsar Java client: Use System.nanoTime() instead of System.currentTimeMillis() to measure elapsed time [#6454](https://github.com/apache/pulsar/pull/6454) + + +#### C++ client +* [C++] Fixed static linking on C++ lib on MacOS [#5581](https://github.com/apache/pulsar/pull/5581) +* [C++] Fixed memory corruption on ExecutorService destructor [#6270](https://github.com/apache/pulsar/pull/6270) +* [C++] Fixed handling of canceled timer events on NegativeAcksTracker [#6272](https://github.com/apache/pulsar/pull/6272) +* [C++] Fixed for possible deadlock when closing Pulsar client [#6277](https://github.com/apache/pulsar/pull/6277) +* [C++] Windows CMake corrections [#6336](https://github.com/apache/pulsar/pull/6336) +* [C++] Fixed Unacked Message Tracker by Using Time Partition on C++ [#6391](https://github.com/apache/pulsar/pull/6391) +* [C++] Fixed Redelivery of Messages on UnackedMessageTracker When Ack Messages . [#6498](https://github.com/apache/pulsar/pull/6498) +* [C++]Avoid calling redeliverMessages() when message list is empty [#6480](https://github.com/apache/pulsar/pull/6480) +* [C++] Improve cpp-client-lib: provide another `libpulsarwithdeps.a` in dep/rpm [#6458](https://github.com/apache/pulsar/pull/6458) + + +#### Python Client +* [Python Client]Fixed the enum34 package not found [#6401](https://github.com/apache/pulsar/pull/6401) * [Python Client] Support generate pulsar-client for python3.8 [#6741](https://github.com/apache/pulsar/pull/6741) + +#### Pulsar Websocket +* [Websocket] Fixed Websocket doesn't set the correct cluster data [#6102](https://github.com/apache/pulsar/pull/6102) + +#### Kubernetes +* [Helm]explicit statement env-var 'BOOKIE_MEM' and 'BOOKIE_GC' for values-mini.yaml [#6340](https://github.com/apache/pulsar/pull/6340) +* [Helm] autorecovery - could not find or load main class [#6373](https://github.com/apache/pulsar/pull/6373) +* [Helm]: Start proxy pods when at least one broker pod is running [#6158](https://github.com/apache/pulsar/pull/6158) +* [Helm] add missing check to dashboard-ingress [#6160](https://github.com/apache/pulsar/pull/6160) +* Make kubernetes yamls for aws operational [#6192](https://github.com/apache/pulsar/pull/6192) +* Ensure JVM memory and GC options are set for bookie [#6201](https://github.com/apache/pulsar/pull/6201) +* Default functionAuthProvider when running in k8s [#6203](https://github.com/apache/pulsar/pull/6203) + + +#### Adaptors +* [Adaptor] Skip javadoc task for pulsar-client-kafka-compact modules [#5836](https://github.com/apache/pulsar/pull/5836) +* [Flink-Connector]Get PulsarClient from cache should always return an open instance [#6436](https://github.com/apache/pulsar/pull/6436) + + ### 2.5.0 — 2019-12-06 #### PIPs From 6db58dd0f6373ced3a964cc9340cbbbb2b393879 Mon Sep 17 00:00:00 2001 From: guangning Date: Mon, 20 Apr 2020 23:01:52 +0800 Subject: [PATCH 08/13] Add notes for avro upgrade --- site2/website/release-notes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site2/website/release-notes.md b/site2/website/release-notes.md index 439c356511a3b..f180a9e26af80 100644 --- a/site2/website/release-notes.md +++ b/site2/website/release-notes.md @@ -8,6 +8,7 @@ * PIP-55: Refresh Authentication Credentials [#6074](https://github.com/apache/pulsar/pull/6074) * Namespace level support offloader [#6183](https://github.com/apache/pulsar/pull/6183) * Upgrade Avro to 1.9.1 [#5938](https://github.com/apache/pulsar/pull/5938) + * *Avro 1.9.1 enables the JSR310 datetimes by default, which might introduce some regression problems if users use generated source code by Avro compiler 1.8.x and contains datetimes fields. It's better to use Avro 1.9.x compiler to recompile.* * Support `unload` all partitions of a partitioned topic [#6187](https://github.com/apache/pulsar/pull/6187) * Supports evenly distribute topics count when splits bundle [#6241](https://github.com/apache/pulsar/pull/6241) * KeyValue schema support for pulsar sql [#6325](https://github.com/apache/pulsar/pull/6325) @@ -17,7 +18,6 @@ * Add Joda time logical type conversion. [#6704](https://github.com/apache/pulsar/pull/6704) - #### Fixes * [Broker] Fixed unit test issue in BrokerServiceTest.java [#6006](https://github.com/apache/pulsar/pull/6006) From 7dfe252f53d6eaf65bf7104d33fcaad52f95d7e4 Mon Sep 17 00:00:00 2001 From: guangning Date: Tue, 21 Apr 2020 12:12:36 +0800 Subject: [PATCH 09/13] Fixed release notes --- site2/website/release-notes.md | 216 +++++++++++++++++---------------- 1 file changed, 112 insertions(+), 104 deletions(-) diff --git a/site2/website/release-notes.md b/site2/website/release-notes.md index f180a9e26af80..bde074c08babe 100644 --- a/site2/website/release-notes.md +++ b/site2/website/release-notes.md @@ -15,175 +15,183 @@ * Bump netty version to 4.1.45.Final [#6424](https://github.com/apache/pulsar/pull/6424) * Support BouncyCastle FIPS provider [#6588](https://github.com/apache/pulsar/pull/6588) * Improve Key_Shared subscription message dispatching performance. [#6647](https://github.com/apache/pulsar/pull/6647) -* Add Joda time logical type conversion. [#6704](https://github.com/apache/pulsar/pull/6704) +* Add JSR310 logical type conversion. [#6704](https://github.com/apache/pulsar/pull/6704) +* Introduce maxMessagePublishBufferSizeInMB configuration to avoid broker OOM [#6178](https://github.com/apache/pulsar/pull/6178) #### Fixes -* [Broker] Fixed unit test issue in BrokerServiceTest.java [#6006](https://github.com/apache/pulsar/pull/6006) -* [Broker] Fixed NPE occur when get partitioned topic stats [#6060](https://github.com/apache/pulsar/pull/6060) +#### Broker +* [Broker] Fixed NPE occurs when getting partitioned topic stats [#6060](https://github.com/apache/pulsar/pull/6060) * [Broker] Fixed zero queue consumer message redelivery [#6076](https://github.com/apache/pulsar/pull/6076) * [Broker] Fixed message redelivery for zero queue consumer while using async api to receive messages [#6090](https://github.com/apache/pulsar/pull/6090) * Fixed the argument and description for dead letter topic is wrong [#6101](https://github.com/apache/pulsar/pull/6101) * [broker] Fixed bug that backlog message that has not yet expired could be deleted due to TTL [#6211](https://github.com/apache/pulsar/pull/6211) * [Broker] Remove problematic semicolon from conf [#6303](https://github.com/apache/pulsar/pull/6303) -* [Zookeeper] Fixed casting in ZooKeeperCache.getDataIfPresent() [#6313](https://github.com/apache/pulsar/pull/6313) * [Broker] Fixed broker to specify a list of bookie groups [#6349](https://github.com/apache/pulsar/pull/6349) -* Fixed Amend the default value of `supportedNamespaceBundleSplitAlgorithms` [#6374](https://github.com/apache/pulsar/pull/6374) -* Fix maven broken link [#6068](https://github.com/apache/pulsar/pull/6068) -* [Minor] Fixed java code errors reported by lgtm. [#6398](https://github.com/apache/pulsar/pull/6398) -* Consumer received duplicated deplayed messages upon restart [#6404](https://github.com/apache/pulsar/pull/6404) +* [Broker] Fixed create consumer on partitioned topic while disable topic auto creation [#5572](https://github.com/apache/pulsar/pull/5572) +* [Broker] Fix maven broken link [#6068](https://github.com/apache/pulsar/pull/6068) +* [Broker] Fixed java code errors reported by lgtm. [#6398](https://github.com/apache/pulsar/pull/6398) + +* [Broker] Fixed memory leak when running topic compaction. [#6485](https://github.com/apache/pulsar/pull/6485) +* [Broker] Fixed admin getLastMessageId return batchIndex [#6511](https://github.com/apache/pulsar/pull/6511) +* [Broker] Fixed topic with one partition cannot be updated [#6560](https://github.com/apache/pulsar/pull/6560) +* [Broker] Fixed negative un-ack messages in consumer stats [#5929](https://github.com/apache/pulsar/pull/5929) +* [broker] Fixed bug that tenants whose allowed clusters include global cannot be created/updated [#6275](https://github.com/apache/pulsar/pull/6275) +* [Compaction] Fixed log compaction for flow control/empty topic/last deletion [#6237](https://github.com/apache/pulsar/pull/6237) +* [Broker] Fixed restore clusterDispatchRate policy for compatibility [#6176](https://github.com/apache/pulsar/pull/6176) +* [Broker] Fix some async method problems at PersistentTopicsBase. [#6483](https://github.com/apache/pulsar/pull/6483) + + +##### Pulsar Proxy + +* [Proxy] Fixed correct name for proxy thread executor name [#6460](https://github.com/apache/pulsar/pull/6460) +* [Proxy] Fixed logging for published messages [#6474](https://github.com/apache/pulsar/pull/6474) +* [Proxy] Fixed proxy routing to functions worker [#6486](https://github.com/apache/pulsar/pull/6486) + + +##### Zookeeper + +* [Zookeeper] Fixed casting in ZooKeeperCache.getDataIfPresent() [#6313](https://github.com/apache/pulsar/pull/6313) + +* Fixed consumer received duplicated delayed messages upon restart [#6404](https://github.com/apache/pulsar/pull/6404) * Fixed the max backoff configuration for lookups [#6444](https://github.com/apache/pulsar/pull/6444) * Pin the netty-transport-native-epoll to avoid conflicts [#6194](https://github.com/apache/pulsar/pull/6194) -* Fix java doc for key shared policy. [#6341](https://github.com/apache/pulsar/pull/6341) -* Seek to the first one >= timestamp [#6393](https://github.com/apache/pulsar/pull/6393) +* This "earlier" message should be avoided to emit when reset curosr.[#6393](https://github.com/apache/pulsar/pull/6393) +##### Pulsar Functions +* [Function] remove future.join() from PulsarSinkEffectivelyOnceProcessor [#6361](https://github.com/apache/pulsar/pull/6361) -#### Enhancements -* [Client] Make tests more stable by using JSONAssert equals [#6247](https://github.com/apache/pulsar/pull/6247) -* [Broker] Enable get precise backlog and backlog without delayed messages. [#6310](https://github.com/apache/pulsar/pull/6310) -* [ZooKeeper] Upgrade ZooKeeper to 3.5.7 [#6329](https://github.com/apache/pulsar/pull/6329) -* [Managed Ledger] Avoid using same OpAddEntry between different ledger handles [#5942](https://github.com/apache/pulsar/pull/5942) -* [Broker] Clean up closed producer to avoid publish-time for producer [#5988](https://github.com/apache/pulsar/pull/5988) -* [Client] make acker in BatchMessageIdImpl transient [#6064](https://github.com/apache/pulsar/pull/6064) -* [Broker] Support delete inactive topic when subscriptions caught up [#6077](https://github.com/apache/pulsar/pull/6077) -* [Broker] Add a message on how to make log refresh immediately when starting a component [#6078](https://github.com/apache/pulsar/pull/6078) -* [Pulsar Admin] allow tenant admin to manage subscription permission [#6122](https://github.com/apache/pulsar/pull/6122) -* [Broker] Output resource usage rate to log on broker [#6152](https://github.com/apache/pulsar/pull/6152) -* [Broker] Introduce maxMessagePublishBufferSizeInMB configuration to avoid broker OOM [#6178](https://github.com/apache/pulsar/pull/6178) -* Create managed ledger path on local zookeeper when create partitions [#6189](https://github.com/apache/pulsar/pull/6189) -* Corrected the method name for source implementation [#6190](https://github.com/apache/pulsar/pull/6190) -* Creating a topic does not wait for creating cursor of replicators [#6364](https://github.com/apache/pulsar/pull/6364) -* [ZooKeeper] Close ZK before canceling future with exception [#6399](https://github.com/apache/pulsar/pull/6399) -* Remove duplicated test libraries in POM dependencies [#6430](https://github.com/apache/pulsar/pull/6430) -* [Maven Cleanup] Remove managed-ledger and zk-utils test-jar dependencies when possible [#6513](https://github.com/apache/pulsar/pull/6513) -* Stop increase unacked messages for the consumer with Exclusive/Failover subscription mode. [#6558](https://github.com/apache/pulsar/pull/6558) -* [Broker] Not allow sub auto create by admin when disable topic auto create [#6685](https://github.com/apache/pulsar/pull/6685) -* Update README.md To Represent JDK 11 in Build Pulsar Doc [#6686](https://github.com/apache/pulsar/pull/6686) +##### Pulsar SQL +* [SQL] Fixed integration Pulsar SQL test failed [#6279](https://github.com/apache/pulsar/pull/6279) + +##### Security +* Fixed publish buffer limit does not take effect [#6431](https://github.com/apache/pulsar/pull/6431) +* Fixed the bug of authenticationData is't initialized. [#6440](https://github.com/apache/pulsar/pull/6440) +##### Pulsar Schema -#### Pulsar Broker -* [Broker] Fixed create consumer on partitioned topic while disable topic auto creation [#5572](https://github.com/apache/pulsar/pull/5572) +* [Schema] Fixed get schema version in HttpLookupService. [#6193](https://github.com/apache/pulsar/pull/6193) +* [Schema] Fixed avro schema decode error `ClassCastException` in Pulsar Function [#6662](https://github.com/apache/pulsar/pull/6662) +* [Schema] Fixed channel write error handling for send get raw schema request [#6650](https://github.com/apache/pulsar/pull/6650) + +#### Java client +* [Client] Fixed available permits may be greater than 1 even though queue size is 0. [#6106](https://github.com/apache/pulsar/pull/6106) +* [Client] Fixed broker client tls settings error [#6128](https://github.com/apache/pulsar/pull/6128) +* [Client]Fixed hasMessageAvailable() [#6362](https://github.com/apache/pulsar/pull/6362) +* [Client] Fixed duplicate key to send propertys [#6390](https://github.com/apache/pulsar/pull/6390) +* [Client] fixed deadlock on send failure [#6488](https://github.com/apache/pulsar/pull/6488) +* [Client] Fixed NPE while call getLastMessageId [#6562](https://github.com/apache/pulsar/pull/6562) + +#### C++ client +* [C++] Fixed static linking on C++ lib on MacOS [#5581](https://github.com/apache/pulsar/pull/5581) +* [C++] Fixed memory corruption on ExecutorService destructor [#6270](https://github.com/apache/pulsar/pull/6270) +* [C++] Fixed handling of canceled timer events on NegativeAcksTracker [#6272](https://github.com/apache/pulsar/pull/6272) +* [C++] Fixed for possible deadlock when closing Pulsar client [#6277](https://github.com/apache/pulsar/pull/6277) +* [C++] Fixed Unacked Message Tracker by Using Time Partition on C++ [#6391](https://github.com/apache/pulsar/pull/6391) +* [C++] Fixed Redelivery of Messages on UnackedMessageTracker When Ack Messages . [#6498](https://github.com/apache/pulsar/pull/6498) + +#### Python Client +* [Python Client]Fixed the enum34 package not found [#6401](https://github.com/apache/pulsar/pull/6401) + +#### Pulsar Websocket +* [Websocket] Fixed Websocket doesn't set the correct cluster data [#6102](https://github.com/apache/pulsar/pull/6102) + +##### Deployments +* [Helm] Autorecovery - Fixed could not find or load main class [#6373](https://github.com/apache/pulsar/pull/6373) +* [Helm]: Start proxy pods when at least one broker pod is running [#6158](https://github.com/apache/pulsar/pull/6158) + +#### Enhancements + +##### Pulsar Broker * [Broker] close managed-ledgers before giving up bundle ownership to avoid bad zk-version [#5599](https://github.com/apache/pulsar/pull/5599) -* [Broker] Fixed negative un-ack messages in consumer stats [#5929](https://github.com/apache/pulsar/pull/5929) * [Broker] Add timeout to search for web service URLs to avoid web threads getting stuck [#6124](https://github.com/apache/pulsar/pull/6124) -* [Compaction] Fixed log compaction for flow control/empty topic/last deletion [#6237](https://github.com/apache/pulsar/pull/6237) -* [broker] Fixed bug that tenants whose allowed clusters include global cannot be created/updated [#6275](https://github.com/apache/pulsar/pull/6275) * [Broker] Flush the potential duplicated message when add messages to a batch. [#6326](https://github.com/apache/pulsar/pull/6326) * [Broker] Avoid getting partition metadata while the topic name is a partition name. [#6339](https://github.com/apache/pulsar/pull/6339) * [Broker] Fixed create partitioned topic with a substring of an existing topic name. [#6478](https://github.com/apache/pulsar/pull/6478) -* [Broker] Fixed memory leak when running topic compaction. [#6485](https://github.com/apache/pulsar/pull/6485) -* [Broker] Fixed admin getLastMessageId return batchIndex [#6511](https://github.com/apache/pulsar/pull/6511) -* [Broker] Fixed topic with one partition cannot be updated [#6560](https://github.com/apache/pulsar/pull/6560) * [Broker] Do not retry on authorization failure [#6577](https://github.com/apache/pulsar/pull/6577) * [Broker]Handle BadVersionException thrown by updateSchemaLocator() [#6683](https://github.com/apache/pulsar/pull/6683) -* [Broker] Fixed restore clusterDispatchRate policy for compatibility [#6176](https://github.com/apache/pulsar/pull/6176) * [Broker] Expose bookkeeper expose explicit lac configuration in broker.conf [#5822](https://github.com/apache/pulsar/pull/5822) * [Broker] Allow to enable/disable delayed delivery for messages on namespace [#5915](https://github.com/apache/pulsar/pull/5915) * [Broker] Prevent creation of regular topic with the same name as existing partitioned topic [#5943](https://github.com/apache/pulsar/pull/5943) * [Broker] Reset cursor with a non-exists position [#6120](https://github.com/apache/pulsar/pull/6120) * [Broker] Use fully qualified hostname as default to advertise brokers [#6235](https://github.com/apache/pulsar/pull/6235) * [broker] Timeout API calls in BrokerService [#6489](https://github.com/apache/pulsar/pull/6489) -* [Broker] Fix some async method problems at PersistentTopicsBase. [#6483](https://github.com/apache/pulsar/pull/6483) * [Broker] Start namespace service and schema registry service before start broker. [#6499](https://github.com/apache/pulsar/pull/6499) * [Broker] Disable channel auto read when publish rate or publish buffer exceeded [#6550](https://github.com/apache/pulsar/pull/6550) -* [BRoker] Resume some servercnx method to public [#6581](https://github.com/apache/pulsar/pull/6581) +* [Broker] Resume some servercnx method to public [#6581](https://github.com/apache/pulsar/pull/6581) +* [Broker] Enable get precise backlog and backlog without delayed messages. [#6310](https://github.com/apache/pulsar/pull/6310) +* [ZooKeeper] Upgrade ZooKeeper to 3.5.7 [#6329](https://github.com/apache/pulsar/pull/6329) +* [Managed Ledger] Avoid using same OpAddEntry between different ledger handles [#5942](https://github.com/apache/pulsar/pull/5942) +* [Broker] Clean up closed producer to avoid publish-time for producer [#5988](https://github.com/apache/pulsar/pull/5988) +* [Client] make acker in BatchMessageIdImpl transient [#6064](https://github.com/apache/pulsar/pull/6064) +* [Broker] Support delete inactive topic when subscriptions caught up [#6077](https://github.com/apache/pulsar/pull/6077) +* [Broker] Add a message on how to make log refresh immediately when starting a component [#6078](https://github.com/apache/pulsar/pull/6078) +* [Pulsar Admin] allow tenant admin to manage subscription permission [#6122](https://github.com/apache/pulsar/pull/6122) +* [Broker] Output resource usage rate to log on broker [#6152](https://github.com/apache/pulsar/pull/6152) +* [Broker] Creating a topic does not wait for creating cursor of replicators [#6364](https://github.com/apache/pulsar/pull/6364) +* [Broker] Stop increase unacked messages for the consumer with Exclusive/Failover subscription mode. [#6558](https://github.com/apache/pulsar/pull/6558) +* [Broker] Not allow sub auto create by admin when disable topic auto create [#6685](https://github.com/apache/pulsar/pull/6685) +##### Zookeeper +* [Zookeeper] Close ZK before canceling future with exception [#6399](https://github.com/apache/pulsar/pull/6399) + -#### Pulsar Proxy -* [Proxy] Fixed correct name for proxy thread executor name [#6460](https://github.com/apache/pulsar/pull/6460) -* [Proxy] Fixed logging for published messages [#6474](https://github.com/apache/pulsar/pull/6474) -* [Proxy] Fixed proxy routing to functions worker [#6486](https://github.com/apache/pulsar/pull/6486) +##### Pulsar IO +* [IO] Adds integration test for RabbitMQ [#6033](https://github.com/apache/pulsar/pull/6033) +##### Pulsar Functions +* [Function] remove future.join() from PulsarSinkEffectivelyOnceProcessor [#6361](https://github.com/apache/pulsar/pull/6361) -#### Stats & Monitoring +##### Stats & Monitoring * [Broker] Add backlogSize in topicStats [#5914](https://github.com/apache/pulsar/pull/5914) * [Broker] Expose lastConsumedTimestamp and lastAckedTimestamp to consumer stats [#6051](https://github.com/apache/pulsar/pull/6051) * Improve backlogSize stats in the topic. [#6700](https://github.com/apache/pulsar/pull/6700) -#### Security -* Fixed publish buffer limit does not take effect [#6431](https://github.com/apache/pulsar/pull/6431) -* Fixed the bug of authenticationData is't initialized. [#6440](https://github.com/apache/pulsar/pull/6440) -* [Authentication] Validate tokens for binary connections [#6233](https://github.com/apache/pulsar/pull/6233) -* [Broker] Create namespace failed when TLS is enabled in PulsarStandalone [#6457](https://github.com/apache/pulsar/pull/6457) +##### Security +* Validate tokens for binary connections [#6233](https://github.com/apache/pulsar/pull/6233) +* Create namespace failed when TLS is enabled in PulsarStandalone [#6457](https://github.com/apache/pulsar/pull/6457) * Use more granular permissions for topics [#6504](https://github.com/apache/pulsar/pull/6504) -#### Pulsar Schema +##### Pulsar Schema -* [Schema] Fixed get schema version in HttpLookupService. [#6193](https://github.com/apache/pulsar/pull/6193) * [Schema] Independent schema is set for each consumer generated by topic [#6356](https://github.com/apache/pulsar/pull/6356) -* [Schema] Fixed wrong avro schema [#6406](https://github.com/apache/pulsar/pull/6406) -* [Schema] Fixed avro schema decode error in functions [#6662](https://github.com/apache/pulsar/pull/6662) -* [Schema] Fixed send get raw schema request [#6650](https://github.com/apache/pulsar/pull/6650) -* Add verification for SchemaDefinitionBuilderImpl.java [#6405](https://github.com/apache/pulsar/pull/6405) - +* [Schema] Extract an original avro schema from the "$SCHEMA" field using reflection. If it doesn't work, the process falls back generation of the schema from POJO.[#6406](https://github.com/apache/pulsar/pull/6406) +* [Schema] Add verification for SchemaDefinitionBuilderImpl.java [#6405](https://github.com/apache/pulsar/pull/6405) -#### Pulsar IO -* [IO] Fixed Adds integration test for RabbitMQ [#6033](https://github.com/apache/pulsar/pull/6033) - - -#### Pulsar Functions -* [Function Worker] Fixed deploy of WindowFunctions [#6246](https://github.com/apache/pulsar/pull/6246) -* [Function] remove future.join() from PulsarSinkEffectivelyOnceProcessor [#6361](https://github.com/apache/pulsar/pull/6361) - - -#### Pulsar SQL -* [SQL] Fixed integration Pulsar SQL test failed [#6279](https://github.com/apache/pulsar/pull/6279) - - -#### Java client -* [Client] Fixed available permits may be greater than 1 even though queue size is 0. [#6106](https://github.com/apache/pulsar/pull/6106) -* [Client] Fixed broker client tls settings error [#6128](https://github.com/apache/pulsar/pull/6128) +##### Java client * [Client] Start reader inside batch result in read first message in batch. [#6345](https://github.com/apache/pulsar/pull/6345) -* [Client]Fixed hasMessageAvailable() [#6362](https://github.com/apache/pulsar/pull/6362) * [Client] Stop shade snappy-java in pulsar-client-shaded [#6375](https://github.com/apache/pulsar/pull/6375) -* [Client] Fixed duplicate key to send propertys [#6390](https://github.com/apache/pulsar/pull/6390) * [Client] MultiTopics discovery is broken due to discovery task scheduled twice instead of pendingBatchReceiveTask [#6407](https://github.com/apache/pulsar/pull/6407) -* [Client] fixed deadlock on send failure [#6488](https://github.com/apache/pulsar/pull/6488) -* [Client] Fixed NPE while call getLastMessageId [#6562](https://github.com/apache/pulsar/pull/6562) * [Client] Make SubscriptionMode a member of ConsumerConfigurationData [#6337](https://github.com/apache/pulsar/pull/6337) * [Client] Should set either start message id or start message from roll back duration. [#6392](https://github.com/apache/pulsar/pull/6392) * [Client] BatchReceivePolicy implements Serializable. [#6423](https://github.com/apache/pulsar/pull/6423) -* [Client] remove duplicate cnx method [#6490](https://github.com/apache/pulsar/pull/6490) +* [Client] Remove duplicate cnx method [#6490](https://github.com/apache/pulsar/pull/6490) * [Client] Pulsar Java client: Use System.nanoTime() instead of System.currentTimeMillis() to measure elapsed time [#6454](https://github.com/apache/pulsar/pull/6454) +* [Client] Make tests more stable by using JSONAssert equals [#6247](https://github.com/apache/pulsar/pull/6247) -#### C++ client -* [C++] Fixed static linking on C++ lib on MacOS [#5581](https://github.com/apache/pulsar/pull/5581) -* [C++] Fixed memory corruption on ExecutorService destructor [#6270](https://github.com/apache/pulsar/pull/6270) -* [C++] Fixed handling of canceled timer events on NegativeAcksTracker [#6272](https://github.com/apache/pulsar/pull/6272) -* [C++] Fixed for possible deadlock when closing Pulsar client [#6277](https://github.com/apache/pulsar/pull/6277) +##### C++ client * [C++] Windows CMake corrections [#6336](https://github.com/apache/pulsar/pull/6336) -* [C++] Fixed Unacked Message Tracker by Using Time Partition on C++ [#6391](https://github.com/apache/pulsar/pull/6391) -* [C++] Fixed Redelivery of Messages on UnackedMessageTracker When Ack Messages . [#6498](https://github.com/apache/pulsar/pull/6498) -* [C++]Avoid calling redeliverMessages() when message list is empty [#6480](https://github.com/apache/pulsar/pull/6480) +* [C++] Avoid calling redeliverMessages() when message list is empty [#6480](https://github.com/apache/pulsar/pull/6480) * [C++] Improve cpp-client-lib: provide another `libpulsarwithdeps.a` in dep/rpm [#6458](https://github.com/apache/pulsar/pull/6458) +##### Python Client +* [Python Client] Support generate pulsar-client for python3.8 [#6741](https://github.com/apache/pulsar/pull/6741) -#### Python Client -* [Python Client]Fixed the enum34 package not found [#6401](https://github.com/apache/pulsar/pull/6401) -* [Python Client] Support generate pulsar-client for python3.8 [#6741](https://github.com/apache/pulsar/pull/6741) - - -#### Pulsar Websocket -* [Websocket] Fixed Websocket doesn't set the correct cluster data [#6102](https://github.com/apache/pulsar/pull/6102) - -#### Kubernetes -* [Helm]explicit statement env-var 'BOOKIE_MEM' and 'BOOKIE_GC' for values-mini.yaml [#6340](https://github.com/apache/pulsar/pull/6340) -* [Helm] autorecovery - could not find or load main class [#6373](https://github.com/apache/pulsar/pull/6373) -* [Helm]: Start proxy pods when at least one broker pod is running [#6158](https://github.com/apache/pulsar/pull/6158) -* [Helm] add missing check to dashboard-ingress [#6160](https://github.com/apache/pulsar/pull/6160) +##### Deployments +* [Helm] Explicit statement env-var 'BOOKIE_MEM' and 'BOOKIE_GC' for values-mini.yaml [#6340](https://github.com/apache/pulsar/pull/6340) +* [Helm] Add missing check to dashboard-ingress [#6160](https://github.com/apache/pulsar/pull/6160) * Make kubernetes yamls for aws operational [#6192](https://github.com/apache/pulsar/pull/6192) * Ensure JVM memory and GC options are set for bookie [#6201](https://github.com/apache/pulsar/pull/6201) * Default functionAuthProvider when running in k8s [#6203](https://github.com/apache/pulsar/pull/6203) - -#### Adaptors +##### Adaptors * [Adaptor] Skip javadoc task for pulsar-client-kafka-compact modules [#5836](https://github.com/apache/pulsar/pull/5836) -* [Flink-Connector]Get PulsarClient from cache should always return an open instance [#6436](https://github.com/apache/pulsar/pull/6436) +* [Flink-Connector] Get PulsarClient from cache should always return an open instance [#6436](https://github.com/apache/pulsar/pull/6436) ### 2.5.0 — 2019-12-06 From 994619ad252f45f7b520f8e119ee9a3b90930a0f Mon Sep 17 00:00:00 2001 From: guangning Date: Tue, 21 Apr 2020 12:16:18 +0800 Subject: [PATCH 10/13] Fixed release notes file --- site2/website/release-notes.md | 209 ++++++++++++++++----------------- 1 file changed, 103 insertions(+), 106 deletions(-) diff --git a/site2/website/release-notes.md b/site2/website/release-notes.md index bde074c08babe..0d234c7941d38 100644 --- a/site2/website/release-notes.md +++ b/site2/website/release-notes.md @@ -22,176 +22,173 @@ #### Fixes #### Broker -* [Broker] Fixed NPE occurs when getting partitioned topic stats [#6060](https://github.com/apache/pulsar/pull/6060) -* [Broker] Fixed zero queue consumer message redelivery [#6076](https://github.com/apache/pulsar/pull/6076) -* [Broker] Fixed message redelivery for zero queue consumer while using async api to receive messages [#6090](https://github.com/apache/pulsar/pull/6090) -* Fixed the argument and description for dead letter topic is wrong [#6101](https://github.com/apache/pulsar/pull/6101) -* [broker] Fixed bug that backlog message that has not yet expired could be deleted due to TTL [#6211](https://github.com/apache/pulsar/pull/6211) -* [Broker] Remove problematic semicolon from conf [#6303](https://github.com/apache/pulsar/pull/6303) -* [Broker] Fixed broker to specify a list of bookie groups [#6349](https://github.com/apache/pulsar/pull/6349) -* [Broker] Fixed create consumer on partitioned topic while disable topic auto creation [#5572](https://github.com/apache/pulsar/pull/5572) -* [Broker] Fix maven broken link [#6068](https://github.com/apache/pulsar/pull/6068) -* [Broker] Fixed java code errors reported by lgtm. [#6398](https://github.com/apache/pulsar/pull/6398) - -* [Broker] Fixed memory leak when running topic compaction. [#6485](https://github.com/apache/pulsar/pull/6485) -* [Broker] Fixed admin getLastMessageId return batchIndex [#6511](https://github.com/apache/pulsar/pull/6511) -* [Broker] Fixed topic with one partition cannot be updated [#6560](https://github.com/apache/pulsar/pull/6560) -* [Broker] Fixed negative un-ack messages in consumer stats [#5929](https://github.com/apache/pulsar/pull/5929) -* [broker] Fixed bug that tenants whose allowed clusters include global cannot be created/updated [#6275](https://github.com/apache/pulsar/pull/6275) -* [Compaction] Fixed log compaction for flow control/empty topic/last deletion [#6237](https://github.com/apache/pulsar/pull/6237) +* [Broker] Fixed NPE occurs when getting partitioned topic stats [#6060](https://github.com/apache/pulsar/pull/6060) +* [Broker] Fixed zero queue consumer message redelivery [#6076](https://github.com/apache/pulsar/pull/6076) +* [Broker] Fixed message redelivery for zero queue consumer while using async api to receive messages [#6090](https://github.com/apache/pulsar/pull/6090) +* [broker] Fixed bug that backlog message that has not yet expired could be deleted due to TTL [#6211](https://github.com/apache/pulsar/pull/6211) +* [Broker] Remove problematic semicolon from conf [#6303](https://github.com/apache/pulsar/pull/6303) +* [Broker] Fixed broker to specify a list of bookie groups [#6349](https://github.com/apache/pulsar/pull/6349) +* [Broker] Fixed create consumer on partitioned topic while disable topic auto creation [#5572](https://github.com/apache/pulsar/pull/5572) +* [Broker] Fix maven broken link [#6068](https://github.com/apache/pulsar/pull/6068) +* [Broker] Fixed java code errors reported by lgtm. [#6398](https://github.com/apache/pulsar/pull/6398) +* [Broker] Fixed memory leak when running topic compaction. [#6485](https://github.com/apache/pulsar/pull/6485) +* [Broker] Fixed admin getLastMessageId return batchIndex [#6511](https://github.com/apache/pulsar/pull/6511) +* [Broker] Fixed topic with one partition cannot be updated [#6560](https://github.com/apache/pulsar/pull/6560) +* [Broker] Fixed negative un-ack messages in consumer stats [#5929](https://github.com/apache/pulsar/pull/5929) +* [broker] Fixed bug that tenants whose allowed clusters include global cannot be created/updated [#6275](https://github.com/apache/pulsar/pull/6275) +* [Compaction] Fixed log compaction for flow control/empty topic/last deletion [#6237](https://github.com/apache/pulsar/pull/6237) * [Broker] Fixed restore clusterDispatchRate policy for compatibility [#6176](https://github.com/apache/pulsar/pull/6176) * [Broker] Fix some async method problems at PersistentTopicsBase. [#6483](https://github.com/apache/pulsar/pull/6483) ##### Pulsar Proxy -* [Proxy] Fixed correct name for proxy thread executor name [#6460](https://github.com/apache/pulsar/pull/6460) -* [Proxy] Fixed logging for published messages [#6474](https://github.com/apache/pulsar/pull/6474) -* [Proxy] Fixed proxy routing to functions worker [#6486](https://github.com/apache/pulsar/pull/6486) +* [Proxy] Fixed correct name for proxy thread executor name [#6460](https://github.com/apache/pulsar/pull/6460) +* [Proxy] Fixed logging for published messages [#6474](https://github.com/apache/pulsar/pull/6474) +* [Proxy] Fixed proxy routing to functions worker [#6486](https://github.com/apache/pulsar/pull/6486) ##### Zookeeper -* [Zookeeper] Fixed casting in ZooKeeperCache.getDataIfPresent() [#6313](https://github.com/apache/pulsar/pull/6313) - -* Fixed consumer received duplicated delayed messages upon restart [#6404](https://github.com/apache/pulsar/pull/6404) -* Fixed the max backoff configuration for lookups [#6444](https://github.com/apache/pulsar/pull/6444) -* Pin the netty-transport-native-epoll to avoid conflicts [#6194](https://github.com/apache/pulsar/pull/6194) -* This "earlier" message should be avoided to emit when reset curosr.[#6393](https://github.com/apache/pulsar/pull/6393) +* [Zookeeper] Fixed casting in ZooKeeperCache.getDataIfPresent() [#6313](https://github.com/apache/pulsar/pull/6313) +* Fixed consumer received duplicated delayed messages upon restart [#6404](https://github.com/apache/pulsar/pull/6404) +* Fixed the max backoff configuration for lookups [#6444](https://github.com/apache/pulsar/pull/6444) +* Pin the netty-transport-native-epoll to avoid conflicts [#6194](https://github.com/apache/pulsar/pull/6194) +* This "earlier" message should be avoided to emit when reset curosr.[#6393](https://github.com/apache/pulsar/pull/6393) ##### Pulsar Functions -* [Function] remove future.join() from PulsarSinkEffectivelyOnceProcessor [#6361](https://github.com/apache/pulsar/pull/6361) +* [Function] remove future.join() from PulsarSinkEffectivelyOnceProcessor [#6361](https://github.com/apache/pulsar/pull/6361) ##### Pulsar SQL -* [SQL] Fixed integration Pulsar SQL test failed [#6279](https://github.com/apache/pulsar/pull/6279) +* [SQL] Fixed integration Pulsar SQL test failed [#6279](https://github.com/apache/pulsar/pull/6279) ##### Security -* Fixed publish buffer limit does not take effect [#6431](https://github.com/apache/pulsar/pull/6431) -* Fixed the bug of authenticationData is't initialized. [#6440](https://github.com/apache/pulsar/pull/6440) +* Fixed publish buffer limit does not take effect [#6431](https://github.com/apache/pulsar/pull/6431) +* Fixed the bug of authenticationData is't initialized. [#6440](https://github.com/apache/pulsar/pull/6440) ##### Pulsar Schema -* [Schema] Fixed get schema version in HttpLookupService. [#6193](https://github.com/apache/pulsar/pull/6193) -* [Schema] Fixed avro schema decode error `ClassCastException` in Pulsar Function [#6662](https://github.com/apache/pulsar/pull/6662) -* [Schema] Fixed channel write error handling for send get raw schema request [#6650](https://github.com/apache/pulsar/pull/6650) +* [Schema] Fixed get schema version in HttpLookupService. [#6193](https://github.com/apache/pulsar/pull/6193) +* [Schema] Fixed avro schema decode error `ClassCastException` in Pulsar Function [#6662](https://github.com/apache/pulsar/pull/6662) +* [Schema] Fixed channel write error handling for send get raw schema request [#6650](https://github.com/apache/pulsar/pull/6650) #### Java client -* [Client] Fixed available permits may be greater than 1 even though queue size is 0. [#6106](https://github.com/apache/pulsar/pull/6106) -* [Client] Fixed broker client tls settings error [#6128](https://github.com/apache/pulsar/pull/6128) -* [Client]Fixed hasMessageAvailable() [#6362](https://github.com/apache/pulsar/pull/6362) -* [Client] Fixed duplicate key to send propertys [#6390](https://github.com/apache/pulsar/pull/6390) -* [Client] fixed deadlock on send failure [#6488](https://github.com/apache/pulsar/pull/6488) +* [Client] Fixed available permits may be greater than 1 even though queue size is 0. [#6106](https://github.com/apache/pulsar/pull/6106) +* [Client] Fixed broker client tls settings error [#6128](https://github.com/apache/pulsar/pull/6128) +* [Client]Fixed hasMessageAvailable() [#6362](https://github.com/apache/pulsar/pull/6362) +* [Client] Fixed duplicate key to send propertys [#6390](https://github.com/apache/pulsar/pull/6390) +* [Client] fixed deadlock on send failure [#6488](https://github.com/apache/pulsar/pull/6488) * [Client] Fixed NPE while call getLastMessageId [#6562](https://github.com/apache/pulsar/pull/6562) #### C++ client -* [C++] Fixed static linking on C++ lib on MacOS [#5581](https://github.com/apache/pulsar/pull/5581) -* [C++] Fixed memory corruption on ExecutorService destructor [#6270](https://github.com/apache/pulsar/pull/6270) -* [C++] Fixed handling of canceled timer events on NegativeAcksTracker [#6272](https://github.com/apache/pulsar/pull/6272) -* [C++] Fixed for possible deadlock when closing Pulsar client [#6277](https://github.com/apache/pulsar/pull/6277) -* [C++] Fixed Unacked Message Tracker by Using Time Partition on C++ [#6391](https://github.com/apache/pulsar/pull/6391) -* [C++] Fixed Redelivery of Messages on UnackedMessageTracker When Ack Messages . [#6498](https://github.com/apache/pulsar/pull/6498) +* [C++] Fixed static linking on C++ lib on MacOS [#5581](https://github.com/apache/pulsar/pull/5581) +* [C++] Fixed memory corruption on ExecutorService destructor [#6270](https://github.com/apache/pulsar/pull/6270) +* [C++] Fixed handling of canceled timer events on NegativeAcksTracker [#6272](https://github.com/apache/pulsar/pull/6272) +* [C++] Fixed for possible deadlock when closing Pulsar client [#6277](https://github.com/apache/pulsar/pull/6277) +* [C++] Fixed Unacked Message Tracker by Using Time Partition on C++ [#6391](https://github.com/apache/pulsar/pull/6391) +* [C++] Fixed Redelivery of Messages on UnackedMessageTracker When Ack Messages . [#6498](https://github.com/apache/pulsar/pull/6498) #### Python Client -* [Python Client]Fixed the enum34 package not found [#6401](https://github.com/apache/pulsar/pull/6401) +* [Python Client]Fixed the enum34 package not found [#6401](https://github.com/apache/pulsar/pull/6401) #### Pulsar Websocket -* [Websocket] Fixed Websocket doesn't set the correct cluster data [#6102](https://github.com/apache/pulsar/pull/6102) +* [Websocket] Fixed Websocket doesn't set the correct cluster data [#6102](https://github.com/apache/pulsar/pull/6102) ##### Deployments -* [Helm] Autorecovery - Fixed could not find or load main class [#6373](https://github.com/apache/pulsar/pull/6373) -* [Helm]: Start proxy pods when at least one broker pod is running [#6158](https://github.com/apache/pulsar/pull/6158) +* [Helm] Autorecovery - Fixed could not find or load main class [#6373](https://github.com/apache/pulsar/pull/6373) +* [Helm]: Start proxy pods when at least one broker pod is running [#6158](https://github.com/apache/pulsar/pull/6158) #### Enhancements ##### Pulsar Broker -* [Broker] close managed-ledgers before giving up bundle ownership to avoid bad zk-version [#5599](https://github.com/apache/pulsar/pull/5599) -* [Broker] Add timeout to search for web service URLs to avoid web threads getting stuck [#6124](https://github.com/apache/pulsar/pull/6124) -* [Broker] Flush the potential duplicated message when add messages to a batch. [#6326](https://github.com/apache/pulsar/pull/6326) -* [Broker] Avoid getting partition metadata while the topic name is a partition name. [#6339](https://github.com/apache/pulsar/pull/6339) -* [Broker] Fixed create partitioned topic with a substring of an existing topic name. [#6478](https://github.com/apache/pulsar/pull/6478) -* [Broker] Do not retry on authorization failure [#6577](https://github.com/apache/pulsar/pull/6577) -* [Broker]Handle BadVersionException thrown by updateSchemaLocator() [#6683](https://github.com/apache/pulsar/pull/6683) -* [Broker] Expose bookkeeper expose explicit lac configuration in broker.conf [#5822](https://github.com/apache/pulsar/pull/5822) -* [Broker] Allow to enable/disable delayed delivery for messages on namespace [#5915](https://github.com/apache/pulsar/pull/5915) -* [Broker] Prevent creation of regular topic with the same name as existing partitioned topic [#5943](https://github.com/apache/pulsar/pull/5943) -* [Broker] Reset cursor with a non-exists position [#6120](https://github.com/apache/pulsar/pull/6120) -* [Broker] Use fully qualified hostname as default to advertise brokers [#6235](https://github.com/apache/pulsar/pull/6235) -* [broker] Timeout API calls in BrokerService [#6489](https://github.com/apache/pulsar/pull/6489) -* [Broker] Start namespace service and schema registry service before start broker. [#6499](https://github.com/apache/pulsar/pull/6499) -* [Broker] Disable channel auto read when publish rate or publish buffer exceeded [#6550](https://github.com/apache/pulsar/pull/6550) -* [Broker] Resume some servercnx method to public [#6581](https://github.com/apache/pulsar/pull/6581) -* [Broker] Enable get precise backlog and backlog without delayed messages. [#6310](https://github.com/apache/pulsar/pull/6310) -* [ZooKeeper] Upgrade ZooKeeper to 3.5.7 [#6329](https://github.com/apache/pulsar/pull/6329) -* [Managed Ledger] Avoid using same OpAddEntry between different ledger handles [#5942](https://github.com/apache/pulsar/pull/5942) -* [Broker] Clean up closed producer to avoid publish-time for producer [#5988](https://github.com/apache/pulsar/pull/5988) -* [Client] make acker in BatchMessageIdImpl transient [#6064](https://github.com/apache/pulsar/pull/6064) -* [Broker] Support delete inactive topic when subscriptions caught up [#6077](https://github.com/apache/pulsar/pull/6077) -* [Broker] Add a message on how to make log refresh immediately when starting a component [#6078](https://github.com/apache/pulsar/pull/6078) -* [Pulsar Admin] allow tenant admin to manage subscription permission [#6122](https://github.com/apache/pulsar/pull/6122) -* [Broker] Output resource usage rate to log on broker [#6152](https://github.com/apache/pulsar/pull/6152) -* [Broker] Creating a topic does not wait for creating cursor of replicators [#6364](https://github.com/apache/pulsar/pull/6364) +* [Broker] close managed-ledgers before giving up bundle ownership to avoid bad zk-version [#5599](https://github.com/apache/pulsar/pull/5599) +* [Broker] Add timeout to search for web service URLs to avoid web threads getting stuck [#6124](https://github.com/apache/pulsar/pull/6124) +* [Broker] Flush the potential duplicated message when add messages to a batch. [#6326](https://github.com/apache/pulsar/pull/6326) +* [Broker] Avoid getting partition metadata while the topic name is a partition name. [#6339](https://github.com/apache/pulsar/pull/6339) +* [Broker] Fixed create partitioned topic with a substring of an existing topic name. [#6478](https://github.com/apache/pulsar/pull/6478) +* [Broker] Do not retry on authorization failure [#6577](https://github.com/apache/pulsar/pull/6577) +* [Broker]Handle BadVersionException thrown by updateSchemaLocator() [#6683](https://github.com/apache/pulsar/pull/6683) +* [Broker] Expose bookkeeper expose explicit lac configuration in broker.conf [#5822](https://github.com/apache/pulsar/pull/5822) +* [Broker] Allow to enable/disable delayed delivery for messages on namespace [#5915](https://github.com/apache/pulsar/pull/5915) +* [Broker] Prevent creation of regular topic with the same name as existing partitioned topic [#5943](https://github.com/apache/pulsar/pull/5943) +* [Broker] Reset cursor with a non-exists position [#6120](https://github.com/apache/pulsar/pull/6120) +* [Broker] Use fully qualified hostname as default to advertise brokers [#6235](https://github.com/apache/pulsar/pull/6235) +* [broker] Timeout API calls in BrokerService [#6489](https://github.com/apache/pulsar/pull/6489) +* [Broker] Start namespace service and schema registry service before start broker. [#6499](https://github.com/apache/pulsar/pull/6499) +* [Broker] Disable channel auto read when publish rate or publish buffer exceeded [#6550](https://github.com/apache/pulsar/pull/6550) +* [Broker] Resume some servercnx method to public [#6581](https://github.com/apache/pulsar/pull/6581) +* [Broker] Enable get precise backlog and backlog without delayed messages. [#6310](https://github.com/apache/pulsar/pull/6310) +* [ZooKeeper] Upgrade ZooKeeper to 3.5.7 [#6329](https://github.com/apache/pulsar/pull/6329) +* [Managed Ledger] Avoid using same OpAddEntry between different ledger handles [#5942](https://github.com/apache/pulsar/pull/5942) +* [Broker] Clean up closed producer to avoid publish-time for producer [#5988](https://github.com/apache/pulsar/pull/5988) +* [Client] make acker in BatchMessageIdImpl transient [#6064](https://github.com/apache/pulsar/pull/6064) +* [Broker] Support delete inactive topic when subscriptions caught up [#6077](https://github.com/apache/pulsar/pull/6077) +* [Broker] Add a message on how to make log refresh immediately when starting a component [#6078](https://github.com/apache/pulsar/pull/6078) +* [Pulsar Admin] allow tenant admin to manage subscription permission [#6122](https://github.com/apache/pulsar/pull/6122) +* [Broker] Output resource usage rate to log on broker [#6152](https://github.com/apache/pulsar/pull/6152) +* [Broker] Creating a topic does not wait for creating cursor of replicators [#6364](https://github.com/apache/pulsar/pull/6364) * [Broker] Stop increase unacked messages for the consumer with Exclusive/Failover subscription mode. [#6558](https://github.com/apache/pulsar/pull/6558) -* [Broker] Not allow sub auto create by admin when disable topic auto create [#6685](https://github.com/apache/pulsar/pull/6685) +* [Broker] Not allow sub auto create by admin when disable topic auto create [#6685](https://github.com/apache/pulsar/pull/6685) ##### Zookeeper -* [Zookeeper] Close ZK before canceling future with exception [#6399](https://github.com/apache/pulsar/pull/6399) +* [Zookeeper] Close ZK before canceling future with exception [#6399](https://github.com/apache/pulsar/pull/6399) ##### Pulsar IO -* [IO] Adds integration test for RabbitMQ [#6033](https://github.com/apache/pulsar/pull/6033) +* [IO] Adds integration test for RabbitMQ [#6033](https://github.com/apache/pulsar/pull/6033) ##### Pulsar Functions -* [Function] remove future.join() from PulsarSinkEffectivelyOnceProcessor [#6361](https://github.com/apache/pulsar/pull/6361) +* [Function] remove future.join() from PulsarSinkEffectivelyOnceProcessor [#6361](https://github.com/apache/pulsar/pull/6361) ##### Stats & Monitoring -* [Broker] Add backlogSize in topicStats [#5914](https://github.com/apache/pulsar/pull/5914) -* [Broker] Expose lastConsumedTimestamp and lastAckedTimestamp to consumer stats [#6051](https://github.com/apache/pulsar/pull/6051) -* Improve backlogSize stats in the topic. [#6700](https://github.com/apache/pulsar/pull/6700) +* [Broker] Add backlogSize in topicStats [#5914](https://github.com/apache/pulsar/pull/5914) +* [Broker] Expose lastConsumedTimestamp and lastAckedTimestamp to consumer stats [#6051](https://github.com/apache/pulsar/pull/6051) +* Improve backlogSize stats in the topic. [#6700](https://github.com/apache/pulsar/pull/6700) -##### Security -* Validate tokens for binary connections [#6233](https://github.com/apache/pulsar/pull/6233) +##### Security +* Validate tokens for binary connections [#6233](https://github.com/apache/pulsar/pull/6233) * Create namespace failed when TLS is enabled in PulsarStandalone [#6457](https://github.com/apache/pulsar/pull/6457) -* Use more granular permissions for topics [#6504](https://github.com/apache/pulsar/pull/6504) +* Use more granular permissions for topics [#6504](https://github.com/apache/pulsar/pull/6504) ##### Pulsar Schema -* [Schema] Independent schema is set for each consumer generated by topic [#6356](https://github.com/apache/pulsar/pull/6356) -* [Schema] Extract an original avro schema from the "$SCHEMA" field using reflection. If it doesn't work, the process falls back generation of the schema from POJO.[#6406](https://github.com/apache/pulsar/pull/6406) -* [Schema] Add verification for SchemaDefinitionBuilderImpl.java [#6405](https://github.com/apache/pulsar/pull/6405) +* [Schema] Independent schema is set for each consumer generated by topic [#6356](https://github.com/apache/pulsar/pull/6356) +* [Schema] Extract an original avro schema from the "$SCHEMA" field using reflection. If it doesn't work, the process falls back generation of the schema from POJO.[#6406](https://github.com/apache/pulsar/pull/6406) +* [Schema] Add verification for SchemaDefinitionBuilderImpl.java [#6405](https://github.com/apache/pulsar/pull/6405) ##### Java client -* [Client] Start reader inside batch result in read first message in batch. [#6345](https://github.com/apache/pulsar/pull/6345) -* [Client] Stop shade snappy-java in pulsar-client-shaded [#6375](https://github.com/apache/pulsar/pull/6375) +* [Client] Start reader inside batch result in read first message in batch. [#6345](https://github.com/apache/pulsar/pull/6345) +* [Client] Stop shade snappy-java in pulsar-client-shaded [#6375](https://github.com/apache/pulsar/pull/6375) * [Client] MultiTopics discovery is broken due to discovery task scheduled twice instead of pendingBatchReceiveTask [#6407](https://github.com/apache/pulsar/pull/6407) -* [Client] Make SubscriptionMode a member of ConsumerConfigurationData [#6337](https://github.com/apache/pulsar/pull/6337) -* [Client] Should set either start message id or start message from roll back duration. [#6392](https://github.com/apache/pulsar/pull/6392) -* [Client] BatchReceivePolicy implements Serializable. [#6423](https://github.com/apache/pulsar/pull/6423) -* [Client] Remove duplicate cnx method [#6490](https://github.com/apache/pulsar/pull/6490) -* [Client] Pulsar Java client: Use System.nanoTime() instead of System.currentTimeMillis() to measure elapsed time [#6454](https://github.com/apache/pulsar/pull/6454) -* [Client] Make tests more stable by using JSONAssert equals [#6247](https://github.com/apache/pulsar/pull/6247) +* [Client] Make SubscriptionMode a member of ConsumerConfigurationData [#6337](https://github.com/apache/pulsar/pull/6337) +* [Client] Should set either start message id or start message from roll back duration. [#6392](https://github.com/apache/pulsar/pull/6392) +* [Client] BatchReceivePolicy implements Serializable. [#6423](https://github.com/apache/pulsar/pull/6423) +* [Client] Remove duplicate cnx method [#6490](https://github.com/apache/pulsar/pull/6490) +* [Client] Pulsar Java client: Use System.nanoTime() instead of System.currentTimeMillis() to measure elapsed time [#6454](https://github.com/apache/pulsar/pull/6454) +* [Client] Make tests more stable by using JSONAssert equals [#6247](https://github.com/apache/pulsar/pull/6247) ##### C++ client -* [C++] Windows CMake corrections [#6336](https://github.com/apache/pulsar/pull/6336) -* [C++] Avoid calling redeliverMessages() when message list is empty [#6480](https://github.com/apache/pulsar/pull/6480) -* [C++] Improve cpp-client-lib: provide another `libpulsarwithdeps.a` in dep/rpm [#6458](https://github.com/apache/pulsar/pull/6458) +* [C++] Windows CMake corrections [#6336](https://github.com/apache/pulsar/pull/6336) +* [C++] Avoid calling redeliverMessages() when message list is empty [#6480](https://github.com/apache/pulsar/pull/6480) +* [C++] Improve cpp-client-lib: provide another `libpulsarwithdeps.a` in dep/rpm [#6458](https://github.com/apache/pulsar/pull/6458) ##### Python Client -* [Python Client] Support generate pulsar-client for python3.8 [#6741](https://github.com/apache/pulsar/pull/6741) +* [Python Client] Support generate pulsar-client for python3.8[#6741](https://github.com/apache/pulsar/pull/6741) ##### Deployments -* [Helm] Explicit statement env-var 'BOOKIE_MEM' and 'BOOKIE_GC' for values-mini.yaml [#6340](https://github.com/apache/pulsar/pull/6340) -* [Helm] Add missing check to dashboard-ingress [#6160](https://github.com/apache/pulsar/pull/6160) -* Make kubernetes yamls for aws operational [#6192](https://github.com/apache/pulsar/pull/6192) -* Ensure JVM memory and GC options are set for bookie [#6201](https://github.com/apache/pulsar/pull/6201) -* Default functionAuthProvider when running in k8s [#6203](https://github.com/apache/pulsar/pull/6203) +* [Helm] Explicit statement env-var 'BOOKIE_MEM' and 'BOOKIE_GC' for values-mini.yaml [#6340](https://github.com/apache/pulsar/pull/6340) +* [Helm] Add missing check to dashboard-ingress [#6160](https://github.com/apache/pulsar/pull/6160) +* Make kubernetes yamls for aws operational [#6192](https://github.com/apache/pulsar/pull/6192) +* Ensure JVM memory and GC options are set for bookie [#6201](https://github.com/apache/pulsar/pull/6201) +* Default functionAuthProvider when running in k8s [#6203](https://github.com/apache/pulsar/pull/6203) ##### Adaptors -* [Adaptor] Skip javadoc task for pulsar-client-kafka-compact modules [#5836](https://github.com/apache/pulsar/pull/5836) -* [Flink-Connector] Get PulsarClient from cache should always return an open instance [#6436](https://github.com/apache/pulsar/pull/6436) +* [Adaptor] Skip javadoc task for pulsar-client-kafka-compact modules [#5836](https://github.com/apache/pulsar/pull/5836) +* [Flink-Connector] Get PulsarClient from cache should always return an open instance [#6436](https://github.com/apache/pulsar/pull/6436) ### 2.5.0 — 2019-12-06 From aa9813e39e91b77700f1a5187ebe666f0f2e5ef0 Mon Sep 17 00:00:00 2001 From: guangning Date: Tue, 21 Apr 2020 12:18:46 +0800 Subject: [PATCH 11/13] Fixed release notes --- site2/website/release-notes.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/site2/website/release-notes.md b/site2/website/release-notes.md index 0d234c7941d38..d595442fd4ba5 100644 --- a/site2/website/release-notes.md +++ b/site2/website/release-notes.md @@ -21,7 +21,7 @@ #### Fixes -#### Broker +##### Broker * [Broker] Fixed NPE occurs when getting partitioned topic stats [#6060](https://github.com/apache/pulsar/pull/6060) * [Broker] Fixed zero queue consumer message redelivery [#6076](https://github.com/apache/pulsar/pull/6076) * [Broker] Fixed message redelivery for zero queue consumer while using async api to receive messages [#6090](https://github.com/apache/pulsar/pull/6090) @@ -36,7 +36,7 @@ * [Broker] Fixed topic with one partition cannot be updated [#6560](https://github.com/apache/pulsar/pull/6560) * [Broker] Fixed negative un-ack messages in consumer stats [#5929](https://github.com/apache/pulsar/pull/5929) * [broker] Fixed bug that tenants whose allowed clusters include global cannot be created/updated [#6275](https://github.com/apache/pulsar/pull/6275) -* [Compaction] Fixed log compaction for flow control/empty topic/last deletion [#6237](https://github.com/apache/pulsar/pull/6237) +* [Broker] Fixed log compaction for flow control/empty topic/last deletion [#6237](https://github.com/apache/pulsar/pull/6237) * [Broker] Fixed restore clusterDispatchRate policy for compatibility [#6176](https://github.com/apache/pulsar/pull/6176) * [Broker] Fix some async method problems at PersistentTopicsBase. [#6483](https://github.com/apache/pulsar/pull/6483) @@ -73,7 +73,7 @@ * [Schema] Fixed avro schema decode error `ClassCastException` in Pulsar Function [#6662](https://github.com/apache/pulsar/pull/6662) * [Schema] Fixed channel write error handling for send get raw schema request [#6650](https://github.com/apache/pulsar/pull/6650) -#### Java client +##### Java client * [Client] Fixed available permits may be greater than 1 even though queue size is 0. [#6106](https://github.com/apache/pulsar/pull/6106) * [Client] Fixed broker client tls settings error [#6128](https://github.com/apache/pulsar/pull/6128) * [Client]Fixed hasMessageAvailable() [#6362](https://github.com/apache/pulsar/pull/6362) @@ -81,7 +81,7 @@ * [Client] fixed deadlock on send failure [#6488](https://github.com/apache/pulsar/pull/6488) * [Client] Fixed NPE while call getLastMessageId [#6562](https://github.com/apache/pulsar/pull/6562) -#### C++ client +##### C++ client * [C++] Fixed static linking on C++ lib on MacOS [#5581](https://github.com/apache/pulsar/pull/5581) * [C++] Fixed memory corruption on ExecutorService destructor [#6270](https://github.com/apache/pulsar/pull/6270) * [C++] Fixed handling of canceled timer events on NegativeAcksTracker [#6272](https://github.com/apache/pulsar/pull/6272) @@ -89,10 +89,10 @@ * [C++] Fixed Unacked Message Tracker by Using Time Partition on C++ [#6391](https://github.com/apache/pulsar/pull/6391) * [C++] Fixed Redelivery of Messages on UnackedMessageTracker When Ack Messages . [#6498](https://github.com/apache/pulsar/pull/6498) -#### Python Client +##### Python Client * [Python Client]Fixed the enum34 package not found [#6401](https://github.com/apache/pulsar/pull/6401) -#### Pulsar Websocket +##### Pulsar Websocket * [Websocket] Fixed Websocket doesn't set the correct cluster data [#6102](https://github.com/apache/pulsar/pull/6102) ##### Deployments From dde706628cffd644508c51a0a17938d52c1ef1a3 Mon Sep 17 00:00:00 2001 From: guangning Date: Tue, 21 Apr 2020 12:22:46 +0800 Subject: [PATCH 12/13] Fixed format --- site2/website/release-notes.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/site2/website/release-notes.md b/site2/website/release-notes.md index d595442fd4ba5..5b7d3f0b497f7 100644 --- a/site2/website/release-notes.md +++ b/site2/website/release-notes.md @@ -119,10 +119,8 @@ * [Broker] Disable channel auto read when publish rate or publish buffer exceeded [#6550](https://github.com/apache/pulsar/pull/6550) * [Broker] Resume some servercnx method to public [#6581](https://github.com/apache/pulsar/pull/6581) * [Broker] Enable get precise backlog and backlog without delayed messages. [#6310](https://github.com/apache/pulsar/pull/6310) -* [ZooKeeper] Upgrade ZooKeeper to 3.5.7 [#6329](https://github.com/apache/pulsar/pull/6329) -* [Managed Ledger] Avoid using same OpAddEntry between different ledger handles [#5942](https://github.com/apache/pulsar/pull/5942) +* [Broker] Avoid using same OpAddEntry between different ledger handles [#5942](https://github.com/apache/pulsar/pull/5942) * [Broker] Clean up closed producer to avoid publish-time for producer [#5988](https://github.com/apache/pulsar/pull/5988) -* [Client] make acker in BatchMessageIdImpl transient [#6064](https://github.com/apache/pulsar/pull/6064) * [Broker] Support delete inactive topic when subscriptions caught up [#6077](https://github.com/apache/pulsar/pull/6077) * [Broker] Add a message on how to make log refresh immediately when starting a component [#6078](https://github.com/apache/pulsar/pull/6078) * [Pulsar Admin] allow tenant admin to manage subscription permission [#6122](https://github.com/apache/pulsar/pull/6122) @@ -134,7 +132,7 @@ ##### Zookeeper * [Zookeeper] Close ZK before canceling future with exception [#6399](https://github.com/apache/pulsar/pull/6399) - +* [ZooKeeper] Upgrade ZooKeeper to 3.5.7 [#6329](https://github.com/apache/pulsar/pull/6329) ##### Pulsar IO * [IO] Adds integration test for RabbitMQ [#6033](https://github.com/apache/pulsar/pull/6033) @@ -169,6 +167,7 @@ * [Client] Remove duplicate cnx method [#6490](https://github.com/apache/pulsar/pull/6490) * [Client] Pulsar Java client: Use System.nanoTime() instead of System.currentTimeMillis() to measure elapsed time [#6454](https://github.com/apache/pulsar/pull/6454) * [Client] Make tests more stable by using JSONAssert equals [#6247](https://github.com/apache/pulsar/pull/6247) +* [Client] make acker in BatchMessageIdImpl transient [#6064](https://github.com/apache/pulsar/pull/6064) ##### C++ client From b11e39b2a56077d7d88ea5eac62b34e57145b59a Mon Sep 17 00:00:00 2001 From: guangning Date: Tue, 21 Apr 2020 12:44:10 +0800 Subject: [PATCH 13/13] Fixed release notes --- site2/website/release-notes.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/site2/website/release-notes.md b/site2/website/release-notes.md index 5b7d3f0b497f7..b6398c83e3037 100644 --- a/site2/website/release-notes.md +++ b/site2/website/release-notes.md @@ -39,6 +39,11 @@ * [Broker] Fixed log compaction for flow control/empty topic/last deletion [#6237](https://github.com/apache/pulsar/pull/6237) * [Broker] Fixed restore clusterDispatchRate policy for compatibility [#6176](https://github.com/apache/pulsar/pull/6176) * [Broker] Fix some async method problems at PersistentTopicsBase. [#6483](https://github.com/apache/pulsar/pull/6483) +* [Broker] This "earlier" message should be avoided to emit when reset cursor.[#6393](https://github.com/apache/pulsar/pull/6393) + + +##### Managed Ledger +* [Managed Ledger] Fixed consumer received duplicated delayed messages upon restart [#6404](https://github.com/apache/pulsar/pull/6404) ##### Pulsar Proxy @@ -51,10 +56,6 @@ ##### Zookeeper * [Zookeeper] Fixed casting in ZooKeeperCache.getDataIfPresent() [#6313](https://github.com/apache/pulsar/pull/6313) -* Fixed consumer received duplicated delayed messages upon restart [#6404](https://github.com/apache/pulsar/pull/6404) -* Fixed the max backoff configuration for lookups [#6444](https://github.com/apache/pulsar/pull/6444) -* Pin the netty-transport-native-epoll to avoid conflicts [#6194](https://github.com/apache/pulsar/pull/6194) -* This "earlier" message should be avoided to emit when reset curosr.[#6393](https://github.com/apache/pulsar/pull/6393) ##### Pulsar Functions * [Function] remove future.join() from PulsarSinkEffectivelyOnceProcessor [#6361](https://github.com/apache/pulsar/pull/6361) @@ -80,6 +81,8 @@ * [Client] Fixed duplicate key to send propertys [#6390](https://github.com/apache/pulsar/pull/6390) * [Client] fixed deadlock on send failure [#6488](https://github.com/apache/pulsar/pull/6488) * [Client] Fixed NPE while call getLastMessageId [#6562](https://github.com/apache/pulsar/pull/6562) +* [Client] Fixed the max backoff configuration for lookups [#6444](https://github.com/apache/pulsar/pull/6444) + ##### C++ client * [C++] Fixed static linking on C++ lib on MacOS [#5581](https://github.com/apache/pulsar/pull/5581)