[GitHub] [pulsar] yjshen removed a comment on issue #5788: [pulsar-java-client] Decouple partition switch frequency with maxPublishDelay in producer configuration

2019-12-06 Thread GitBox
yjshen removed a comment on issue #5788: [pulsar-java-client] Decouple 
partition switch frequency with maxPublishDelay in producer configuration
URL: https://github.com/apache/pulsar/pull/5788#issuecomment-562546408
 
 
   run java8 tests.
   run integration tests.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] yjshen commented on issue #5788: [pulsar-java-client] Decouple partition switch frequency with maxPublishDelay in producer configuration

2019-12-06 Thread GitBox
yjshen commented on issue #5788: [pulsar-java-client] Decouple partition switch 
frequency with maxPublishDelay in producer configuration
URL: https://github.com/apache/pulsar/pull/5788#issuecomment-562821802
 
 
   run java8 tests.
   run integration tests.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] huangdx0726 opened a new pull request #5814: [Issue 5808][documentation]fix example code

2019-12-06 Thread GitBox
huangdx0726 opened a new pull request #5814: [Issue 5808][documentation]fix 
example code
URL: https://github.com/apache/pulsar/pull/5814
 
 
   fix example code
   
   Fixes #5808 
   
   
   ### Motivation
   
   Example code display error.
   
   ### Modifications
   
   remove text from ```text 


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] frank-dkvan opened a new issue #5813: version 2.4.2 doesn't support bookkeeper 4.10.0?pulsar can NOT startup successfully based on BK 4.10.0

2019-12-06 Thread GitBox
frank-dkvan opened a new issue #5813: version 2.4.2 doesn't support bookkeeper 
4.10.0?pulsar can NOT startup successfully based on BK 4.10.0
URL: https://github.com/apache/pulsar/issues/5813
 
 
   **Describe the bug**
   version 2.4.2 doesn't support bookkeeper 4.10.0?pulsar can NOT startup 
successfully based on BK 4.10.0
   
   **To Reproduce**
   1. Maven build 2.4.2 source code with Bookkeeper 4.10.0
   2. then start up  this pulsar
   3. then exception shows
   4. then pulsar shut down  
   
   **Screenshots**
   11:12:05.943 [main] ERROR org.apache.pulsar.PulsarStandaloneStarter - Failed 
to start pulsar service.
   java.lang.AbstractMethodError: Method 
org/apache/pulsar/zookeeper/ZkBookieRackAffinityMapping.registerRackChangeListener(Lorg/apache/bookkeeper/client/ITopologyAwareEnsemblePlacementPolicy;)V
 is abstract
at 
org.apache.pulsar.zookeeper.ZkBookieRackAffinityMapping.registerRackChangeListener(ZkBookieRackAffinityMapping.java)
 ~[org.apache.pulsar-pulsar-zookeeper-utils-2.4.2.jar:2.4.2]
at 
org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicyImpl.initialize(RackawareEnsemblePlacementPolicyImpl.java:263)
 ~[org.apache.bookkeeper-bookkeeper-server-4.10.0.jar:4.10.0]
at 
org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicyImpl.initialize(RackawareEnsemblePlacementPolicyImpl.java:79)
 ~[org.apache.bookkeeper-bookkeeper-server-4.10.0.jar:4.10.0]
at 
org.apache.bookkeeper.client.BookKeeper.initializeEnsemblePlacementPolicy(BookKeeper.java:562)
 ~[org.apache.bookkeeper-bookkeeper-server-4.10.0.jar:4.10.0]
at org.apache.bookkeeper.client.BookKeeper.(BookKeeper.java:493) 
~[org.apache.bookkeeper-bookkeeper-server-4.10.0.jar:4.10.0]
at 
org.apache.bookkeeper.client.BookKeeper$Builder.build(BookKeeper.java:296) 
~[org.apache.bookkeeper-bookkeeper-server-4.10.0.jar:4.10.0]
at 
org.apache.pulsar.broker.BookKeeperClientFactoryImpl.create(BookKeeperClientFactoryImpl.java:69)
 ~[org.apache.pulsar-pulsar-broker-2.4.2.jar:2.4.2]
at 
org.apache.pulsar.broker.ManagedLedgerClientFactory.(ManagedLedgerClientFactory.java:61)
 ~[org.apache.pulsar-pulsar-broker-2.4.2.jar:2.4.2]
at org.apache.pulsar.broker.PulsarService.start(PulsarService.java:369) 
~[org.apache.pulsar-pulsar-broker-2.4.2.jar:2.4.2]
at org.apache.pulsar.PulsarStandalone.start(PulsarStandalone.java:327) 
~[org.apache.pulsar-pulsar-broker-2.4.2.jar:2.4.2]
at 
org.apache.pulsar.PulsarStandaloneStarter.main(PulsarStandaloneStarter.java:121)
 [org.apache.pulsar-pulsar-broker-2.4.2.jar:2.4.2]
   11:12:05.966 [ProcessThread(sid:0 cport:2181):] INFO  
org.apache.zookeeper.server.PrepRequestProcessor - Processed session 
termination for sessionid: 0x1014552000a
   11:12:05.967 [pulsar-ordered-OrderedExecutor-6-0-EventThread] INFO  
org.apache.zookeeper.ClientCnxn - EventThread shut down for session: 
0x1014552000a
   11:12:05.967 [Thread-1] INFO  org.apache.zookeeper.ZooKeeper - Session: 
0x1014552000a closed
   11:12:05.968 [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181] INFO  
org.apache.zookeeper.server.NIOServerCnxn - Closed socket connection for client 
/127.0.0.1:49238 which had sessionid 0x1014552000a
   11:12:05.970 [ProcessThread(sid:0 cport:2181):] INFO  
org.apache.zookeeper.server.PrepRequestProcessor - Processed session 
termination for sessionid: 0x10145520009
   11:12:05.971 [Thread-1] INFO  org.apache.zookeeper.ZooKeeper - Session: 
0x10145520009 closed
   11:12:05.971 [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181] INFO  
org.apache.zookeeper.server.NIOServerCnxn - Closed socket connection for client 
/127.0.0.1:49235 which had sessionid 0x10145520009
   11:12:05.971 [pulsar-ordered-OrderedExecutor-2-0-EventThread] INFO  
org.apache.zookeeper.ClientCnxn - EventThread shut down for session: 
0x10145520009
   11:12:05.977 [Curator-LeaderSelector-0] WARN  
org.apache.bookkeeper.stream.storage.impl.cluster.ClusterControllerLeaderImpl - 
Controller leader is interrupted, giving up leadership
   11:12:05.981 [Thread-1] INFO  
org.apache.bookkeeper.stream.storage.impl.sc.ZkStorageContainerManager - 
Stopping storage container (0)
   11:12:05.984 [Thread-1] INFO  
org.apache.bookkeeper.stream.storage.impl.sc.StorageContainerRegistryImpl - 
Unregistered StorageContainer ('0').
   11:12:05.984 [Thread-1] INFO  
org.apache.bookkeeper.stream.storage.impl.sc.StorageContainerImpl - Stopping 
storage container (0) ...
   11:12:05.988 [Thread-1] INFO  
org.apache.bookkeeper.stream.storage.impl.store.MVCCStoreFactoryImpl - Closing 
00/01/00 of sc 0
   11:12:05.989 [ProcessThread(sid:0 cport:2181):] INFO  
org.apache.zookeeper.server.PrepRequestProcessor - Got user-level 
KeeperException when processing sessionid:0x10145520004 type:delete 
cxid:0xc zxid:0x12b txntype:-1 reqpath:n/a Error 
Path:/stream/controller/_c_2ef4cee5-2a4d-44b4-8365-be83146e7103-lock-03 

[GitHub] [pulsar] codelipenghui commented on issue #4955: [PIP-39] Introduce system topic and topic policies service

2019-12-06 Thread GitBox
codelipenghui commented on issue #4955: [PIP-39] Introduce system topic and 
topic policies service
URL: https://github.com/apache/pulsar/pull/4955#issuecomment-562805770
 
 
   run java8 tests
   run integration tests


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] codelipenghui commented on issue #5680: [transaction-coordinator] Implementation of transaction coordinator client.

2019-12-06 Thread GitBox
codelipenghui commented on issue #5680: [transaction-coordinator] 
Implementation of transaction coordinator client.
URL: https://github.com/apache/pulsar/pull/5680#issuecomment-562805689
 
 
   run java8 tests
   run integration tests


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] tuteng commented on issue #5417: Broker hangs and crashes when listing non-persistent topics

2019-12-06 Thread GitBox
tuteng commented on issue #5417: Broker hangs and crashes when listing 
non-persistent topics
URL: https://github.com/apache/pulsar/issues/5417#issuecomment-562793789
 
 
   I think this issue can be closed, if there are any problems, we can consider 
open it back on.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[pulsar-manager] branch master updated: Remove redundant local variables from services' implementation (#229)

2019-12-06 Thread guangning
This is an automated email from the ASF dual-hosted git repository.

guangning pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-manager.git


The following commit(s) were added to refs/heads/master by this push:
 new f4bcc76  Remove redundant local variables from services' 
implementation (#229)
f4bcc76 is described below

commit f4bcc76db12f6f55562ffb02fe6056d27eae344a
Author: Sergii Zhevzhyk 
AuthorDate: Sat Dec 7 01:37:26 2019 +0100

Remove redundant local variables from services' implementation (#229)
---
 .../apache/pulsar/manager/controller/TopicsController.java   |  6 ++
 .../pulsar/manager/dao/ConsumersStatsRepositoryImpl.java | 11 +++
 .../pulsar/manager/dao/PublishersStatsRepositoryImpl.java|  3 +--
 .../pulsar/manager/dao/ReplicationsStatsRepositoryImpl.java  |  4 +---
 .../pulsar/manager/dao/SubscriptionsStatsRepositoryImpl.java |  3 +--
 .../apache/pulsar/manager/dao/TopicsStatsRepositoryImpl.java | 12 +++-
 .../org/apache/pulsar/manager/dao/UsersRepositoryImpl.java   |  3 +--
 .../pulsar/manager/service/impl/BrokerStatsServiceImpl.java  |  3 +--
 .../manager/service/impl/EnvironmentCacheServiceImpl.java|  3 +--
 .../apache/pulsar/manager/service/impl/JwtServiceImpl.java   |  9 +++--
 10 files changed, 17 insertions(+), 40 deletions(-)

diff --git 
a/src/main/java/org/apache/pulsar/manager/controller/TopicsController.java 
b/src/main/java/org/apache/pulsar/manager/controller/TopicsController.java
index 93aaa02..3075076 100644
--- a/src/main/java/org/apache/pulsar/manager/controller/TopicsController.java
+++ b/src/main/java/org/apache/pulsar/manager/controller/TopicsController.java
@@ -74,8 +74,7 @@ public class TopicsController {
 @Size(min = 1, max = 255)
 @PathVariable String namespace) {
 String requestHost = environmentCacheService.getServiceUrl(request);
-Map result = topicsService.getTopicsList(pageNum, 
pageSize, tenant, namespace, requestHost);
-return result;
+return topicsService.getTopicsList(pageNum, pageSize, tenant, 
namespace, requestHost);
 }
 
 @ApiOperation(value = "Query topic stats info by tenant and namespace")
@@ -101,10 +100,9 @@ public class TopicsController {
 @PathVariable String namespace) {
 String env = request.getHeader("environment");
 String serviceUrl = environmentCacheService.getServiceUrl(request);
-Map result = topicsService.getTopicStats(
+return topicsService.getTopicStats(
 pageNum, pageSize,
 tenant, namespace,
 env, serviceUrl);
-return result;
 }
 }
\ No newline at end of file
diff --git 
a/src/main/java/org/apache/pulsar/manager/dao/ConsumersStatsRepositoryImpl.java 
b/src/main/java/org/apache/pulsar/manager/dao/ConsumersStatsRepositoryImpl.java
index a59bfe9..64c17c2 100644
--- 
a/src/main/java/org/apache/pulsar/manager/dao/ConsumersStatsRepositoryImpl.java
+++ 
b/src/main/java/org/apache/pulsar/manager/dao/ConsumersStatsRepositoryImpl.java
@@ -40,24 +40,19 @@ public class ConsumersStatsRepositoryImpl implements 
ConsumersStatsRepository {
 public Page findByTopicStatsId(Integer pageNum, 
Integer pageSize,
  long topicStatsId, long 
timestamp) {
 PageHelper.startPage(pageNum, pageSize);
-Page consumerStatsEntities = 
consumerStatsMapper.findByTopicStatsId(
-topicStatsId, timestamp);
-return consumerStatsEntities;
+return consumerStatsMapper.findByTopicStatsId(topicStatsId, timestamp);
 }
 
 public Page findBySubscriptionStatsId(Integer 
pageNum, Integer pageSize,
long 
subscriptionStatsId, long timestamp) {
 PageHelper.startPage(pageNum, pageSize);
-Page consumerStatsEntities = 
consumerStatsMapper.findBySubscriptionStatsId(subscriptionStatsId, timestamp);
-return consumerStatsEntities;
+return 
consumerStatsMapper.findBySubscriptionStatsId(subscriptionStatsId, timestamp);
 }
 
 public Page findByReplicationStatsId(Integer pageNum, 
Integer pageSize,
   long 
replicationStatsId, long timestamp) {
 PageHelper.startPage(pageNum, pageSize);
-Page consumerStatsEntities = 
consumerStatsMapper.findByReplicationStatsId(
-replicationStatsId, timestamp);
-return consumerStatsEntities;
+return 
consumerStatsMapper.findByReplicationStatsId(replicationStatsId, timestamp);
 }
 
 public void remove(long timestamp, long timeInterval) {
diff --git 
a/src/main/java/org/apache/pulsar/manager/dao/PublishersStatsRepositoryImpl.java
 
b/src/main/java/org/apache/pulsar/manager/dao/PublishersStatsRepositoryImpl.java
index 6c40efe..62d3343 100644
--- 

[GitHub] [pulsar] aahmed-se commented on issue #5797: PIP-52: [pulsar-sever] Add support of dispatch throttling relative to publish-rate

2019-12-06 Thread GitBox
aahmed-se commented on issue #5797: PIP-52: [pulsar-sever] Add support of 
dispatch throttling relative to publish-rate
URL: https://github.com/apache/pulsar/pull/5797#issuecomment-562732353
 
 
   appveyor is going away don't add job for it. We are discussing plans to move 
to gihub actions.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] frejonb opened a new pull request #5812: [Issue 5811][pulsar-client-python]Add redelivery count python

2019-12-06 Thread GitBox
frejonb opened a new pull request #5812: [Issue 5811][pulsar-client-python]Add 
redelivery count python
URL: https://github.com/apache/pulsar/pull/5812
 
 
   
   
   *(If this PR fixes a github issue, please add `Fixes #`.)*
   
   Fixes #5811 
   
   
   ### Modifications
   
   Added redelivery count method to message class
   
   ### Verifying this change
   
   - [ ] Make sure that the change passes the CI checks.
   
   This change added tests and can be verified as follows:
 - Added python test for redelivery count
   
   ### Does this pull request potentially affect one of the following parts:
   
   *If `yes` was chosen, please highlight the changes*
   
 - Dependencies (does it add or upgrade a dependency): (no)
 - The public API: (no)
 - The schema: (no)
 - The default values of configurations: (no)
 - The wire protocol: (no)
 - The rest endpoints: (no)
 - The admin cli options: (no)
 - Anything that affects deployment: (no)
   ### Documentation
   
 - Does this pull request introduce a new feature? (yes)
 - If yes, how is the feature documented? (not documented)
 - If a feature is not applicable for documentation, explain why?
 - If a feature is not documented yet in this PR, please create a followup 
issue for adding the documentation
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] frejonb opened a new issue #5811: Add redelivery count to python client

2019-12-06 Thread GitBox
frejonb opened a new issue #5811: Add redelivery count to python client
URL: https://github.com/apache/pulsar/issues/5811
 
 
   **Is your feature request related to a problem? Please describe.**
   Add redelivery count to python client
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[pulsar.wiki] branch master updated: Updated PIP 52: Message dispatch throttling relative to publish rate (markdown)

2019-12-06 Thread rdhabalia
This is an automated email from the ASF dual-hosted git repository.

rdhabalia pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.wiki.git


The following commit(s) were added to refs/heads/master by this push:
 new c8b5121  Updated PIP 52: Message dispatch throttling relative to 
publish rate (markdown)
c8b5121 is described below

commit c8b512131ebe0098515f37a16498d5786d2afa15
Author: Rajan Dhabalia 
AuthorDate: Fri Dec 6 11:11:18 2019 -0800

Updated PIP 52: Message dispatch throttling relative to publish rate 
(markdown)
---
 PIP-52:-Message-dispatch-throttling-relative-to-publish-rate.md | 4 
 1 file changed, 4 insertions(+)

diff --git a/PIP-52:-Message-dispatch-throttling-relative-to-publish-rate.md 
b/PIP-52:-Message-dispatch-throttling-relative-to-publish-rate.md
index 92ff6ba..55e8960 100644
--- a/PIP-52:-Message-dispatch-throttling-relative-to-publish-rate.md
+++ b/PIP-52:-Message-dispatch-throttling-relative-to-publish-rate.md
@@ -1,3 +1,7 @@
+* **Status**: Implemented
+ * **Author**: [Rajan Dhabalia](https://github.com/rdhabalia)
+ * **Pull Request**: [#5797](https://github.com/apache/pulsar/pull/5797)
+
 ## Motivation
 Producers and consumers can interact with broker on high volumes of data. This 
can monopolize broker resources and cause network saturation, which can have 
adverse effects on other topics owned by that broker. Throttling based on 
resource consumption can protect against these issues and it can play an 
important role for large multi-tenant clusters where a small set of clients 
using high volumes of data can easily degrade performance of other clients. 
 



[GitHub] [pulsar] rdhabalia commented on issue #5797: PIP-52: [pulsar-sever] Add support of dispatch throttling relative to publish-rate

2019-12-06 Thread GitBox
rdhabalia commented on issue #5797: PIP-52: [pulsar-sever] Add support of 
dispatch throttling relative to publish-rate
URL: https://github.com/apache/pulsar/pull/5797#issuecomment-562695110
 
 
   yes, can we do 2.5.0 because we are spending lot of manual monitoring for 
dispatch throttling and we need this feature for multiple users to make life 
easy.
   
   and quick question regarding PR build: do you know how can we trigger 
`continuous-integration/appveyor/pr ` individually ? it's newly added and I am 
not aware about it.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] Jesse-Zhang-Bose commented on issue #5344: In Pulsar client, the effective value of NackRedeliveryDelay is about 1/3 of its specified value

2019-12-06 Thread GitBox
Jesse-Zhang-Bose commented on issue #5344: In Pulsar client, the effective 
value of NackRedeliveryDelay is about 1/3 of its specified value
URL: https://github.com/apache/pulsar/issues/5344#issuecomment-562694716
 
 
   @zymap i agree with you,`timeInterval` is pulsar's internal work, exposing 
it is not necessary.  However,  I would still think this is an issue need to 
fix, maybe use another way?
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[pulsar.wiki] branch master updated: added PIP-52

2019-12-06 Thread rdhabalia
This is an automated email from the ASF dual-hosted git repository.

rdhabalia pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.wiki.git


The following commit(s) were added to refs/heads/master by this push:
 new 602b45c  added PIP-52
602b45c is described below

commit 602b45c56005368ec13cf77fb69c66306042694e
Author: Rajan Dhabalia 
AuthorDate: Fri Dec 6 10:49:43 2019 -0800

added PIP-52
---
 Home.md | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Home.md b/Home.md
index bb0065b..acfe4d1 100644
--- a/Home.md
+++ b/Home.md
@@ -7,6 +7,7 @@ We encourage to document any big change or feature or any 
addition to public use
 
 
 ### Proposed
+* [[PIP 52: Message dispatch throttling relative to publish rate]]
 * [[PIP 51: Tenant policy support]]
 * [[PIP 50: Package Management]]
 * [[PIP 49: Permission levels and inheritance]]



[pulsar] branch master updated (2399362 -> c848103)

2019-12-06 Thread sijie
This is an automated email from the ASF dual-hosted git repository.

sijie pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git.


from 2399362  Update RESTFUL API for 2.4.2 release (#5806)
 add c848103  Modify the logical in producer carry a schema to connect 
broker with isAllowAutoUpdateSchema.  (#5782)

No new revisions were added by this update.

Summary of changes:
 .../pulsar/broker/service/AbstractTopic.java   | 22 +-
 .../schema/DefaultSchemaRegistryService.java   | 18 +---
 .../broker/service/schema/SchemaRegistry.java  |  3 ++
 .../service/schema/SchemaRegistryServiceImpl.java  | 34 +++---
 ...hemaRegistryServiceWithSchemaDataValidator.java |  9 +-
 .../SchemaCompatibilityCheckTest.java  | 31 
 6 files changed, 88 insertions(+), 29 deletions(-)



[GitHub] [pulsar] sijie merged pull request #5782: Modify the logical in producer carry a schema to connect broker with isAllowAutoUpdateSchema.

2019-12-06 Thread GitBox
sijie merged pull request #5782: Modify the logical in producer carry a schema 
to connect broker with isAllowAutoUpdateSchema. 
URL: https://github.com/apache/pulsar/pull/5782
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] sijie commented on issue #5804: [pulsar-server] add broker-configuration for relative dispatch throttling

2019-12-06 Thread GitBox
sijie commented on issue #5804: [pulsar-server] add broker-configuration for 
relative dispatch throttling
URL: https://github.com/apache/pulsar/pull/5804#issuecomment-562656489
 
 
   Can we move this to 2.6.0 or 2.5.1?


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] sijie commented on issue #5797: PIP-52: [pulsar-sever] Add support of dispatch throttling relative to publish-rate

2019-12-06 Thread GitBox
sijie commented on issue #5797: PIP-52: [pulsar-sever] Add support of dispatch 
throttling relative to publish-rate
URL: https://github.com/apache/pulsar/pull/5797#issuecomment-562656152
 
 
   @rdhabalia do we need this in 2.5.0? Can we move it to 2.6.0 or 2.5.1?


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] sijie commented on issue #5808: Ununderstood example code

2019-12-06 Thread GitBox
sijie commented on issue #5808: Ununderstood example code 
URL: https://github.com/apache/pulsar/issues/5808#issuecomment-562655535
 
 
   @huangdx0726 the example is written in Java. I guess there are typos when we 
put up the documentation.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] wolfstudy commented on issue #5794: [release][website] Add release notes for Release 2.4.2

2019-12-06 Thread GitBox
wolfstudy commented on issue #5794: [release][website] Add release notes for 
Release 2.4.2
URL: https://github.com/apache/pulsar/pull/5794#issuecomment-562636163
 
 
   run integration tests
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] wolfstudy removed a comment on issue #5794: [release][website] Add release notes for Release 2.4.2

2019-12-06 Thread GitBox
wolfstudy removed a comment on issue #5794: [release][website] Add release 
notes for Release 2.4.2
URL: https://github.com/apache/pulsar/pull/5794#issuecomment-562635227
 
 
   run intergation tests


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] wolfstudy commented on issue #5794: [release][website] Add release notes for Release 2.4.2

2019-12-06 Thread GitBox
wolfstudy commented on issue #5794: [release][website] Add release notes for 
Release 2.4.2
URL: https://github.com/apache/pulsar/pull/5794#issuecomment-562635227
 
 
   run intergation tests


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] JarrodJ83 commented on issue #2307: Provide a netcore client

2019-12-06 Thread GitBox
JarrodJ83 commented on issue #2307: Provide a netcore client
URL: https://github.com/apache/pulsar/issues/2307#issuecomment-562629715
 
 
   @sijie I think either of those ideas would be a step in the right direction. 
Anything that will increase the confidence that, if you are using dotnet and 
want to use Pulsar, you'll have the ability to leverage the features you need 
and have good support from the community.
   
   The two projects out there now seem to be going in different directions. One 
aiming to match the features of the java client and the other not as much. 
Neither have many contributors (yet). Neither of them have a solid roadmap 
(yet). Neither of them support all the features of the java client (yet). 
Specifically I see both are missing Schema which, in my mind, is a key feature. 
This all makes my confidence level that we will be able to leverage all of 
Pulsar's features in the near future using dotnet somewhat low.
   
   I am in a similar situation as @rcollina where I think Pulsar is the better 
option for my company but for better or worse dotnet core is where we are 
headed with all future development. I worry we will not be able to use Pulsar 
to its full capability with the state of the two dotnet pulsar clients at 
present and it is a huge commitment to make without high confidence.
   
   Hopefully this provides some insight that may help you move the dotnet 
support forward in some way.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[pulsar-manager] branch master updated: Remove test dependencies from the final product (#228)

2019-12-06 Thread guangning
This is an automated email from the ASF dual-hosted git repository.

guangning pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-manager.git


The following commit(s) were added to refs/heads/master by this push:
 new bbfbead  Remove test dependencies from the final product (#228)
bbfbead is described below

commit bbfbead26fc631cbe4026a9243c2d07efa4767ee
Author: Sergii Zhevzhyk 
AuthorDate: Fri Dec 6 16:05:56 2019 +0100

Remove test dependencies from the final product (#228)
---
 build.gradle | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/build.gradle b/build.gradle
index 960354d..3fd45b4 100644
--- a/build.gradle
+++ b/build.gradle
@@ -92,9 +92,7 @@ jar {
 
 dependencies {
 compile group: 'org.springframework.boot', name: 'spring-boot-starter', 
version: springBootVersion
-compile group: 'org.springframework.boot', name: 
'spring-boot-starter-test', version: springBootVersion
 compile group: 'org.springframework.boot', name: 
'spring-boot-starter-web', version: springBootVersion
-compile group: 'org.springframework.boot', name: 'spring-boot-devtools', 
version: springBootVersion
 compile group: 'org.springframework.cloud', name: 
'spring-cloud-starter-netflix-zuul', version: springBootVersion
 compile group: 'org.mybatis.spring.boot', name: 
'mybatis-spring-boot-starter', version: springMybatisVersion
 compile group: 'org.springframework.boot', name: 
'spring-boot-starter-thymeleaf', version: springBootVersion
@@ -105,14 +103,16 @@ dependencies {
 compile group: 'io.jsonwebtoken', name: 'jjwt-impl', version: 
jsonWebTokenImplVersion
 compile group: 'io.jsonwebtoken', name: 'jjwt-jackson', version: 
jsonWebTokenImplVersion
 compile group: 'com.github.pagehelper', name: 
'pagehelper-spring-boot-starter', version: pageHelperVersion
-compile group: 'org.mockito', name: 'mockito-core', version: mockitoVersion
 compile group: 'com.google.guava', name: 'guava', version: guavaVersion
 compile group: 'com.google.code.gson', name: 'gson', version: gsonVersion
 compile group: 'org.apache.pulsar', name: 'pulsar-common', version: 
pulsarVersion
 compile group: 'io.springfox', name: 'springfox-swagger2', version: 
swagger2Version
 compile group: 'io.springfox', name: 'springfox-swagger-ui', version: 
swaggeruiVersion
-compile group: 'org.powermock', name: 'powermock-api-mockito', version: 
apiMockitoVersion
-compile group: 'org.powermock', name: 'powermock-module-junit4', version: 
mockitoJunit4Version
 compile group: 'org.apache.pulsar', name: 'pulsar-broker', version: 
brokerVersion
 compileOnly group: 'org.projectlombok', name: 'lombok', version: 
lombokVersion
+compileOnly group: 'org.springframework.boot', name: 
'spring-boot-devtools', version: springBootVersion
+testCompile group: 'org.springframework.boot', name: 
'spring-boot-starter-test', version: springBootVersion
+testCompile group: 'org.mockito', name: 'mockito-core', version: 
mockitoVersion
+testCompile group: 'org.powermock', name: 'powermock-api-mockito', 
version: apiMockitoVersion
+testCompile group: 'org.powermock', name: 'powermock-module-junit4', 
version: mockitoJunit4Version
 }



[GitHub] [pulsar] tuteng merged pull request #5806: Update RESTFUL API for 2.4.2 release

2019-12-06 Thread GitBox
tuteng merged pull request #5806: Update RESTFUL API for 2.4.2 release
URL: https://github.com/apache/pulsar/pull/5806
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[pulsar] branch master updated (d20ce88 -> 2399362)

2019-12-06 Thread guangning
This is an automated email from the ASF dual-hosted git repository.

guangning pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git.


from d20ce88  Update website for 2.4.2 release (#5801)
 add 2399362  Update RESTFUL API for 2.4.2 release (#5806)

No new revisions were added by this update.

Summary of changes:
 .../static/swagger/{2.4.1 => 2.4.2}/swagger.json   | 340 ++---
 .../swagger/{2.4.1 => 2.4.2}/swaggerfunctions.json |  54 ++--
 .../swagger/{2.4.1 => 2.4.2}/swaggersink.json  |   4 +
 .../swagger/{2.4.1 => 2.4.2}/swaggersource.json|   0
 4 files changed, 337 insertions(+), 61 deletions(-)
 copy site2/website/static/swagger/{2.4.1 => 2.4.2}/swagger.json (97%)
 copy site2/website/static/swagger/{2.4.1 => 2.4.2}/swaggerfunctions.json (99%)
 copy site2/website/static/swagger/{2.4.1 => 2.4.2}/swaggersink.json (99%)
 copy site2/website/static/swagger/{2.4.1 => 2.4.2}/swaggersource.json (100%)



[GitHub] [pulsar] July-liu removed a comment on issue #5781: [Issue:4753] Add encryption docs to Functions develop

2019-12-06 Thread GitBox
July-liu removed a comment on issue #5781: [Issue:4753] Add encryption docs to 
Functions develop
URL: https://github.com/apache/pulsar/pull/5781#issuecomment-562562081
 
 
   还好 


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] July-liu commented on issue #5781: [Issue:4753] Add encryption docs to Functions develop

2019-12-06 Thread GitBox
July-liu commented on issue #5781: [Issue:4753] Add encryption docs to 
Functions develop
URL: https://github.com/apache/pulsar/pull/5781#issuecomment-562562081
 
 
   还好 


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] tuteng edited a comment on issue #5417: Broker hangs and crashes when listing non-persistent topics

2019-12-06 Thread GitBox
tuteng edited a comment on issue #5417: Broker hangs and crashes when listing 
non-persistent topics
URL: https://github.com/apache/pulsar/issues/5417#issuecomment-562549793
 
 
   @digi691 You can try version 2.4.2 
https://dist.apache.org/repos/dist/release/pulsar/pulsar-2.4.2/.
   
   A blocking operation was used in version 2.4.1 
https://github.com/apache/pulsar/blob/v2.4.1/pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/v2/NonPersistentTopics.java#L184,
 and has been fixed in version 2.4.2 
https://github.com/apache/pulsar/blob/v2.4.2/pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/v2/NonPersistentTopics.java#L234.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] tuteng edited a comment on issue #5417: Broker hangs and crashes when listing non-persistent topics

2019-12-06 Thread GitBox
tuteng edited a comment on issue #5417: Broker hangs and crashes when listing 
non-persistent topics
URL: https://github.com/apache/pulsar/issues/5417#issuecomment-562549793
 
 
   @digi691 You can try version 2.4.2 
https://dist.apache.org/repos/dist/release/pulsar/pulsar-2.4.2/.
   A blocking operation was used in version 2.4.1 
https://github.com/apache/pulsar/blob/v2.4.1/pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/v2/NonPersistentTopics.java#L184,
 and has been fixed in version 2.4.2 
https://github.com/apache/pulsar/blob/v2.4.2/pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/v2/NonPersistentTopics.java#L234.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] tuteng commented on issue #5417: Broker hangs and crashes when listing non-persistent topics

2019-12-06 Thread GitBox
tuteng commented on issue #5417: Broker hangs and crashes when listing 
non-persistent topics
URL: https://github.com/apache/pulsar/issues/5417#issuecomment-562549793
 
 
   @digi691 You can try 2.4.2 
https://github.com/apache/pulsar/blob/v2.4.2/pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/v2/NonPersistentTopics.java#L234
   
   A blocking operation was used in version 2.4.1 version 
https://github.com/apache/pulsar/blob/v2.4.1/pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/v2/NonPersistentTopics.java#L184,
 and has been fixed in version 2.4.2 version 
https://github.com/apache/pulsar/blob/v2.4.2/pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/v2/NonPersistentTopics.java#L234.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] wolfstudy commented on issue #5806: Update RESTFUL API for 2.4.2 release

2019-12-06 Thread GitBox
wolfstudy commented on issue #5806: Update RESTFUL API for 2.4.2 release
URL: https://github.com/apache/pulsar/pull/5806#issuecomment-562549817
 
 
   run cpp tests


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] wolfstudy commented on issue #5810: Add pulsar-manager to helm chart

2019-12-06 Thread GitBox
wolfstudy commented on issue #5810: Add pulsar-manager to helm chart
URL: https://github.com/apache/pulsar/pull/5810#issuecomment-562549573
 
 
   @sijie @jiazhai PTAL, thanks.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] wolfstudy opened a new pull request #5810: Add pulsar-manager to helm chart

2019-12-06 Thread GitBox
wolfstudy opened a new pull request #5810: Add pulsar-manager to helm chart
URL: https://github.com/apache/pulsar/pull/5810
 
 
   Signed-off-by: xiaolong.ran 
   
   ### Modifications
   
   - Add [pulsar-manager](https://github.com/apache/pulsar-manager) to helm 
chart
   - Replace pulsar-dashboard with pulsar-manager
 - Currently, we can deprecate pulsar-dashboard, In later versions, we can 
use `pulsar-manager` replace `pulsar-dashboard`.
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] yjshen commented on issue #5788: [pulsar-java-client] Decouple partition switch frequency with maxPublishDelay in producer configuration

2019-12-06 Thread GitBox
yjshen commented on issue #5788: [pulsar-java-client] Decouple partition switch 
frequency with maxPublishDelay in producer configuration
URL: https://github.com/apache/pulsar/pull/5788#issuecomment-562546408
 
 
   run java8 tests.
   run integration tests.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] yjshen removed a comment on issue #5788: [pulsar-java-client] Decouple partition switch frequency with maxPublishDelay in producer configuration

2019-12-06 Thread GitBox
yjshen removed a comment on issue #5788: [pulsar-java-client] Decouple 
partition switch frequency with maxPublishDelay in producer configuration
URL: https://github.com/apache/pulsar/pull/5788#issuecomment-562511338
 
 
   run java8 tests.
   run integration tests.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] yjshen removed a comment on issue #5788: [pulsar-java-client] Decouple partition switch frequency with maxPublishDelay in producer configuration

2019-12-06 Thread GitBox
yjshen removed a comment on issue #5788: [pulsar-java-client] Decouple 
partition switch frequency with maxPublishDelay in producer configuration
URL: https://github.com/apache/pulsar/pull/5788#issuecomment-561914831
 
 
   run cpp tests.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] wolfstudy commented on issue #5806: Update RESTFUL API for 2.4.2 release

2019-12-06 Thread GitBox
wolfstudy commented on issue #5806: Update RESTFUL API for 2.4.2 release
URL: https://github.com/apache/pulsar/pull/5806#issuecomment-562541632
 
 
   run cpp tests


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] codelipenghui commented on issue #5680: [transaction-coordinator] Implementation of transaction coordinator client.

2019-12-06 Thread GitBox
codelipenghui commented on issue #5680: [transaction-coordinator] 
Implementation of transaction coordinator client.
URL: https://github.com/apache/pulsar/pull/5680#issuecomment-562528674
 
 
   run java8 tests
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] wolfstudy commented on issue #5794: [release][website] Add release notes for Release 2.4.2

2019-12-06 Thread GitBox
wolfstudy commented on issue #5794: [release][website] Add release notes for 
Release 2.4.2
URL: https://github.com/apache/pulsar/pull/5794#issuecomment-562516532
 
 
   run integration tests


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] wolfstudy merged pull request #5801: Update website for 2.4.2 release

2019-12-06 Thread GitBox
wolfstudy merged pull request #5801: Update website for 2.4.2 release
URL: https://github.com/apache/pulsar/pull/5801
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[pulsar] branch master updated (3a695cd -> d20ce88)

2019-12-06 Thread rxl
This is an automated email from the ASF dual-hosted git repository.

rxl pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git.


from 3a695cd  fix potential NPE and repeated conditional test (#5776)
 add d20ce88  Update website for 2.4.2 release (#5801)

No new revisions were added by this update.

Summary of changes:
 site2/website/releases.json|1 +
 .../version-2.4.2/admin-api-functions.md   |  546 +
 .../admin-api-non-persistent-topics.md |  264 +++
 .../version-2.4.2/admin-api-overview.md|   89 +
 .../version-2.4.2/admin-api-partitioned-topics.md  |  377 
 .../version-2.4.2/administration-dashboard.md  |   60 +
 .../version-2.4.2/administration-upgrade.md|  153 ++
 .../version-2.4.2/client-libraries-java.md |  708 +++
 .../version-2.4.2/concepts-messaging.md|  415 
 .../version-2.4.2/concepts-tiered-storage.md   |   18 +
 .../version-2.4.2/cookbooks-compaction.md  |  127 ++
 .../version-2.4.2/develop-bare-metal.md|  446 +
 .../versioned_docs/version-2.4.2/functions-cli.md  |  196 ++
 .../version-2.4.2/functions-debug.md   |  448 +
 .../version-2.4.2/functions-deploy.md  |  211 ++
 .../version-2.4.2/functions-develop.md |  899 +
 .../version-2.4.2/functions-overview.md|  188 ++
 .../version-2.4.2/functions-runtime.md |  142 ++
 .../version-2.4.2/functions-worker.md  |  243 +++
 .../version-2.4.2/getting-started-standalone.md|  226 +++
 .../versioned_docs/version-2.4.2/io-cdc-canal.md   |  175 ++
 .../version-2.4.2/io-cdc-debezium.md   |  261 +++
 .../versioned_docs/version-2.4.2/io-connectors.md  |   31 +
 .../versioned_docs/version-2.4.2/io-debug.md   |  329 +++
 .../versioned_docs/version-2.4.2/io-develop.md |  196 ++
 .../versioned_docs/version-2.4.2/io-jdbc.md|   24 +
 .../versioned_docs/version-2.4.2/io-netty.md   |  148 ++
 .../website/versioned_docs/version-2.4.2/io-use.md | 1505 ++
 .../version-2.4.2/reference-configuration.md   |  494 +
 .../version-2.4.2/reference-connector-admin.md |  601 ++
 .../version-2.4.2/reference-metrics.md |  244 +++
 .../version-2.4.2/reference-pulsar-admin.md| 2095 
 .../schema-evolution-compatibility.md  |  784 
 .../version-2.4.2/schema-get-started.md|   91 +
 .../versioned_docs/version-2.4.2/schema-manage.md  |  786 
 .../version-2.4.2/schema-understand.md |  576 ++
 .../version-2.4.2/security-athenz.md   |   93 +
 .../version-2.4.2/security-authorization.md|  100 +
 .../version-2.4.2/security-kerberos.md |  391 
 .../version-2.4.2/security-overview.md |   38 +
 .../version-2.4.2/security-tls-authentication.md   |  156 ++
 .../version-2.4.2/security-tls-transport.md|  230 +++
 .../version-2.4.2/security-token-client.md |  123 ++
 .../versioned_sidebars/version-2.4.2-sidebars.json |  142 ++
 site2/website/versions.json|1 +
 45 files changed, 15371 insertions(+)
 create mode 100644 
site2/website/versioned_docs/version-2.4.2/admin-api-functions.md
 create mode 100644 
site2/website/versioned_docs/version-2.4.2/admin-api-non-persistent-topics.md
 create mode 100644 
site2/website/versioned_docs/version-2.4.2/admin-api-overview.md
 create mode 100644 
site2/website/versioned_docs/version-2.4.2/admin-api-partitioned-topics.md
 create mode 100644 
site2/website/versioned_docs/version-2.4.2/administration-dashboard.md
 create mode 100644 
site2/website/versioned_docs/version-2.4.2/administration-upgrade.md
 create mode 100644 
site2/website/versioned_docs/version-2.4.2/client-libraries-java.md
 create mode 100644 
site2/website/versioned_docs/version-2.4.2/concepts-messaging.md
 create mode 100644 
site2/website/versioned_docs/version-2.4.2/concepts-tiered-storage.md
 create mode 100644 
site2/website/versioned_docs/version-2.4.2/cookbooks-compaction.md
 create mode 100644 
site2/website/versioned_docs/version-2.4.2/develop-bare-metal.md
 create mode 100644 site2/website/versioned_docs/version-2.4.2/functions-cli.md
 create mode 100644 
site2/website/versioned_docs/version-2.4.2/functions-debug.md
 create mode 100644 
site2/website/versioned_docs/version-2.4.2/functions-deploy.md
 create mode 100644 
site2/website/versioned_docs/version-2.4.2/functions-develop.md
 create mode 100644 
site2/website/versioned_docs/version-2.4.2/functions-overview.md
 create mode 100644 
site2/website/versioned_docs/version-2.4.2/functions-runtime.md
 create mode 100644 
site2/website/versioned_docs/version-2.4.2/functions-worker.md
 create mode 100644 
site2/website/versioned_docs/version-2.4.2/getting-started-standalone.md
 create mode 100644 

[GitHub] [pulsar] wolfstudy opened a new pull request #5809: [Issue:5669] Fix the ledgerID not found cause NPE

2019-12-06 Thread GitBox
wolfstudy opened a new pull request #5809: [Issue:5669] Fix the ledgerID not 
found cause NPE
URL: https://github.com/apache/pulsar/pull/5809
 
 
   Signed-off-by: xiaolong.ran 
   
   Fixes #5669 
   
   ### Motivation
   
   when `ledgers.ceilingKey` return a NULL value, we need to process the 
`ledgerId` is NUll case.
   
   ### Modifications
   
   - change `long ledgerId` to `Long ledgerId` and check if `ledgerId` is NULL.
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] jiazhai commented on issue #5742: [pulsar-broker] add support to configure max pending publish request per connection

2019-12-06 Thread GitBox
jiazhai commented on issue #5742: [pulsar-broker] add support to configure max 
pending publish request per connection
URL: https://github.com/apache/pulsar/pull/5742#issuecomment-562513622
 
 
   retest this please


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] jiazhai commented on issue #5702: [pulsar-sql]Expose configurations of managed ledger and bookkeeper client.

2019-12-06 Thread GitBox
jiazhai commented on issue #5702: [pulsar-sql]Expose configurations of managed 
ledger and bookkeeper client.
URL: https://github.com/apache/pulsar/pull/5702#issuecomment-562513341
 
 
   Hi @gaoran10, as @codelipenghui  suggested, Would you please take a look? 
Thanks.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[pulsar] branch master updated (d74c1ac -> 3a695cd)

2019-12-06 Thread zhaijia
This is an automated email from the ASF dual-hosted git repository.

zhaijia pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git.


from d74c1ac  [Issue:5687] Add prefix for new keys from Env (#5790)
 add 3a695cd  fix potential NPE and repeated conditional test (#5776)

No new revisions were added by this update.

Summary of changes:
 .../src/main/java/org/apache/pulsar/client/impl/ClientCnx.java  | 2 +-
 .../src/main/java/org/apache/pulsar/client/impl/ProducerImpl.java   | 6 --
 2 files changed, 5 insertions(+), 3 deletions(-)



[pulsar] branch master updated (eec4fa5 -> d74c1ac)

2019-12-06 Thread zhaijia
This is an automated email from the ASF dual-hosted git repository.

zhaijia pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git.


from eec4fa5  [Issue:5787] Fix docs for creating a K8S cluster on Minikube 
fail (#5805)
 add d74c1ac  [Issue:5687] Add prefix for new keys from Env (#5790)

No new revisions were added by this update.

Summary of changes:
 deployment/kubernetes/aws/bookkeeper.yaml  | 14 +++---
 deployment/kubernetes/aws/broker.yaml  | 14 +++---
 deployment/kubernetes/aws/proxy.yaml   |  6 +++---
 .../generic/k8s-1-9-and-above/bookie.yaml  |  8 
 .../generic/k8s-1-9-and-above/broker.yaml  | 14 +++---
 .../generic/k8s-1-9-and-above/proxy.yaml   |  6 +++---
 deployment/kubernetes/generic/original/bookie.yaml |  8 
 deployment/kubernetes/generic/original/broker.yaml | 14 +++---
 deployment/kubernetes/generic/original/proxy.yaml  |  6 +++---
 .../google-kubernetes-engine/bookie.yaml   | 10 +-
 .../google-kubernetes-engine/broker.yaml   |  6 +++---
 .../kubernetes/google-kubernetes-engine/proxy.yaml |  6 +++---
 deployment/kubernetes/helm/pulsar/values-mini.yaml | 20 ++--
 deployment/kubernetes/helm/pulsar/values.yaml  | 22 +++---
 14 files changed, 77 insertions(+), 77 deletions(-)



[GitHub] [pulsar] jiazhai closed issue #5687: Failed to enable State API in K8s installation

2019-12-06 Thread GitBox
jiazhai closed issue #5687: Failed to enable State API in K8s installation
URL: https://github.com/apache/pulsar/issues/5687
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] jiazhai merged pull request #5790: [Issue:5687] Add prefix for new keys from Env

2019-12-06 Thread GitBox
jiazhai merged pull request #5790: [Issue:5687] Add prefix for new keys from Env
URL: https://github.com/apache/pulsar/pull/5790
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] yjshen commented on issue #5788: [pulsar-java-client] Decouple partition switch frequency with maxPublishDelay in producer configuration

2019-12-06 Thread GitBox
yjshen commented on issue #5788: [pulsar-java-client] Decouple partition switch 
frequency with maxPublishDelay in producer configuration
URL: https://github.com/apache/pulsar/pull/5788#issuecomment-562511338
 
 
   run java8 tests.
   run integration tests.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] tuteng edited a comment on issue #5716: [Issues 5709]remove the namespace checking

2019-12-06 Thread GitBox
tuteng edited a comment on issue #5716: [Issues 5709]remove the namespace 
checking
URL: https://github.com/apache/pulsar/pull/5716#issuecomment-562509125
 
 
   Please check unit test use command @huangdx0726 :
   
   ```
   mvn test -Dtest= org.apache.pulsar.client.impl.MultiTopicsConsumerImplTest 
-pl pulsar-client
   ```
   
   ```
   org.apache.pulsar.client.api.PulsarClientException: 
java.util.concurrent.ExecutionException: 
org.apache.pulsar.client.api.PulsarClientException: 
java.util.concurrent.CompletionException: 
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: 
localhost/127.0.0.1:6650
at 
org.apache.pulsar.client.api.PulsarClientException.unwrap(PulsarClientException.java:647)
at 
org.apache.pulsar.client.impl.ConsumerBuilderImpl.subscribe(ConsumerBuilderImpl.java:94)
at 
org.apache.pulsar.client.impl.MultiTopicsConsumerImplTest.multiTopicsInDifferentNameSpace(MultiTopicsConsumerImplTest.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
at 
org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:54)
at 
org.testng.internal.InvokeMethodRunnable.run(InvokeMethodRunnable.java:44)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
   Caused by: java.util.concurrent.ExecutionException: 
org.apache.pulsar.client.api.PulsarClientException: 
java.util.concurrent.CompletionException: 
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: 
localhost/127.0.0.1:6650
at 
java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
at 
java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1895)
at 
org.apache.pulsar.client.impl.ConsumerBuilderImpl.subscribe(ConsumerBuilderImpl.java:92)
... 13 more
   ```


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] tuteng commented on issue #5716: [Issues 5709]remove the namespace checking

2019-12-06 Thread GitBox
tuteng commented on issue #5716: [Issues 5709]remove the namespace checking
URL: https://github.com/apache/pulsar/pull/5716#issuecomment-562509125
 
 
   Please check unit test use command @huangdx0726 :
   
   ```
   mvn test -Dtest= org.apache.pulsar.client.impl.MultiTopicsConsumerImplTest 
-pl pulsar-broker
   ```
   
   ```
   org.apache.pulsar.client.api.PulsarClientException: 
java.util.concurrent.ExecutionException: 
org.apache.pulsar.client.api.PulsarClientException: 
java.util.concurrent.CompletionException: 
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: 
localhost/127.0.0.1:6650
at 
org.apache.pulsar.client.api.PulsarClientException.unwrap(PulsarClientException.java:647)
at 
org.apache.pulsar.client.impl.ConsumerBuilderImpl.subscribe(ConsumerBuilderImpl.java:94)
at 
org.apache.pulsar.client.impl.MultiTopicsConsumerImplTest.multiTopicsInDifferentNameSpace(MultiTopicsConsumerImplTest.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
at 
org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:54)
at 
org.testng.internal.InvokeMethodRunnable.run(InvokeMethodRunnable.java:44)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
   Caused by: java.util.concurrent.ExecutionException: 
org.apache.pulsar.client.api.PulsarClientException: 
java.util.concurrent.CompletionException: 
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: 
localhost/127.0.0.1:6650
at 
java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
at 
java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1895)
at 
org.apache.pulsar.client.impl.ConsumerBuilderImpl.subscribe(ConsumerBuilderImpl.java:92)
... 13 more
   ```


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] codelipenghui commented on issue #5796: Add Yu to team list.

2019-12-06 Thread GitBox
codelipenghui commented on issue #5796: Add Yu to team list.
URL: https://github.com/apache/pulsar/pull/5796#issuecomment-562496256
 
 
   run java8 tests
   run cpp tests


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] huangdx0726 opened a new issue #5808: Ununderstood example code

2019-12-06 Thread GitBox
huangdx0726 opened a new issue #5808: Ununderstood example code 
URL: https://github.com/apache/pulsar/issues/5808
 
 
   **Describe the bug**
   Ununderstood example code .
   **To Reproduce**
   Steps to reproduce the behavior:
   1. Go to 'http://pulsar.apache.org/docs/en/schema-understand'
   2. Click on 'Understand schema'
   3. Scroll down to 'Complex type>Example'
   
   **Expected behavior**
   this  example code is for java or other?
   **Screenshots**
   
![图片](https://user-images.githubusercontent.com/29513837/70309120-bebca480-1847-11ea-89ed-badf4ca9c5e2.png)
   
   
   **Additional context**
   For JAVA , ``` Schema> ```  means ``` Schema>```,right?
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] codelipenghui commented on issue #5788: [pulsar-java-client] Decouple partition switch frequency with maxPublishDelay in producer configuration

2019-12-06 Thread GitBox
codelipenghui commented on issue #5788: [pulsar-java-client] Decouple partition 
switch frequency with maxPublishDelay in producer configuration
URL: https://github.com/apache/pulsar/pull/5788#issuecomment-562482581
 
 
   run java8 tests


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] wolfstudy commented on issue #5801: Update website for 2.4.2 release

2019-12-06 Thread GitBox
wolfstudy commented on issue #5801: Update website for 2.4.2 release
URL: https://github.com/apache/pulsar/pull/5801#issuecomment-562481759
 
 
   run cpp tests
   run java8 tests


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[pulsar] branch master updated (180e28a -> eec4fa5)

2019-12-06 Thread zhaijia
This is an automated email from the ASF dual-hosted git repository.

zhaijia pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git.


from 180e28a  [Issue 5562][docs]Modify schema compatibility check doc 
(#5757)
 add eec4fa5  [Issue:5787] Fix docs for creating a K8S cluster on Minikube 
fail (#5805)

No new revisions were added by this update.

Summary of changes:
 deployment/kubernetes/helm/README.md | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)



[GitHub] [pulsar] jiazhai closed issue #5787: deploy-kubernetes in minikube tutorial doc seems not work

2019-12-06 Thread GitBox
jiazhai closed issue #5787: deploy-kubernetes in minikube tutorial doc seems 
not work
URL: https://github.com/apache/pulsar/issues/5787
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] jiazhai merged pull request #5805: [Issue:5787] Fix docs for creating a K8S cluster on Minikube fail

2019-12-06 Thread GitBox
jiazhai merged pull request #5805: [Issue:5787] Fix docs for creating a K8S 
cluster on Minikube fail
URL: https://github.com/apache/pulsar/pull/5805
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] wolfstudy commented on issue #5794: [release][website] Add release notes for Release 2.4.2

2019-12-06 Thread GitBox
wolfstudy commented on issue #5794: [release][website] Add release notes for 
Release 2.4.2
URL: https://github.com/apache/pulsar/pull/5794#issuecomment-562473474
 
 
   run integration tests


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services