[GitHub] [pulsar] jerrypeng commented on issue #6787: Using Readers still causes backlog quota to be observed

2020-04-21 Thread GitBox
jerrypeng commented on issue #6787: URL: https://github.com/apache/pulsar/pull/6787#issuecomment-617586912 @sijie @merlimat thanks for the review PTAL. This is an automated message from the Apache Git Service. To respond to t

[GitHub] [pulsar] jerrypeng commented on a change in pull request #6787: Using Readers still causes backlog quota to be observed

2020-04-21 Thread GitBox
jerrypeng commented on a change in pull request #6787: URL: https://github.com/apache/pulsar/pull/6787#discussion_r412710336 ## File path: managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedCursorContainer.java ## @@ -124,6 +130,8 @@ public void removeCurso

[GitHub] [pulsar] BewareMyPower commented on issue #6732: Auto update topic partitions for C++ client

2020-04-21 Thread GitBox
BewareMyPower commented on issue #6732: URL: https://github.com/apache/pulsar/pull/6732#issuecomment-617576990 /pulsarbot run-failure-checks This is an automated message from the Apache Git Service. To respond to the message,

[pulsar] branch master updated (98b818b -> 9dc648a)

2020-04-21 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 98b818b Ensure that all dangling consumers are cleaned up during failures (#6778) add 9dc648a Fix localrunner

[GitHub] [pulsar] phemmer commented on issue #5138: [Go Function API] Ability to store state

2020-04-21 Thread GitBox
phemmer commented on issue #5138: URL: https://github.com/apache/pulsar/issues/5138#issuecomment-617540979 I've created a wrapper around `pulsar-function-go/pf` which provides state support. It's pretty minimal at the moment, and needs more work (concurrency safety & documentation), but it

[GitHub] [pulsar-client-go] equanz commented on issue #227: [auth] Add Athenz authentication provider

2020-04-21 Thread GitBox
equanz commented on issue #227: URL: https://github.com/apache/pulsar-client-go/pull/227#issuecomment-617518998 @wolfstudy @merlimat Could you review this please? In this PR, fixed `parseParams()`, and `Provider.Init()` to run. ---

[GitHub] [pulsar] merlimat opened a new pull request #6792: [Test] Removed double retain in mocked ledger handle

2020-04-21 Thread GitBox
merlimat opened a new pull request #6792: URL: https://github.com/apache/pulsar/pull/6792 ### Motivation The `PulsarMockLedgerHandle.asyncAddEntry()` is retaining the bytebuf before starting the operation. This makes it "ref-count neutral", though the real BK client implementation i

[GitHub] [pulsar] merlimat opened a new pull request #6791: Use consistent hashing in KeyShared distribution

2020-04-21 Thread GitBox
merlimat opened a new pull request #6791: URL: https://github.com/apache/pulsar/pull/6791 ### Motivation The current implementation of KeyShared subscriptions uses a mechanism to divide they hash space across the available consumers. This is based on dividing the currently assigned

[GitHub] [pulsar] zxbfeng commented on issue #1571: `No such ledger exists` error

2020-04-21 Thread GitBox
zxbfeng commented on issue #1571: URL: https://github.com/apache/pulsar/issues/1571#issuecomment-617503423 > A broker owner of a topic partition is always failing trying to read a ledger because ledger doesn't exist in bookkeeper (we checked using `bookkeeper shell ledger`). > > Bro

[GitHub] [pulsar] zxbfeng commented on issue #1571: `No such ledger exists` error

2020-04-21 Thread GitBox
zxbfeng commented on issue #1571: URL: https://github.com/apache/pulsar/issues/1571#issuecomment-617502972 > @bardock Skipping messages from that ledger should solve the issue. > > In particular you can get the internal stats for the topic: > > ``` > bin/pulsar admin persist

[GitHub] [pulsar] merlimat commented on issue #6647: Improve Key_Shared subscription message dispatching performance.

2020-04-21 Thread GitBox
merlimat commented on issue #6647: URL: https://github.com/apache/pulsar/pull/6647#issuecomment-617497271 Hi @codelipenghui. I'm failing to see a practical difference in the code here compared to the previous implementation. I think the only difference is when the `%` is done, but t

[GitHub] [pulsar] zplinuxlover commented on issue #6783: resolve issue 6578

2020-04-21 Thread GitBox
zplinuxlover commented on issue #6783: URL: https://github.com/apache/pulsar/pull/6783#issuecomment-617495498 /pulsarbot run-failure-checks This is an automated message from the Apache Git Service. To respond to the message,

[GitHub] [pulsar] zplinuxlover commented on issue #6783: resolve issue 6578

2020-04-21 Thread GitBox
zplinuxlover commented on issue #6783: URL: https://github.com/apache/pulsar/pull/6783#issuecomment-617495396 /pulsarbot run-failure-checks This is an automated message from the Apache Git Service. To respond to the message,

[GitHub] [pulsar] merlimat commented on a change in pull request #6778: Ensure that all dangling consumers are cleaned up during failures

2020-04-21 Thread GitBox
merlimat commented on a change in pull request #6778: URL: https://github.com/apache/pulsar/pull/6778#discussion_r412599838 ## File path: pulsar-functions/instance/src/main/java/org/apache/pulsar/functions/source/PulsarSource.java ## @@ -99,11 +99,12 @@ public void open(Map co

[GitHub] [pulsar] merlimat commented on issue #6787: Using Readers still causes backlog quota to be observed

2020-04-21 Thread GitBox
merlimat commented on issue #6787: URL: https://github.com/apache/pulsar/pull/6787#issuecomment-617489906 > Does this result in any data loss or unexpected behaviors when using the reader API? The reader, per definition, doesn't cause the data to be retained. In this case, in the mo

[pulsar] branch master updated: Ensure that all dangling consumers are cleaned up during failures (#6778)

2020-04-21 Thread sanjeevrk
This is an automated email from the ASF dual-hosted git repository. sanjeevrk pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/pulsar.git The following commit(s) were added to refs/heads/master by this push: new 98b818b Ensure that all dangling consumers a

[GitHub] [pulsar] hangc0276 commented on issue #6705: expose managedLedgerCache, managedLedger, loadBalance metrics to prometheus

2020-04-21 Thread GitBox
hangc0276 commented on issue #6705: URL: https://github.com/apache/pulsar/pull/6705#issuecomment-617474793 /pulsarbot run-failure-checks This is an automated message from the Apache Git Service. To respond to the message, ple

[GitHub] [pulsar] sijie commented on issue #6788: [broker] register loadbalance znode should attempt to wait until session expired

2020-04-21 Thread GitBox
sijie commented on issue #6788: URL: https://github.com/apache/pulsar/pull/6788#issuecomment-617473644 /pulsarbot run-failure-checks This is an automated message from the Apache Git Service. To respond to the message, please

[GitHub] [pulsar] sijie commented on issue #6777: Remove the mysql jar from the jdbc connector

2020-04-21 Thread GitBox
sijie commented on issue #6777: URL: https://github.com/apache/pulsar/pull/6777#issuecomment-617473576 @zymap when you removed mysql from jdbc connector, do you need to fix the integration test? This is an automated message

[GitHub] [pulsar] sijie commented on issue #5241: Pulsar Client - Allow TLS Certs to be loaded from memory

2020-04-21 Thread GitBox
sijie commented on issue #5241: URL: https://github.com/apache/pulsar/issues/5241#issuecomment-617473254 This is solved by #6760 This is an automated message from the Apache Git Service. To respond to the message, please log

[pulsar] branch master updated (967c7ca -> 3b48df1)

2020-04-21 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 967c7ca Fix NPE issue in testcase `org.apache.pulsar.broker.service.ServerCnxTest` (#6781) add 3b48df1 [pulsar

[pulsar] branch master updated (188d896 -> 967c7ca)

2020-04-21 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 188d896 [Issue 5935] Support multi pulsar clusters to use the same bk cluster (#5985) add 967c7ca Fix NPE issu

[GitHub] [pulsar] phemmer opened a new issue #6790: Go function panic due to non-normalized topic

2020-04-21 Thread GitBox
phemmer opened a new issue #6790: URL: https://github.com/apache/pulsar/issues/6790 **Describe the bug** When creating a go function with an input topic name that is non-normalized (e.g. `public/default/input`), the function panics due to different topic names being used. **To Re

[GitHub] [pulsar] cdbartholomew commented on issue #6789: TLS Authentication on proxy prevents Prometheus metrics collection

2020-04-21 Thread GitBox
cdbartholomew commented on issue #6789: URL: https://github.com/apache/pulsar/issues/6789#issuecomment-617468740 You can either configure authentication in your Prometheus scrape job or disable authentication on the proxy metrics endpoint. To disable, you should be able to set the followin

[GitHub] [pulsar] bschofield opened a new issue #6789: TLS Authentication on proxy prevents Prometheus metrics collection

2020-04-21 Thread GitBox
bschofield opened a new issue #6789: URL: https://github.com/apache/pulsar/issues/6789 I am running a Pulsar deployment with TLS and Authentication on enabled on the proxy only, and neither TLS nor Authentication enabled inside the private cluster. When Prometheus attempts to scrape

[GitHub] [pulsar] sijie opened a new pull request #6788: [broker] register loadbalance znode should attempt to wait until session expired

2020-04-21 Thread GitBox
sijie opened a new pull request #6788: URL: https://github.com/apache/pulsar/pull/6788 *Motivation* Exceptions `Broker-znode owned by different zk-session` is commonly seen when a broker starts up in Kubernetes environment. That's because the previous znode is not expired.

[GitHub] [pulsar] vzhikserg commented on issue #6770: [Grafana] Add tags to all grafana dashboards

2020-04-21 Thread GitBox
vzhikserg commented on issue #6770: URL: https://github.com/apache/pulsar/pull/6770#issuecomment-617407056 /pulsarbot run-failure-checks This is an automated message from the Apache Git Service. To respond to the message, ple

[GitHub] [pulsar] cbornet commented on issue #6720: Make ServerCnx, Producer and Consumer independent of Netty

2020-04-21 Thread GitBox
cbornet commented on issue #6720: URL: https://github.com/apache/pulsar/pull/6720#issuecomment-617403363 The change is already in this PR. I did it in the [2nd commit](https://github.com/apache/pulsar/pull/6720/commits/3a16679e8526da58214f66c16754fee1367eac2f). ---

[pulsar] branch master updated (fb930b7 -> 188d896)

2020-04-21 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 fb930b7 Make the FunctionRunTimeManager methods used by rest-api syncrhonized since the assignment tailer also is up

[GitHub] [pulsar] sijie commented on issue #6524: [Issue 6319][Pulsar client] connection leak fix

2020-04-21 Thread GitBox
sijie commented on issue #6524: URL: https://github.com/apache/pulsar/pull/6524#issuecomment-617391603 @codelipenghui @jiazhai can you review this pull request again? This is an automated message from the Apache Git Service.

[GitHub] [pulsar] sijie commented on a change in pull request #6539: [function][Ftr] Add publishFunction for go-function

2020-04-21 Thread GitBox
sijie commented on a change in pull request #6539: URL: https://github.com/apache/pulsar/pull/6539#discussion_r398324960 ## File path: pulsar-function-go/examples/publishFunc/publish_func.go ## @@ -0,0 +1,37 @@ +// +// Licensed to the Apache Software Foundation (ASF) under one

[GitHub] [pulsar] sijie commented on issue #6331: [Issue 2912][pulsar-admin] add get-message-by-id cmd into pulsar-admin

2020-04-21 Thread GitBox
sijie commented on issue #6331: URL: https://github.com/apache/pulsar/pull/6331#issuecomment-617391035 /pulsarbot run-failure-checks This is an automated message from the Apache Git Service. To respond to the message, please

[GitHub] [pulsar] sijie commented on issue #6679: [][io-rabbitmq] Add `passive` to io-rabbitmq config options

2020-04-21 Thread GitBox
sijie commented on issue #6679: URL: https://github.com/apache/pulsar/pull/6679#issuecomment-617390187 /pulsarbot run-failure-checks This is an automated message from the Apache Git Service. To respond to the message, please

[GitHub] [pulsar] sijie commented on issue #6659: [ISSUE 6563][Broker] Invalidate managed ledgers zookeeper cache instead of reloading on watcher triggered

2020-04-21 Thread GitBox
sijie commented on issue #6659: URL: https://github.com/apache/pulsar/pull/6659#issuecomment-617389975 /pulsarbot run-failure-checks This is an automated message from the Apache Git Service. To respond to the message, please

[GitHub] [pulsar] sijie commented on issue #6648: [pulsar-client] add api to wait for inflight messages while closing producer

2020-04-21 Thread GitBox
sijie commented on issue #6648: URL: https://github.com/apache/pulsar/pull/6648#issuecomment-617389683 /pulsarbot run-failure-checks This is an automated message from the Apache Git Service. To respond to the message, please

[GitHub] [pulsar] sijie commented on issue #6566: [PIP-60] [Proxy-Server] Support SNI routing to support various proxy-server in pulsar

2020-04-21 Thread GitBox
sijie commented on issue #6566: URL: https://github.com/apache/pulsar/pull/6566#issuecomment-617389072 /pulsarbot run-failure-checks This is an automated message from the Apache Git Service. To respond to the message, please

[GitHub] [pulsar] sijie commented on issue #6428: [Issue 5720][authorization provider] Add granularity

2020-04-21 Thread GitBox
sijie commented on issue #6428: URL: https://github.com/apache/pulsar/pull/6428#issuecomment-617388456 /pulsarbot run-failure-checks This is an automated message from the Apache Git Service. To respond to the message, please

[GitHub] [pulsar] merlimat commented on a change in pull request #6787: Using Readers still causes backlog quota to be observed

2020-04-21 Thread GitBox
merlimat commented on a change in pull request #6787: URL: https://github.com/apache/pulsar/pull/6787#discussion_r412458532 ## File path: managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedCursorContainer.java ## @@ -124,6 +130,8 @@ public void removeCursor

[GitHub] [pulsar] sijie commented on issue #6730: Fix flaky test related to publish buffer throttle.

2020-04-21 Thread GitBox
sijie commented on issue #6730: URL: https://github.com/apache/pulsar/pull/6730#issuecomment-617387726 /pulsarbot run-failure-checks This is an automated message from the Apache Git Service. To respond to the message, please

[GitHub] [pulsar] sijie commented on issue #6719: fix consumer fetch message number maps to read entry number bug and expose avgMessagesPerEntry metric

2020-04-21 Thread GitBox
sijie commented on issue #6719: URL: https://github.com/apache/pulsar/pull/6719#issuecomment-617387316 /pulsarbot run-failure-checks This is an automated message from the Apache Git Service. To respond to the message, please

[GitHub] [pulsar] sijie commented on issue #6516: [pulsar-proxy] Add CLI support to get pulsar-proxy stats

2020-04-21 Thread GitBox
sijie commented on issue #6516: URL: https://github.com/apache/pulsar/pull/6516#issuecomment-617387105 @codelipenghui can you review this pull request again? This is an automated message from the Apache Git Service. To respon

[GitHub] [pulsar] sijie commented on a change in pull request #6750: [broker] Increase timeout for loading topics

2020-04-21 Thread GitBox
sijie commented on a change in pull request #6750: URL: https://github.com/apache/pulsar/pull/6750#discussion_r412456000 ## File path: pulsar-broker/src/main/java/org/apache/pulsar/broker/service/BrokerService.java ## @@ -861,7 +861,8 @@ public PulsarAdmin getClusterPulsarAdmi

[GitHub] [pulsar] sijie commented on a change in pull request #6752: Support different docker images in Kubernetes runtime of Pulsar Functions

2020-04-21 Thread GitBox
sijie commented on a change in pull request #6752: URL: https://github.com/apache/pulsar/pull/6752#discussion_r412454454 ## File path: pulsar-functions/runtime/src/main/java/org/apache/pulsar/functions/runtime/kubernetes/KubernetesRuntime.java ## @@ -155,6 +158,9 @@

[GitHub] [pulsar] jerrypeng opened a new pull request #6787: Using Readers still causes backlog quota to be observed

2020-04-21 Thread GitBox
jerrypeng opened a new pull request #6787: URL: https://github.com/apache/pulsar/pull/6787 ### Motivation When using Readers API, backlog quotas are still enforced on these ephemeral readers. ### Modifications If a cursor is non-durable then we don't add it to the min-h

[GitHub] [pulsar] sijie commented on issue #6760: [pulsar-client] Add support to load tls certs/key dynamically from inputstream

2020-04-21 Thread GitBox
sijie commented on issue #6760: URL: https://github.com/apache/pulsar/pull/6760#issuecomment-617381386 /pulsarbot run-failure-checks This is an automated message from the Apache Git Service. To respond to the message, please

[GitHub] [pulsar] sijie commented on issue #6764: fix Get schema by version can get the deleted schema info #6754

2020-04-21 Thread GitBox
sijie commented on issue #6764: URL: https://github.com/apache/pulsar/pull/6764#issuecomment-617380745 @codelipenghui can you review this again? This is an automated message from the Apache Git Service. To respond to the mess

[GitHub] [pulsar] sijie commented on issue #6763: [docs] Fix encryption examples

2020-04-21 Thread GitBox
sijie commented on issue #6763: URL: https://github.com/apache/pulsar/pull/6763#issuecomment-617380384 @jiazhai can you review it again? This is an automated message from the Apache Git Service. To respond to the message, ple

[GitHub] [pulsar] sijie commented on issue #6766: Fix check backlogged cursors without consumer

2020-04-21 Thread GitBox
sijie commented on issue #6766: URL: https://github.com/apache/pulsar/pull/6766#issuecomment-617379981 /pulsarbot run-failure-checks This is an automated message from the Apache Git Service. To respond to the message, please

[GitHub] [pulsar] sijie commented on issue #6767: [function] Function endpoint admin/v3/functions/{tenant}/{namespace} always returns 404

2020-04-21 Thread GitBox
sijie commented on issue #6767: URL: https://github.com/apache/pulsar/pull/6767#issuecomment-617379263 /pulsarbot run-failure-checks This is an automated message from the Apache Git Service. To respond to the message, please

[GitHub] [pulsar] sijie commented on issue #6769: change nondurable cursor to active

2020-04-21 Thread GitBox
sijie commented on issue #6769: URL: https://github.com/apache/pulsar/pull/6769#issuecomment-617378666 /pulsarbot run-failure-checks This is an automated message from the Apache Git Service. To respond to the message, please

[GitHub] [pulsar] sijie commented on issue #6770: [Grafana] Add tags to all grafana dashboards

2020-04-21 Thread GitBox
sijie commented on issue #6770: URL: https://github.com/apache/pulsar/pull/6770#issuecomment-617377972 /pulsarbot run-failure-checks This is an automated message from the Apache Git Service. To respond to the message, please

[GitHub] [pulsar] sijie commented on issue #6772: Add ThresholdShedder Strategy for loadbalancer and expose loadbalance metric to prometheus

2020-04-21 Thread GitBox
sijie commented on issue #6772: URL: https://github.com/apache/pulsar/pull/6772#issuecomment-617377676 /pulsarbot run-failure-checks This is an automated message from the Apache Git Service. To respond to the message, please

[GitHub] [pulsar] sijie commented on issue #6777: Remove the mysql jar from the jdbc connector

2020-04-21 Thread GitBox
sijie commented on issue #6777: URL: https://github.com/apache/pulsar/pull/6777#issuecomment-617374295 /pulsarbot run-failure-checks This is an automated message from the Apache Git Service. To respond to the message, please

[GitHub] [pulsar] sijie commented on issue #6776: [Docs] Fix the Create subscribtion swagger of PersistentTopic

2020-04-21 Thread GitBox
sijie commented on issue #6776: URL: https://github.com/apache/pulsar/pull/6776#issuecomment-617373473 /pulsarbot run-failure-checks This is an automated message from the Apache Git Service. To respond to the message, please

[GitHub] [pulsar] sijie commented on issue #6781: change testcase `org.apache.pulsar.broker.service.ServerCnxTest`, resolve NPE

2020-04-21 Thread GitBox
sijie commented on issue #6781: URL: https://github.com/apache/pulsar/pull/6781#issuecomment-617372291 /pulsarbot run-failure-checks This is an automated message from the Apache Git Service. To respond to the message, please

[GitHub] [pulsar] sijie commented on issue #6783: resolve issue 6578

2020-04-21 Thread GitBox
sijie commented on issue #6783: URL: https://github.com/apache/pulsar/pull/6783#issuecomment-617371569 /pulsarbot run-failure-checks This is an automated message from the Apache Git Service. To respond to the message, please

[GitHub] [pulsar] sijie commented on issue #6779: Fix localrunner netty dependency issue and add default log4j2 config file

2020-04-21 Thread GitBox
sijie commented on issue #6779: URL: https://github.com/apache/pulsar/pull/6779#issuecomment-617370751 /pulsarbot run-failure-checks This is an automated message from the Apache Git Service. To respond to the message, please

[GitHub] [pulsar] sijie commented on issue #6782: [pulsar-storm] Fix: Authentication is failing with storm adapter

2020-04-21 Thread GitBox
sijie commented on issue #6782: URL: https://github.com/apache/pulsar/pull/6782#issuecomment-617365809 @shiv4289 - did you remember which Authentication is not serializable in #4283? This is an automated message from the Apa

[GitHub] [pulsar] rdhabalia commented on issue #6782: [pulsar-storm] Fix: Authentication is failing with storm adapter

2020-04-21 Thread GitBox
rdhabalia commented on issue #6782: URL: https://github.com/apache/pulsar/pull/6782#issuecomment-617360903 > If we want to switch it back to non-transient, we have to fix that implementation to make it serializable. Can you point me that Auth which is not serializable?

[pulsar] branch master updated: Make the FunctionRunTimeManager methods used by rest-api syncrhonized since the assignment tailer also is updating it (#6786)

2020-04-21 Thread sanjeevrk
This is an automated email from the ASF dual-hosted git repository. sanjeevrk pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/pulsar.git The following commit(s) were added to refs/heads/master by this push: new fb930b7 Make the FunctionRunTimeManager meth

[GitHub] [pulsar] sijie commented on issue #6782: [pulsar-storm] Fix: Authentication is failing with storm adapter

2020-04-21 Thread GitBox
sijie commented on issue #6782: URL: https://github.com/apache/pulsar/pull/6782#issuecomment-617341552 @rdhabalia I think Flink builder does the same approach before which takes the Authentication object. But I think there is one implementation of Authentication interface is not serializab

[GitHub] [pulsar] rdhabalia commented on issue #6782: [pulsar-storm] Fix: Authentication is failing with storm adapter

2020-04-21 Thread GitBox
rdhabalia commented on issue #6782: URL: https://github.com/apache/pulsar/pull/6782#issuecomment-617325609 There are few issues here: 1. User can set `Authentication` with [3 different ways](https://github.com/apache/pulsar/blob/master/pulsar-client/src/main/java/org/apache/pulsar/client

[GitHub] [pulsar] phemmer commented on issue #6768: Server exception when using enum in schema

2020-04-21 Thread GitBox
phemmer commented on issue #6768: URL: https://github.com/apache/pulsar/issues/6768#issuecomment-617319578 @codelipenghui specifying a namespace has no effect. Namespace is optional in avro. The code you reference uses neither `enum` nor an embedded `fields`, which are the types documen

[GitHub] [pulsar] srkukarni opened a new pull request #6786: Fix flakiness in PulsarFunctionE2ESecurityTest

2020-04-21 Thread GitBox
srkukarni opened a new pull request #6786: URL: https://github.com/apache/pulsar/pull/6786 Make the FunctionRunTimeManager methods used by rest-api syncrhonized since the assignment tailer also is updating it. This fixes the flakiness in PulsarFunctionE2ESecurityTest *(If th

[GitHub] [pulsar] bschofield edited a comment on issue #6785: go client: message ID serialization / deserialization does not work with multi-topic consumers

2020-04-21 Thread GitBox
bschofield edited a comment on issue #6785: URL: https://github.com/apache/pulsar/issues/6785#issuecomment-617285319 I rescind the last paragraph. I thought that `pulsar.MessageID`s were being reused, but that was in fact a separate bug in my code :sob:. FWIW, while I was debugging,

[GitHub] [pulsar] bschofield edited a comment on issue #6785: go client: message ID serialization / deserialization does not work with multi-topic consumers

2020-04-21 Thread GitBox
bschofield edited a comment on issue #6785: URL: https://github.com/apache/pulsar/issues/6785#issuecomment-617285319 I rescind the last paragraph I thought that `pulsar.MessageID`s were being reused, but that was in fact a separate bug in my code :sob:. FWIW, I did manage to work aro

[GitHub] [pulsar] bschofield edited a comment on issue #6785: go client: message ID serialization / deserialization does not work with multi-topic consumers

2020-04-21 Thread GitBox
bschofield edited a comment on issue #6785: URL: https://github.com/apache/pulsar/issues/6785#issuecomment-617285319 I rescind the last paragraph I thought that `pulsar.MessageID`s were being reused, but that was in fact a separate bug in my code :sob:. FWIW, I did manage to work aro

[GitHub] [pulsar] sijie commented on issue #5459: macOS 10.15 support

2020-04-21 Thread GitBox
sijie commented on issue #5459: URL: https://github.com/apache/pulsar/issues/5459#issuecomment-617286517 Close this issue because we have started publishing python client 10.15 since 2.4.2 release. This is an automated messa

[GitHub] [pulsar] bschofield commented on issue #6785: go client: message ID serialization / deserialization does not work with multi-topic consumers

2020-04-21 Thread GitBox
bschofield commented on issue #6785: URL: https://github.com/apache/pulsar/issues/6785#issuecomment-617285319 I rescind the last paragraph -- that was a bug in my code :sob:. So this bug still exists, but it is (probably) less critical.

[GitHub] [pulsar] tuteng commented on issue #6774: Update apache pulsar 2.5.1 release notes

2020-04-21 Thread GitBox
tuteng commented on issue #6774: URL: https://github.com/apache/pulsar/pull/6774#issuecomment-617219051 @codelipenghui Thanks for your comment, I have fixed, PTAL This is an automated message from the Apache Git Service. To r

[GitHub] [pulsar] hozn commented on issue #5459: macOS 10.15 support

2020-04-21 Thread GitBox
hozn commented on issue #5459: URL: https://github.com/apache/pulsar/issues/5459#issuecomment-617208107 @sijie -- good point; I upgraded protobuf and this fixed the problem for me! ``` ==> Upgrading protobuf 3.7.1 -> 3.11.4 ```

[GitHub] [pulsar] bschofield opened a new issue #6785: go client: message ID serialization / deserialization does not work with multi-topic consumers

2020-04-21 Thread GitBox
bschofield opened a new issue #6785: URL: https://github.com/apache/pulsar/issues/6785 As noted in [this comment](https://github.com/apache/pulsar/issues/3177#issuecomment-471866729), go code like this can cause a panic: ```golang id := msg.ID().Serialize() idParsed := pulsar.

[GitHub] [pulsar-client-go] zxbfeng opened a new issue #232: Pulsar Message Backlog:consumer can't consume messages!!!!

2020-04-21 Thread GitBox
zxbfeng opened a new issue #232: URL: https://github.com/apache/pulsar-client-go/issues/232 pulsar version:2.4.2 The pulsar system version is 2.4.2, The producer sends Messages to pulsar successfully, but the consumers can't consume it. Consumers are servers which have been started a lo

[GitHub] [pulsar] zplinuxlover commented on issue #6783: resolve issue 6578

2020-04-21 Thread GitBox
zplinuxlover commented on issue #6783: URL: https://github.com/apache/pulsar/pull/6783#issuecomment-617099585 /pulsarbot run-failure-checks This is an automated message from the Apache Git Service. To respond to the message,

[GitHub] [pulsar] zplinuxlover commented on issue #6783: resolve issue 6578

2020-04-21 Thread GitBox
zplinuxlover commented on issue #6783: URL: https://github.com/apache/pulsar/pull/6783#issuecomment-617099375 /pulsarbot run-failure-checks This is an automated message from the Apache Git Service. To respond to the message,

[GitHub] [pulsar] otmanel31 commented on issue #6599: TimeoutException on some client connected

2020-04-21 Thread GitBox
otmanel31 commented on issue #6599: URL: https://github.com/apache/pulsar/issues/6599#issuecomment-617087638 hi, yes the namespace is created as describe in official documentation. this issue was resolved for me by setting/upgrading number of core of my virtual machine. ---

[pulsar-manager] branch master updated: Serve frontend directly from Pulsar Manage backend process (#288)

2020-04-21 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 424788d Serve frontend directly from

[pulsar-helm-chart] branch master updated: Publish chart index to gh-pages branch (#3)

2020-04-21 Thread sijie
This is an automated email from the ASF dual-hosted git repository. sijie pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/pulsar-helm-chart.git The following commit(s) were added to refs/heads/master by this push: new 0338d17 Publish chart index to gh-pag

[GitHub] [pulsar] codelipenghui opened a new pull request #6784: Add topic compaction test for the empty message.

2020-04-21 Thread GitBox
codelipenghui opened a new pull request #6784: URL: https://github.com/apache/pulsar/pull/6784 ### Motivation Add topic compaction test for the empty message. ### Modifications Added unit test. ### Does this pull request potentially affect one of the following par

[GitHub] [pulsar] sijie commented on issue #6782: [pulsar-storm] Fix: Authentication is failing with storm adapter

2020-04-21 Thread GitBox
sijie commented on issue #6782: URL: https://github.com/apache/pulsar/pull/6782#issuecomment-617055757 @rdhabalia this will break other usages. because not all authentication implementation are serializable. the change in #4284 is to use ClientConfigurationData to reconstruct the Authentic

[GitHub] [pulsar] zplinuxlover opened a new pull request #6783: resolve issue 6578

2020-04-21 Thread GitBox
zplinuxlover opened a new pull request #6783: URL: https://github.com/apache/pulsar/pull/6783 Describe the bug The messageReceiveTimeoutMs value in the PulsarConsumerSource class is hardcoded to 100ms and cannot be altered through configuration at present. To Reproduce This is

[GitHub] [pulsar] rdhabalia opened a new pull request #6782: [pulsar-storm] Fix: Authentication is failing with storm adapter

2020-04-21 Thread GitBox
rdhabalia opened a new pull request #6782: URL: https://github.com/apache/pulsar/pull/6782 ### Motivation In #4284, made [Authentication](https://github.com/apache/pulsar/blob/master/pulsar-client-api/src/main/java/org/apache/pulsar/client/api/Authentication.java#L33) a transient under

[GitHub] [pulsar] zplinuxlover opened a new pull request #6781: change testcase `org.apache.pulsar.broker.service.ServerCnxTest`, resolve NPE

2020-04-21 Thread GitBox
zplinuxlover opened a new pull request #6781: URL: https://github.com/apache/pulsar/pull/6781 when i run the testcase `org.apache.pulsar.broker.service.ServerCnxTest` code three will be NPE exception, change the code, add `policies.clusterDispatchRate = Maps.newHashMap();` the test

[pulsar-helm-chart] annotated tag v2.5.0 updated (47f05b7 -> 5ce3ea0)

2020-04-21 Thread sijie
This is an automated email from the ASF dual-hosted git repository. sijie pushed a change to annotated tag v2.5.0 in repository https://gitbox.apache.org/repos/asf/pulsar-helm-chart.git. *** WARNING: tag v2.5.0 was modified! *** from 47f05b7 (commit) to 5ce3ea0 (tag) tagging 47f05b

[pulsar-helm-chart] 01/01: Create a gh-pages branch with a chart index yaml for placeholder

2020-04-21 Thread sijie
This is an automated email from the ASF dual-hosted git repository. sijie pushed a commit to branch gh-pages in repository https://gitbox.apache.org/repos/asf/pulsar-helm-chart.git commit 7f616763ee6020ad50022f79316c0520b6757ffb Author: Sijie Guo AuthorDate: Tue Apr 21 00:52:15 2020 -0700 C

[pulsar-helm-chart] branch gh-pages created (now 7f61676)

2020-04-21 Thread sijie
This is an automated email from the ASF dual-hosted git repository. sijie pushed a change to branch gh-pages in repository https://gitbox.apache.org/repos/asf/pulsar-helm-chart.git. at 7f61676 Create a gh-pages branch with a chart index yaml for placeholder This branch includes the foll

[pulsar-helm-chart] branch master updated: Add github action to check license header (#2)

2020-04-21 Thread sijie
This is an automated email from the ASF dual-hosted git repository. sijie pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/pulsar-helm-chart.git The following commit(s) were added to refs/heads/master by this push: new 47f05b7 Add github action to check li

[GitHub] [pulsar] sijie commented on issue #6720: Make ServerCnx, Producer and Consumer independent of Netty

2020-04-21 Thread GitBox
sijie commented on issue #6720: URL: https://github.com/apache/pulsar/pull/6720#issuecomment-617000174 > I'll do the change for Consumer. It will also make Topic, NonPersistentTopic, and PersistentTopic depend of ServerCnx instead of PulsarServerCnx so that's better. It is a bit har