[pulsar] branch master updated: [fix][sec] Upgrade Spring dependency to 5.3.26 to fix OWASP Dependency Check (#20029)

2023-04-06 Thread lhotari
This is an automated email from the ASF dual-hosted git repository. lhotari 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 3b118b6bd54 [fix][sec] Upgrade Spring

[GitHub] [pulsar] lhotari merged pull request #20029: [fix][sec] Upgrade Spring dependency to 5.3.26 to fix OWASP Dependency Check

2023-04-06 Thread via GitHub
lhotari merged PR #20029: URL: https://github.com/apache/pulsar/pull/20029 -- 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. To unsubscribe, e-mail:

[pulsar] branch master updated: [improve][ml] Add Read cache misses metric for ledger (#20001)

2023-04-06 Thread houxiaoyu
This is an automated email from the ASF dual-hosted git repository. houxiaoyu 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 8b0a0a388ad [improve][ml] Add Read cache

[GitHub] [pulsar] AnonHxy merged pull request #20001: [improve][ml] Add Read cache misses metric for ledger

2023-04-06 Thread via GitHub
AnonHxy merged PR #20001: URL: https://github.com/apache/pulsar/pull/20001 -- 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. To unsubscribe, e-mail:

[pulsar] branch branch-2.10 updated: [improve][txn] Cleanup how superusers abort txns (#19976)

2023-04-06 Thread mmarshall
This is an automated email from the ASF dual-hosted git repository. mmarshall pushed a commit to branch branch-2.10 in repository https://gitbox.apache.org/repos/asf/pulsar.git The following commit(s) were added to refs/heads/branch-2.10 by this push: new 716db378453 [improve][txn] Cleanup

[GitHub] [pulsar] tisonkun closed issue #19876: [Doc] Add API doc for NodeJS client

2023-04-06 Thread via GitHub
tisonkun closed issue #19876: [Doc] Add API doc for NodeJS client URL: https://github.com/apache/pulsar/issues/19876 -- 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. To

[GitHub] [pulsar-client-node] tisonkun merged pull request #314: docs: add typedoc to generate apidoc

2023-04-06 Thread via GitHub
tisonkun merged PR #314: URL: https://github.com/apache/pulsar-client-node/pull/314 -- 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. To unsubscribe, e-mail:

[GitHub] [pulsar-client-node] tisonkun commented on pull request #314: docs: add typedoc to generate apidoc

2023-04-06 Thread via GitHub
tisonkun commented on PR #314: URL: https://github.com/apache/pulsar-client-node/pull/314#issuecomment-1499948433 Merging... Thanks for your review. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL

[GitHub] [pulsar] michaeljmarshall commented on pull request #19975: [refactor][fn] Use AuthorizationServer more in Function Worker API

2023-04-06 Thread via GitHub
michaeljmarshall commented on PR #19975: URL: https://github.com/apache/pulsar/pull/19975#issuecomment-1499943308 @lhotari - thanks for your review. I've refactored things a bit more. Would you take another look? Thanks! -- This is an automated message from the Apache Git Service. To

[GitHub] [pulsar] Technoboy- closed pull request #20037: [fix][broker] Check replication cluster before starting the replicator when policies are updated

2023-04-06 Thread via GitHub
Technoboy- closed pull request #20037: [fix][broker] Check replication cluster before starting the replicator when policies are updated URL: https://github.com/apache/pulsar/pull/20037 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to

[GitHub] [pulsar] codecov-commenter commented on pull request #20001: [improve][ml] Add Read cache misses metric for ledger

2023-04-06 Thread via GitHub
codecov-commenter commented on PR #20001: URL: https://github.com/apache/pulsar/pull/20001#issuecomment-1499935476 ## [Codecov](https://codecov.io/gh/apache/pulsar/pull/20001?src=pr=h1_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation)

[pulsar-site] branch main updated: [feat][doc] Add Get Started for TXN (#501)

2023-04-06 Thread liuyu
This is an automated email from the ASF dual-hosted git repository. liuyu pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/pulsar-site.git The following commit(s) were added to refs/heads/main by this push: new dfaf6f311f0 [feat][doc] Add Get Started for TXN

[GitHub] [pulsar-site] Anonymitaet merged pull request #501: [feat][doc] Add Get Started for TXN

2023-04-06 Thread via GitHub
Anonymitaet merged PR #501: URL: https://github.com/apache/pulsar-site/pull/501 -- 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. To unsubscribe, e-mail:

[GitHub] [pulsar] poorbarcode commented on a diff in pull request #19737: [improve] [broker] PIP-240: new public method unloadSubscription in PersistentTopic

2023-04-06 Thread via GitHub
poorbarcode commented on code in PR #19737: URL: https://github.com/apache/pulsar/pull/19737#discussion_r1160418196 ## pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentTopic.java: ## @@ -430,6 +443,41 @@ public AtomicLong getPendingWriteOps() {

[GitHub] [pulsar] Technoboy- commented on a diff in pull request #19737: [improve] [broker] PIP-240: new public method unloadSubscription in PersistentTopic

2023-04-06 Thread via GitHub
Technoboy- commented on code in PR #19737: URL: https://github.com/apache/pulsar/pull/19737#discussion_r1160417473 ## pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentTopic.java: ## @@ -430,6 +443,41 @@ public AtomicLong getPendingWriteOps() {

[GitHub] [pulsar] poorbarcode commented on pull request #19737: [improve] [broker] PIP-240: new public method unloadSubscription in PersistentTopic

2023-04-06 Thread via GitHub
poorbarcode commented on PR #19737: URL: https://github.com/apache/pulsar/pull/19737#issuecomment-1499904492 After discussing with @congbobo184, we feel it is too heavy to use a map to track the running unload task, I will find another way to do this. -- This is an automated message from

[GitHub] [pulsar] poorbarcode commented on pull request #19514: [fix] [admin] PIP-259: Admin API can not work if uri too large

2023-04-06 Thread via GitHub
poorbarcode commented on PR #19514: URL: https://github.com/apache/pulsar/pull/19514#issuecomment-1499900570 /pulsarbot rerun-failure-checks -- 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

[GitHub] [pulsar] BewareMyPower commented on pull request #20037: [fix][broker] Check replication cluster before starting the replicator

2023-04-06 Thread via GitHub
BewareMyPower commented on PR #20037: URL: https://github.com/apache/pulsar/pull/20037#issuecomment-1499894825 Before this patch: ![20230407103236](https://user-images.githubusercontent.com/18204803/230535003-8bc211bf-c9c5-4e57-b49f-03f566045eab.jpg) After this patch:

[GitHub] [pulsar-client-node] shibd commented on pull request #314: docs: add typedoc to generate apidoc

2023-04-06 Thread via GitHub
shibd commented on PR #314: URL: https://github.com/apache/pulsar-client-node/pull/314#issuecomment-1499893701 > Perhaps I'll pick this change to branch-1.8 and generate the first API docs for hosting on our website. Yes, I'll plan to release v1.8.2 next week. After this is merged,

[GitHub] [pulsar] BewareMyPower opened a new pull request, #20037: [fix][broker] Check replication cluster before starting the replicator

2023-04-06 Thread via GitHub
BewareMyPower opened a new pull request, #20037: URL: https://github.com/apache/pulsar/pull/20037 Fixes https://github.com/apache/pulsar/issues/20010 ### Motivation `PersistentTopicTest.testCreateTopicWithZombieReplicatorCursor` is flaky because the cursor could still be

[GitHub] [pulsar-client-node] tisonkun commented on pull request #314: docs: add typedoc to generate apidoc

2023-04-06 Thread via GitHub
tisonkun commented on PR #314: URL: https://github.com/apache/pulsar-client-node/pull/314#issuecomment-1499890417 @BewareMyPower Make sense. I'll add one entry. Also I'll integrate this function to `apache/pulsar-siite/tools/pytools` and update the release guide (we should generate for

[GitHub] [pulsar] poorbarcode commented on a diff in pull request #19841: [fix] [broker] Fix infinite HTTP call getSubscriptions caused by wrong topicName

2023-04-06 Thread via GitHub
poorbarcode commented on code in PR #19841: URL: https://github.com/apache/pulsar/pull/19841#discussion_r1160405999 ## pulsar-common/src/main/java/org/apache/pulsar/common/naming/TopicName.java: ## @@ -231,7 +231,7 @@ public String getEncodedLocalName() { } public

[GitHub] [pulsar] poorbarcode commented on a diff in pull request #19841: [fix] [broker] Fix infinite HTTP call getSubscriptions caused by wrong topicName

2023-04-06 Thread via GitHub
poorbarcode commented on code in PR #19841: URL: https://github.com/apache/pulsar/pull/19841#discussion_r1160405999 ## pulsar-common/src/main/java/org/apache/pulsar/common/naming/TopicName.java: ## @@ -231,7 +231,7 @@ public String getEncodedLocalName() { } public

[GitHub] [pulsar] poorbarcode commented on a diff in pull request #19841: [fix] [broker] Fix infinite HTTP call getSubscriptions caused by wrong topicName

2023-04-06 Thread via GitHub
poorbarcode commented on code in PR #19841: URL: https://github.com/apache/pulsar/pull/19841#discussion_r1160405999 ## pulsar-common/src/main/java/org/apache/pulsar/common/naming/TopicName.java: ## @@ -231,7 +231,7 @@ public String getEncodedLocalName() { } public

[pulsar] branch branch-2.11 updated: Fix cherry-pick #19934 cause compile issue.

2023-04-06 Thread technoboy
This is an automated email from the ASF dual-hosted git repository. technoboy pushed a commit to branch branch-2.11 in repository https://gitbox.apache.org/repos/asf/pulsar.git The following commit(s) were added to refs/heads/branch-2.11 by this push: new c9ae4339a5c Fix cherry-pick #19934

[GitHub] [pulsar] poorbarcode commented on a diff in pull request #19841: [fix] [broker] Fix infinite HTTP call getSubscriptions caused by wrong topicName

2023-04-06 Thread via GitHub
poorbarcode commented on code in PR #19841: URL: https://github.com/apache/pulsar/pull/19841#discussion_r1160401769 ## pulsar-common/src/main/java/org/apache/pulsar/common/naming/TopicName.java: ## @@ -231,7 +231,7 @@ public String getEncodedLocalName() { } public

[GitHub] [pulsar-manager] tisonkun commented on issue #505: Starting Docker container pulsar-manager-0.3.0 with internal PostreSQL does not work

2023-04-06 Thread via GitHub
tisonkun commented on issue #505: URL: https://github.com/apache/pulsar-manager/issues/505#issuecomment-1499871402 @tuteng Out of curiosity, are you working on v0.3.1 release based on current master branch? -- This is an automated message from the Apache Git Service. To respond to the

[GitHub] [pulsar-manager] tuteng commented on issue #505: Starting Docker container pulsar-manager-0.3.0 with internal PostreSQL does not work

2023-04-06 Thread via GitHub
tuteng commented on issue #505: URL: https://github.com/apache/pulsar-manager/issues/505#issuecomment-1499870621

[GitHub] [pulsar] tisonkun commented on issue #20034: [Bug] pulsar-client-all build failures due to shaded sources

2023-04-06 Thread via GitHub
tisonkun commented on issue #20034: URL: https://github.com/apache/pulsar/issues/20034#issuecomment-1499852134 Cherry-picking the result to here for anyone who encounter similar issue: > Thanks for responding on the issues page. I found the root cause. There was a bad guava sources

[GitHub] [pulsar] codelipenghui commented on a diff in pull request #19841: [fix] [broker] Fix infinite HTTP call getSubscriptions caused by wrong topicName

2023-04-06 Thread via GitHub
codelipenghui commented on code in PR #19841: URL: https://github.com/apache/pulsar/pull/19841#discussion_r1160358589 ## pulsar-common/src/main/java/org/apache/pulsar/common/naming/TopicName.java: ## @@ -231,7 +231,7 @@ public String getEncodedLocalName() { } public

[GitHub] [pulsar] tisonkun commented on issue #20036: [Doc] color code

2023-04-06 Thread via GitHub
tisonkun commented on issue #20036: URL: https://github.com/apache/pulsar/issues/20036#issuecomment-1499840776 Hi @anguillanneuf! Thanks for reporting this issue. Since you click the "I'm willing to submit a PR!" box, I'll double-check that if you'll draw the diagram. This is not

[GitHub] [pulsar-client-cpp] BewareMyPower commented on a diff in pull request #230: [feat] Support consumer batch receive on C client.

2023-04-06 Thread via GitHub
BewareMyPower commented on code in PR #230: URL: https://github.com/apache/pulsar-client-cpp/pull/230#discussion_r1160378198 ## include/pulsar/c/consumer_configuration.h: ## @@ -304,6 +304,28 @@ PULSAR_PUBLIC void pulsar_consumer_configuration_set_start_message_id_inclusive(

[GitHub] [pulsar] github-actions[bot] commented on pull request #19372: [fix][broker] Fix function-go can't auto ack (#19367)

2023-04-06 Thread via GitHub
github-actions[bot] commented on PR #19372: URL: https://github.com/apache/pulsar/pull/19372#issuecomment-1499837731 The pr had no activity for 30 days, mark with Stale label. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub

[GitHub] [pulsar] github-actions[bot] commented on issue #19448: PIP-245: Make subscriptions of NonPersistentTopic non-durable

2023-04-06 Thread via GitHub
github-actions[bot] commented on issue #19448: URL: https://github.com/apache/pulsar/issues/19448#issuecomment-1499837609 The issue had no activity for 30 days, mark with Stale label. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to

[GitHub] [pulsar] github-actions[bot] commented on issue #19664: Support custom properties for Tenants and Namespaces

2023-04-06 Thread via GitHub
github-actions[bot] commented on issue #19664: URL: https://github.com/apache/pulsar/issues/19664#issuecomment-1499837119 The issue had no activity for 30 days, mark with Stale label. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to

[GitHub] [pulsar] github-actions[bot] commented on issue #19740: [Bug] Starting pulsar standalone in Docker on an ARM mac fails to start up roughly half the time

2023-04-06 Thread via GitHub
github-actions[bot] commented on issue #19740: URL: https://github.com/apache/pulsar/issues/19740#issuecomment-1499836469 The issue had no activity for 30 days, mark with Stale label. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to

[GitHub] [pulsar] github-actions[bot] commented on issue #19739: [Bug] DLQ explicit set of topic name create it in public(tenant)/default(namespace)

2023-04-06 Thread via GitHub
github-actions[bot] commented on issue #19739: URL: https://github.com/apache/pulsar/issues/19739#issuecomment-1499836891 The issue had no activity for 30 days, mark with Stale label. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to

[GitHub] [pulsar-client-cpp] BewareMyPower commented on a diff in pull request #230: [feat] Support consumer batch receive on C client.

2023-04-06 Thread via GitHub
BewareMyPower commented on code in PR #230: URL: https://github.com/apache/pulsar-client-cpp/pull/230#discussion_r1160375148 ## include/pulsar/c/consumer_configuration.h: ## @@ -304,6 +304,28 @@ PULSAR_PUBLIC void pulsar_consumer_configuration_set_start_message_id_inclusive(

[GitHub] [pulsar] tisonkun commented on pull request #20016: [feat][sql] Bump Trino version to 368 and fix Decimal breaking change

2023-04-06 Thread via GitHub
tisonkun commented on PR #20016: URL: https://github.com/apache/pulsar/pull/20016#issuecomment-1499830318 @merlimat @Technoboy- This patch should be ready to review. The only failed CI is about Spring dep CVE. We actually filter out all pulsar-sql when running OWASP so it should be

[pulsar-site] branch main updated: Docs sync done from apache/pulsar (#42a6969)

2023-04-06 Thread urfree
This is an automated email from the ASF dual-hosted git repository. urfree pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/pulsar-site.git The following commit(s) were added to refs/heads/main by this push: new 0f78152e200 Docs sync done from apache/pulsar

[GitHub] [pulsar-client-cpp] shibd commented on a diff in pull request #230: [feat] Support consumer batch receive on C client.

2023-04-06 Thread via GitHub
shibd commented on code in PR #230: URL: https://github.com/apache/pulsar-client-cpp/pull/230#discussion_r1160365729 ## include/pulsar/c/consumer_configuration.h: ## @@ -304,6 +304,28 @@ PULSAR_PUBLIC void pulsar_consumer_configuration_set_start_message_id_inclusive(

[GitHub] [pulsar-manager] Zand3r24 commented on issue #505: Starting Docker container pulsar-manager-0.3.0 with internal PostreSQL does not work

2023-04-06 Thread via GitHub
Zand3r24 commented on issue #505: URL: https://github.com/apache/pulsar-manager/issues/505#issuecomment-1499753391 Just wanted to say I'm also hitting this, and waiting for a new image to be built with the fix. -- This is an automated message from the Apache Git Service. To respond to

[GitHub] [pulsar] anguillanneuf opened a new issue, #20036: [Doc] color code

2023-04-06 Thread via GitHub
anguillanneuf opened a new issue, #20036: URL: https://github.com/apache/pulsar/issues/20036 ### Search before asking - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar. ### What issue do you find in Pulsar docs?

[GitHub] [pulsar-site] Apurva007 commented on pull request #473: [fix][doc] Remove non-global keyword for partition increase in topics

2023-04-06 Thread via GitHub
Apurva007 commented on PR #473: URL: https://github.com/apache/pulsar-site/pull/473#issuecomment-1499680896 @tisonkun/ @syk-coder I have made the requested changes. PR to apache/pulsar for the code related changes: https://github.com/apache/pulsar/pull/20035 Please let me know if

[GitHub] [pulsar] Apurva007 opened a new pull request, #20035: [Fix][Doc] Update docs for Partition increase command

2023-04-06 Thread via GitHub
Apurva007 opened a new pull request, #20035: URL: https://github.com/apache/pulsar/pull/20035 Fixes #17878 ### Motivation The Pulsar documentation currently states that partition update works only for non-global topics. This statement seems to be incorrect as per

[GitHub] [pulsar] codecov-commenter commented on pull request #20016: [feat][sql] Bump Trino version to 368 and fix Decimal breaking change

2023-04-06 Thread via GitHub
codecov-commenter commented on PR #20016: URL: https://github.com/apache/pulsar/pull/20016#issuecomment-1499636130 ## [Codecov](https://codecov.io/gh/apache/pulsar/pull/20016?src=pr=h1_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation)

[GitHub] [pulsar] Apurva007 closed issue #20034: [Bug] pulsar-client-all build failures due to shaded sources

2023-04-06 Thread via GitHub
Apurva007 closed issue #20034: [Bug] pulsar-client-all build failures due to shaded sources URL: https://github.com/apache/pulsar/issues/20034 -- 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

[GitHub] [pulsar] Apurva007 commented on issue #20034: [Bug] pulsar-client-all build failures due to shaded sources

2023-04-06 Thread via GitHub
Apurva007 commented on issue #20034: URL: https://github.com/apache/pulsar/issues/20034#issuecomment-1499605505 @tisonkun Thanks for the response. Thats interesting. The sources jar actually did not exist before the build. It was created after I ran the maven build and then failed. It is

[GitHub] [pulsar] tisonkun commented on issue #20034: [Bug] pulsar-client-all build failures due to shaded sources

2023-04-06 Thread via GitHub
tisonkun commented on issue #20034: URL: https://github.com/apache/pulsar/issues/20034#issuecomment-1499553870 Hi @Apurva007! I can build the whole project on the current master f568c8f49828be42b8a7e81abea45a80cf4f93f4 with: ``` ./mvnw clean install -DskipTests ``` For

[GitHub] [pulsar] tisonkun commented on issue #20034: [Bug] pulsar-client-all build failures due to shaded sources

2023-04-06 Thread via GitHub
tisonkun commented on issue #20034: URL: https://github.com/apache/pulsar/issues/20034#issuecomment-1499553688 Hi @Apurva007! I can build the whole project on the current master f568c8f49828be42b8a7e81abea45a80cf4f93f4 with: ``` ./mvnw clean install -DskipTests ``` For

[GitHub] [pulsar] Apurva007 commented on issue #20034: [Bug] pulsar-client-all build failures due to shaded sources

2023-04-06 Thread via GitHub
Apurva007 commented on issue #20034: URL: https://github.com/apache/pulsar/issues/20034#issuecomment-1499548737 @tisonkun / @eolivelli Please can you clarify if you faced this issue? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to

[GitHub] [pulsar] Apurva007 opened a new issue, #20034: [Bug] pulsar-client-all build failures due to shaded sources

2023-04-06 Thread via GitHub
Apurva007 opened a new issue, #20034: URL: https://github.com/apache/pulsar/issues/20034 ### Search before asking - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar. ### Version Mac OS: Ventura 13.2.1 Pulsar

[GitHub] [pulsar] michaeljmarshall commented on a diff in pull request #19975: [refactor][fn] Use AuthorizationServer more in Function Worker API

2023-04-06 Thread via GitHub
michaeljmarshall commented on code in PR #19975: URL: https://github.com/apache/pulsar/pull/19975#discussion_r1160188680 ## pulsar-functions/worker/src/main/java/org/apache/pulsar/functions/worker/rest/api/WorkerImpl.java: ## @@ -131,33 +125,45 @@ public Map>

[GitHub] [pulsar] michaeljmarshall commented on a diff in pull request #19975: [refactor][fn] Use AuthorizationServer more in Function Worker API

2023-04-06 Thread via GitHub
michaeljmarshall commented on code in PR #19975: URL: https://github.com/apache/pulsar/pull/19975#discussion_r1160162920 ## pulsar-functions/worker/src/main/java/org/apache/pulsar/functions/worker/service/api/Component.java: ## Review Comment: Removing them. -- This is

[GitHub] [pulsar] michaeljmarshall commented on a diff in pull request #19975: [refactor][fn] Use AuthorizationServer more in Function Worker API

2023-04-06 Thread via GitHub
michaeljmarshall commented on code in PR #19975: URL: https://github.com/apache/pulsar/pull/19975#discussion_r1160161760 ## pulsar-broker-common/src/main/java/org/apache/pulsar/broker/authentication/Authentication.java: ## @@ -0,0 +1,67 @@ +/* + * Licensed to the Apache

[GitHub] [pulsar] lhotari commented on a diff in pull request #19975: [refactor][fn] Use AuthorizationServer more in Function Worker API

2023-04-06 Thread via GitHub
lhotari commented on code in PR #19975: URL: https://github.com/apache/pulsar/pull/19975#discussion_r1160110139 ## pulsar-functions/worker/src/main/java/org/apache/pulsar/functions/worker/service/api/Component.java: ## Review Comment: the default implementations for the

[GitHub] [pulsar] lhotari commented on a diff in pull request #19975: [refactor][fn] Use AuthorizationServer more in Function Worker API

2023-04-06 Thread via GitHub
lhotari commented on code in PR #19975: URL: https://github.com/apache/pulsar/pull/19975#discussion_r1160109325 ## pulsar-functions/worker/src/main/java/org/apache/pulsar/functions/worker/service/api/Component.java: ## Review Comment: please remove the `@Deprecated`

[GitHub] [pulsar] lhotari commented on a diff in pull request #19975: [refactor][fn] Use AuthorizationServer more in Function Worker API

2023-04-06 Thread via GitHub
lhotari commented on code in PR #19975: URL: https://github.com/apache/pulsar/pull/19975#discussion_r1160098813 ## pulsar-functions/worker/src/main/java/org/apache/pulsar/functions/worker/service/api/Component.java: ## Review Comment: This change is a breaking change to

[GitHub] [pulsar] poorbarcode opened a new issue, #20033: PIP-263: Just auto-create no-partitioned DLQ And Prevent auto-create a DLQ for a DLQ

2023-04-06 Thread via GitHub
poorbarcode opened a new issue, #20033: URL: https://github.com/apache/pulsar/issues/20033 ### Motivation Just auto-create no-partitioned DLQ/Retry Topic If enabled the config `allowAutoTopicCreation,` Pulsar will auto-create a topic when the client loads it; After setting

[GitHub] [pulsar] lhotari commented on a diff in pull request #19975: [refactor][fn] Use AuthorizationServer more in Function Worker API

2023-04-06 Thread via GitHub
lhotari commented on code in PR #19975: URL: https://github.com/apache/pulsar/pull/19975#discussion_r1160093628 ## pulsar-functions/worker/src/main/java/org/apache/pulsar/functions/worker/rest/api/WorkerImpl.java: ## @@ -131,33 +125,45 @@ public Map> getAssignments(String

[GitHub] [pulsar] lhotari commented on a diff in pull request #19975: [refactor][fn] Use AuthorizationServer more in Function Worker API

2023-04-06 Thread via GitHub
lhotari commented on code in PR #19975: URL: https://github.com/apache/pulsar/pull/19975#discussion_r1160093628 ## pulsar-functions/worker/src/main/java/org/apache/pulsar/functions/worker/rest/api/WorkerImpl.java: ## @@ -131,33 +125,45 @@ public Map> getAssignments(String

[GitHub] [pulsar] lhotari commented on a diff in pull request #19975: [refactor][fn] Use AuthorizationServer more in Function Worker API

2023-04-06 Thread via GitHub
lhotari commented on code in PR #19975: URL: https://github.com/apache/pulsar/pull/19975#discussion_r1160087448 ## pulsar-broker-common/src/main/java/org/apache/pulsar/broker/authentication/Authentication.java: ## @@ -0,0 +1,67 @@ +/* + * Licensed to the Apache Software

[GitHub] [pulsar] devinbost commented on issue #14861: Broker OOM when the bookie is slowly to respond and AQ is smaller than WQ

2023-04-06 Thread via GitHub
devinbost commented on issue #14861: URL: https://github.com/apache/pulsar/issues/14861#issuecomment-1499391235 If a bookie is slow, if enough bookies are available, will the broker automatically write to another bookie? It sounds like the workaround is to have (total bookies + N) > WQ

[GitHub] [pulsar] tisonkun commented on pull request #20016: [feat][sql] Bump Trino version to 368 and fix Decimal breaking change

2023-04-06 Thread via GitHub
tisonkun commented on PR #20016: URL: https://github.com/apache/pulsar/pull/20016#issuecomment-1499352895 Still some compatibility issue. Convert to draft for now. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the

[GitHub] [pulsar] heesung-sn commented on pull request #15264: [improve][build] PIP-156 Build Pulsar Server on Java 17

2023-04-06 Thread via GitHub
heesung-sn commented on PR #15264: URL: https://github.com/apache/pulsar/pull/15264#issuecomment-1499317178 Fixed one module: https://github.com/apache/pulsar/pull/19991 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use

[GitHub] [pulsar] poorbarcode commented on a diff in pull request #20025: [fix] [broker] Remove the repl cursor if the creation fails and the replication is turned off

2023-04-06 Thread via GitHub
poorbarcode commented on code in PR #20025: URL: https://github.com/apache/pulsar/pull/20025#discussion_r1159997182 ## pulsar-broker/src/test/java/org/apache/pulsar/broker/service/persistent/PersistentTopicTest.java: ## @@ -558,10 +559,10 @@ public void

[GitHub] [pulsar] BewareMyPower commented on a diff in pull request #20025: [fix] [broker] Remove the repl cursor if the creation fails and the replication is turned off

2023-04-06 Thread via GitHub
BewareMyPower commented on code in PR #20025: URL: https://github.com/apache/pulsar/pull/20025#discussion_r1159990610 ## pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentTopic.java: ## @@ -1706,37 +1706,54 @@ private CompletableFuture

[GitHub] [pulsar] BewareMyPower commented on a diff in pull request #20025: [fix] [broker] Remove the repl cursor if the creation fails and the replication is turned off

2023-04-06 Thread via GitHub
BewareMyPower commented on code in PR #20025: URL: https://github.com/apache/pulsar/pull/20025#discussion_r1159988483 ## pulsar-broker/src/test/java/org/apache/pulsar/broker/service/persistent/PersistentTopicTest.java: ## @@ -558,10 +559,10 @@ public void

[GitHub] [pulsar-site] jak78 commented on pull request #504: [improve][doc] relocate "Get Started" (pulsar-admin) to admin API and correct inaccurate descriptions

2023-04-06 Thread via GitHub
jak78 commented on PR #504: URL: https://github.com/apache/pulsar-site/pull/504#issuecomment-1499266595 LGTM, 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. To

[GitHub] [pulsar-site] congbobo184 commented on a diff in pull request #501: [feat][doc] Add Get Started for TXN

2023-04-06 Thread via GitHub
congbobo184 commented on code in PR #501: URL: https://github.com/apache/pulsar-site/pull/501#discussion_r1159947724 ## docs/txn-advanced-features.md: ## @@ -0,0 +1,45 @@ +--- +id: txn-advanced-features +title: Advanced features +sidebar_label: "Advanced features" +--- + +You

[GitHub] [pulsar] congbobo184 opened a new pull request, #20032: [fix][client] Fix client redeliver epoch bigger than broker consumer epoch

2023-04-06 Thread via GitHub
congbobo184 opened a new pull request, #20032: URL: https://github.com/apache/pulsar/pull/20032 Master Issue: Fixes client redeliver epoch bigger than broker consumer epoch. Now redeliver method exists above race condition: 1. consumer reconnects

[GitHub] [pulsar-client-cpp] BewareMyPower commented on a diff in pull request #230: [feat] Support consumer batch receive on C client.

2023-04-06 Thread via GitHub
BewareMyPower commented on code in PR #230: URL: https://github.com/apache/pulsar-client-cpp/pull/230#discussion_r1159902706 ## include/pulsar/c/consumer_configuration.h: ## @@ -304,6 +304,28 @@ PULSAR_PUBLIC void pulsar_consumer_configuration_set_start_message_id_inclusive(

[pulsar] branch branch-2.11 updated: [fix][broker] Return if AbstractDispatcherSingleActiveConsumer closed (#19934)

2023-04-06 Thread technoboy
This is an automated email from the ASF dual-hosted git repository. technoboy pushed a commit to branch branch-2.11 in repository https://gitbox.apache.org/repos/asf/pulsar.git The following commit(s) were added to refs/heads/branch-2.11 by this push: new 644c6e43813 [fix][broker] Return

[GitHub] [pulsar-client-cpp] BewareMyPower commented on pull request #236: Speed up the process to start standalone for tests

2023-04-06 Thread via GitHub
BewareMyPower commented on PR #236: URL: https://github.com/apache/pulsar-client-cpp/pull/236#issuecomment-1499163053 When I tried to write shell scripts for `pulsar-shell`, I found it's hard to split it into two lines. For example, I met the following error: ``` [5/29] ? admin

[GitHub] [pulsar] BewareMyPower commented on pull request #20025: [fix] [broker] Remove the repl cursor if the creation fails and the replication is turned off

2023-04-06 Thread via GitHub
BewareMyPower commented on PR #20025: URL: https://github.com/apache/pulsar/pull/20025#issuecomment-1499106385 Here is a failure from my local env: [failure.log](https://github.com/apache/pulsar/files/11171288/failure.log) -- This is an automated message from the Apache Git Service.

[GitHub] [pulsar] poorbarcode opened a new pull request, #20031: [fix] [cli] fix too much memory used by pulsar tools

2023-04-06 Thread via GitHub
poorbarcode opened a new pull request, #20031: URL: https://github.com/apache/pulsar/pull/20031 ### Motivation After #15868, we allow `PULSAR_MEM` & `PULSAR_GC` to be overridden in `pulsar_tool_env.sh`. Many users set `-Xms` to `1G` or larger. This will make the tools cost a lot memory.

[GitHub] [pulsar] poorbarcode commented on pull request #20025: [fix] [broker] Remove the repl cursor if the creation fails and the replication is turned off

2023-04-06 Thread via GitHub
poorbarcode commented on PR #20025: URL: https://github.com/apache/pulsar/pull/20025#issuecomment-1499101137 > Could you also change the title? The PR title is duplicated with https://github.com/apache/pulsar/pull/19972. Done -- This is an automated message from the Apache Git

[GitHub] [pulsar] Technoboy- merged pull request #19934: [fix][broker] Return if AbstractDispatcherSingleActiveConsumer closed

2023-04-06 Thread via GitHub
Technoboy- merged PR #19934: URL: https://github.com/apache/pulsar/pull/19934 -- 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. To unsubscribe, e-mail:

[pulsar] branch master updated (067e3c038ed -> 42a6969efc8)

2023-04-06 Thread technoboy
This is an automated email from the ASF dual-hosted git repository. technoboy pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/pulsar.git from 067e3c038ed [feat][fn] PIP-257: Support mounting k8s ServiceAccount for OIDC auth (#19888) add 42a6969efc8

[GitHub] [pulsar] michaeljmarshall merged pull request #19888: [feat][fn] PIP-257: Support mounting k8s ServiceAccount for OIDC auth

2023-04-06 Thread via GitHub
michaeljmarshall merged PR #19888: URL: https://github.com/apache/pulsar/pull/19888 -- 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. To unsubscribe, e-mail:

[pulsar] branch master updated: [feat][fn] PIP-257: Support mounting k8s ServiceAccount for OIDC auth (#19888)

2023-04-06 Thread mmarshall
This is an automated email from the ASF dual-hosted git repository. mmarshall 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 067e3c038ed [feat][fn] PIP-257: Support

[GitHub] [pulsar] BewareMyPower commented on pull request #20025: [fix] [broker] Ignore and remove the replicator cursor when the remote cluster is absent

2023-04-06 Thread via GitHub
BewareMyPower commented on PR #20025: URL: https://github.com/apache/pulsar/pull/20025#issuecomment-1499088792 @poorbarcode Could you also change the title? The PR title is duplicated with https://github.com/apache/pulsar/pull/19972. -- This is an automated message from the Apache

[GitHub] [pulsar] poorbarcode commented on a diff in pull request #20025: [fix] [broker] Ignore and remove the replicator cursor when the remote cluster is absent

2023-04-06 Thread via GitHub
poorbarcode commented on code in PR #20025: URL: https://github.com/apache/pulsar/pull/20025#discussion_r1159785692 ## pulsar-broker/src/test/java/org/apache/pulsar/broker/service/persistent/PersistentTopicTest.java: ## @@ -577,15 +586,21 @@ public void

[GitHub] [pulsar] gaoran10 opened a new pull request, #20030: [fix][metrics] Fix the reason label of authentication metrics

2023-04-06 Thread via GitHub
gaoran10 opened a new pull request, #20030: URL: https://github.com/apache/pulsar/pull/20030 ### Motivation The `reason` label of authentication metrics is a potential infinity string. ### Modifications Add an enum class `ErrorCode` for Pulsar authentication, it

[GitHub] [pulsar] poorbarcode commented on a diff in pull request #20025: [fix] [broker] Ignore and remove the replicator cursor when the remote cluster is absent

2023-04-06 Thread via GitHub
poorbarcode commented on code in PR #20025: URL: https://github.com/apache/pulsar/pull/20025#discussion_r1159775613 ## pulsar-broker/src/test/java/org/apache/pulsar/broker/service/persistent/PersistentTopicTest.java: ## @@ -558,10 +559,18 @@ public void

[GitHub] [pulsar] poorbarcode commented on a diff in pull request #20025: [fix] [broker] Ignore and remove the replicator cursor when the remote cluster is absent

2023-04-06 Thread via GitHub
poorbarcode commented on code in PR #20025: URL: https://github.com/apache/pulsar/pull/20025#discussion_r1159775220 ## pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentTopic.java: ## @@ -1706,37 +1706,53 @@ private CompletableFuture

[GitHub] [pulsar] BewareMyPower commented on a diff in pull request #20025: [fix] [broker] Ignore and remove the replicator cursor when the remote cluster is absent

2023-04-06 Thread via GitHub
BewareMyPower commented on code in PR #20025: URL: https://github.com/apache/pulsar/pull/20025#discussion_r1159773408 ## pulsar-broker/src/test/java/org/apache/pulsar/broker/service/persistent/PersistentTopicTest.java: ## @@ -577,15 +586,21 @@ public void

[GitHub] [pulsar] poorbarcode commented on a diff in pull request #20025: [fix] [broker] Ignore and remove the replicator cursor when the remote cluster is absent

2023-04-06 Thread via GitHub
poorbarcode commented on code in PR #20025: URL: https://github.com/apache/pulsar/pull/20025#discussion_r1159772007 ## pulsar-broker/src/test/java/org/apache/pulsar/broker/service/persistent/PersistentTopicTest.java: ## @@ -577,15 +586,21 @@ public void

[GitHub] [pulsar] poorbarcode commented on a diff in pull request #20025: [fix] [broker] Ignore and remove the replicator cursor when the remote cluster is absent

2023-04-06 Thread via GitHub
poorbarcode commented on code in PR #20025: URL: https://github.com/apache/pulsar/pull/20025#discussion_r1159767988 ## pulsar-broker/src/test/java/org/apache/pulsar/broker/service/persistent/PersistentTopicTest.java: ## @@ -577,15 +586,21 @@ public void

[GitHub] [pulsar] poorbarcode commented on a diff in pull request #20025: [fix] [broker] Ignore and remove the replicator cursor when the remote cluster is absent

2023-04-06 Thread via GitHub
poorbarcode commented on code in PR #20025: URL: https://github.com/apache/pulsar/pull/20025#discussion_r1159767988 ## pulsar-broker/src/test/java/org/apache/pulsar/broker/service/persistent/PersistentTopicTest.java: ## @@ -577,15 +586,21 @@ public void

[GitHub] [pulsar] poorbarcode commented on a diff in pull request #20025: [fix] [broker] Ignore and remove the replicator cursor when the remote cluster is absent

2023-04-06 Thread via GitHub
poorbarcode commented on code in PR #20025: URL: https://github.com/apache/pulsar/pull/20025#discussion_r1159765202 ## pulsar-broker/src/test/java/org/apache/pulsar/broker/service/persistent/PersistentTopicTest.java: ## @@ -577,15 +586,21 @@ public void

[GitHub] [pulsar] lifepuzzlefun closed issue #18549: [Bug] [ml] ManagedLedger missing check all pendingReadOps timeout.

2023-04-06 Thread via GitHub
lifepuzzlefun closed issue #18549: [Bug] [ml] ManagedLedger missing check all pendingReadOps timeout. URL: https://github.com/apache/pulsar/issues/18549 -- 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

[GitHub] [pulsar] BewareMyPower commented on pull request #20025: [fix] [broker] Ignore and remove the replicator cursor when the remote cluster is absent

2023-04-06 Thread via GitHub
BewareMyPower commented on PR #20025: URL: https://github.com/apache/pulsar/pull/20025#issuecomment-1499015526 I've fixed it locally. I will open another PR to test. ![image](https://user-images.githubusercontent.com/18204803/230383226-b0afec08-5b53-4f8f-b5d4-6632d1ef75c4.png)

[GitHub] [pulsar] lhotari opened a new pull request, #20029: [fix][sec] Upgrade Spring dependency to 5.3.26 to fix OWASP Dependency Check

2023-04-06 Thread via GitHub
lhotari opened a new pull request, #20029: URL: https://github.com/apache/pulsar/pull/20029 ### Motivation OWASP Dependency Check is failing with this error: ``` Error: One or more dependencies were identified with vulnerabilities that have a CVSS score greater than or equal

[GitHub] [pulsar] BewareMyPower commented on a diff in pull request #20025: [fix] [broker] Ignore and remove the replicator cursor when the remote cluster is absent

2023-04-06 Thread via GitHub
BewareMyPower commented on code in PR #20025: URL: https://github.com/apache/pulsar/pull/20025#discussion_r1159737049 ## pulsar-broker/src/test/java/org/apache/pulsar/broker/service/persistent/PersistentTopicTest.java: ## @@ -577,15 +586,21 @@ public void

[GitHub] [pulsar] lhotari commented on a diff in pull request #20025: [fix] [broker] Ignore and remove the replicator cursor when the remote cluster is absent

2023-04-06 Thread via GitHub
lhotari commented on code in PR #20025: URL: https://github.com/apache/pulsar/pull/20025#discussion_r1159734893 ## pulsar-broker/src/test/java/org/apache/pulsar/broker/service/persistent/PersistentTopicTest.java: ## @@ -558,10 +559,18 @@ public void

[GitHub] [pulsar] lhotari commented on a diff in pull request #20025: [fix] [broker] Ignore and remove the replicator cursor when the remote cluster is absent

2023-04-06 Thread via GitHub
lhotari commented on code in PR #20025: URL: https://github.com/apache/pulsar/pull/20025#discussion_r1159734893 ## pulsar-broker/src/test/java/org/apache/pulsar/broker/service/persistent/PersistentTopicTest.java: ## @@ -558,10 +559,18 @@ public void

[GitHub] [pulsar] csthomas1 commented on pull request #19584: [fix][fn] Make KubernetesRuntime translate characters in function tenant, namespace, and name during function removal to avoid label error

2023-04-06 Thread via GitHub
csthomas1 commented on PR #19584: URL: https://github.com/apache/pulsar/pull/19584#issuecomment-1498987410 Sure! On Wed, Apr 5, 2023 at 3:24 AM Nicolò Boschi ***@***.***> wrote: > ***@***. requested changes on this pull request. > > good catch! would you mind to

[GitHub] [pulsar] lhotari commented on a diff in pull request #20025: [fix] [broker] Ignore and remove the replicator cursor when the remote cluster is absent

2023-04-06 Thread via GitHub
lhotari commented on code in PR #20025: URL: https://github.com/apache/pulsar/pull/20025#discussion_r1159733044 ## pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentTopic.java: ## @@ -1706,37 +1706,53 @@ private CompletableFuture

[GitHub] [pulsar] lhotari commented on a diff in pull request #20025: [fix] [broker] Ignore and remove the replicator cursor when the remote cluster is absent

2023-04-06 Thread via GitHub
lhotari commented on code in PR #20025: URL: https://github.com/apache/pulsar/pull/20025#discussion_r1159728548 ## pulsar-broker/src/test/java/org/apache/pulsar/broker/service/persistent/PersistentTopicTest.java: ## @@ -577,15 +586,21 @@ public void

  1   2   >