[VOTE] [PIP-169] Support split bundle by flow or qps

2022-08-23 Thread lordcheng10
Hi Pulsar Community, I would like to start a VOTE on "Support split bundle by 
flow or qps."(PIP-169)
Here is the design 
detail  https://github.com/apache/pulsar/issues/16782 ;


and the discussion 
thread https://lists.apache.org/thread/cshyt10fwcjjxs93g8yf0svgwcgnshmg ;
 

Thanks, 

lordcheng10

[VOTE] [PIP-169] Support split bundle by flow or qps

2022-08-23 Thread lordcheng10
Hi Pulsar Community, I would like to start a VOTE on "Support split bundle by 
flow or qps."(PIP-169)
Here is the design detail: https://github.com/apache/pulsar/issues/16782


and the discussion thread: 
https://lists.apache.org/thread/cshyt10fwcjjxs93g8yf0svgwcgnshmg


Thanks,
lordcheng10

Re: [Discuss][PIP-164] Support split bundle by flow or qps

2022-08-23 Thread PengHui Li
It's a good idea to improve the bundle split for the case that the traffic
of the topic doesn't change drastically
Otherwise, we should not use this policy. or can we use it for all cases?
I think It should be documented in the proposal.

I have some questions

- do we need to consider the consumer rate
- the `flow or qps` is based on the entries or messages?
  IMO, based on the entries and throughput is more reasonable. Usually, the
entry rate affects the CPU usage, the throughput affects the network usage.

Thanks,
Penghui

On Mon, Aug 22, 2022 at 3:53 PM lordcheng10 <1572139...@qq.com.invalid>
wrote:

> The implementation logic has been modified, and the corresponding example
> has also been modified as follows:
>
>
> ## Motivation
> As we all know, Bundle split has 3 algorithms:
> - range_equally_divide
> - topic_count_equally_divide
> - specified_positions_divide
>
>
> However, none of these algorithms can divide bundles according to flow or
> qps, which may cause bundles to be split multiple times.
>
>
> ## Goal
> Our goal is to split bundles according to flow or QPS, so we propose a PIP
> to introduce a split algorithm based on flow or QPS.
> The main idea is that we can get the flow or qps information of a topic
> contained in a bundle,
> then split according to loadBalancerNamespaceBundleMaxMsgRate or
> loadBalancerNamespaceBundleMaxBandwidthMbytes configuration
>
>
> For example, there is bundle with boundaries 0x to 0x0200, and
> six topics : t1 , t2 , t3 , t4, t5, t6.
> loadBalancerNamespaceBundleMaxMsgRate=1100
> loadBalancerNamespaceBundleMaxBandwidthMbytes=110
>
>
> **Step 1: Get their hash position and corresponding flow and QPS:**
>
>
> > t1 with hashcode 10 msgRate 100/s throughput 10M/s
> >
> > t2 with hashcode 20 msgRate 200/s throughput 20M/s
> >
> > t3 with hashcode 80 msgRate 300/s throughput 30M/s
> >
> > t4 with hashcode 90 msgRate 400/s throughput 40M/s
> >
> > t5 with hashcode 100 msgRate 500/s throughput 50M/s
> >
> > t6 with hashcode 110 msgRate 600/s throughput 60M/s
>
>
>
>
> **Step 2: Calculate the total flow and qps of the bundle:**
>
>
> > bundleMsgRate = 100 + 200 + 300 + 400 + 500 + 600 = 2100
> > bundleThroughput = 10 + 20 + 30 + 40 + 50 + 60 = 210MB
>
>
> **Step 3: Calculate the position to split and split:**
>
>
> > QPS: (100 + 200 + 300 + 400 ) <
> loadBalancerNamespaceBundleMaxMsgRate=1100 & (100+200+300+400+500) >
> loadBalancerNamespaceBundleMaxMsgRate=1100
> > flow: (10 + 20 + 30 + 40 ) <
> loadBalancerNamespaceBundleMaxBandwidthMbytes=110 & (10 + 20 + 30 + 40
> + 50 ) > loadBalancerNamespaceBundleMaxBandwidthMbytes=110
> >
> > Split between t4 and t5:
> > splitStartPosition = 90
> > splitEndPosition = 100
> > splitPosition = (90 + 100) / 2 = 95
>
>
>
>
> ## API Changes
>
>
> 1. Add a split algorithm class based on flow or qps:
>
>
> `public class FlowOrQpsEquallyDivideBundleSplitAlgorithm implements
> NamespaceBundleSplitAlgorithm `
>
>
> 2. update the default configuration:
> ```
> private List Lists.newArrayList("range_equally_divide", "topic_count_equally_divide",
>    "specified_positions_divide", "flow_count_equally_divide");
> ```
> 3. added configuration
> ```
> @FieldContext(
>         dynamic = true,
>         category = CATEGORY_LOAD_BALANCER,
>         doc = "Acceptable difference between qps and
> loadBalancerNamespaceBundleMaxMsgRate "
>                 + " or flow and
> loadBalancerNamespaceBundleMaxBandwidthMbytes "
> )
> private int flowOrQpsDifferenceThresholdPercentage = 10;
> ```
>
>
>
>
> ## Implementation
> The execution steps of the
> FlowOrQpsEquallyDivideBundleSplitAlgorithm#getSplitBoundary method are as
> follows:
> 1. Get the hash position of each topic and the corresponding msgRate and
> msgThroughput, and sort them according to the position size:
>
>
> ```
> List Map Map ```
>
>
> 2. According to the topic hash position, traverse all topics from small to
> large,
> and split the bundle according to the configured
> loadBalancerNamespaceBundleMaxMsgRate or
> loadBalancerNamespaceBundleMaxBandwidthMbytes:
>
>
> ```
>   double bundleMsgRateTmp = 0;
>   double bundleThroughputTmp = 0;
>   for (int i = 0; i < topicNameHashList.size(); i++) {
>       long topicHashCode = topicNameHashList.get(i);
>       bundleThroughputTmp +=
> hashAndThroughput.get(topicHashCode);
>       bundleMsgRateTmp += hashAndMsgMap.get(topicHashCode);
>
>
>       if (bundleMsgRateTmp >
> loadBalancerNamespaceBundleMaxMsgRate
>             || bundleThroughputTmp >
> loadBalancerNamespaceBundleMaxBandwidthBytes) {
>             long splitStart = i > 0 ?
> topicNameHashList.get(i - 1) : topicHashCode;
>             long splitEnd = i > 0 ?
> topicHashCode : topicNameHashList.get(i + 1);
>             long splitMiddle = splitStart +
> (splitEnd - splitStart) / 2;
>             splitResults.add(splitMiddle);
>             bundleMsgRateTmp = 
> hashAndMsgMap.get(topicHashCode);
>             bundleThroughputTmp =
> hashAndThroughput.get(topicHashCode);
>     

[DISCUSS] Create a robust and inline Client Feature Matrix page

2022-08-23 Thread Jun Ma
Hi, Pulsar community,

As you may notice, the Client Feature Matrix [0] has been linked on the Pulsar 
doc site [1] for quite a while, providing an overview of feature supportability 
on language-specific clients. As the outcome of PIP-108, it has addressed the 
initial community request [2] for technology evaluation and selection.

However, it has the following limitations to continually serving the purpose 
over time:
1. Visibility: Not prominent for users/maintainers to notice it.
2. Process: No required review/approval or version control.
3. Accuracy: A bit out-of-dated with limited chances to get it updated 
(possibly caused by 1&2).

To make it more robust and prominent to better serve the adoption purpose, I 
think we can make the following improvements:
1. Deliver a more robust Client Feature Matrix and required documentation 
through a thorough review and update.
2. Move the matrix to the Pulsar repo and display it inline on a web page. 
Refer to this reference [3].

A quick question is about the granularity of the feature sets presented in the 
new matrix.
Generally, we have two options:
1. Display a full version as we do in the existing feature matrix to provide 
more detailed tech capabilities.
2. Display a compact version with high-level features to provide better 
readability.

Feel free to share your thoughts.


[0] 
https://docs.google.com/spreadsheets/d/1YHYTkIXR8-Ql103u-IMI18TXLlGStK8uJjDsOOA0T20/edit?usp=sharing
[1] https://pulsar.apache.org/docs/next/client-libraries#feature-matrix
[2] https://github.com/apache/pulsar/issues/9723
[3] 
https://beam.apache.org/documentation/runners/capability-matrix/when-in-processing-time/



Cheers,
momo-jun


[GitHub] [pulsar] Nintorac created a discussion: Presto connector schema issue

2022-08-23 Thread GitBox


GitHub user Nintorac created a discussion: Presto connector schema issue

Hey :)

I am trying to query my datastream and I get the following

```
presto> select * from pulsar."public/default"."avro-schema-topic" limit 10;
Query 20220823_084000_00014_2f95a failed: Failed to get pulsar topic schema 
information for topic persistent://public/default/avro-schema-topic: null
```

my schema is defined like this
```

class SubmissionID(Record):
submission_id = String(required=True)
subreddit = String(required=True)

client = Client('pulsar://localhost:6650')
producer = client.create_producer(
'avro-schema-topic',
schema=AvroSchema(SubmissionID)
)
```

and when I get the schema from the schema endpoint it's fine
```
curl 
http://localhost:8080/admin/v2/schemas/public/default/avro-schema-topic/schema
{"version":0,"type":"AVRO","timestamp":0,"data":"{\n \"name\": 
\"SubmissionID\",\n \"type\": \"record\",\n \"fields\": [\n  {\n   \"name\": 
\"submission_id\",\n   \"type\": \"string\",\n   \"default\": null\n  },\n  {\n 
  \"name\": \"subreddit\",\n   \"type\": \"string\",\n   \"default\": null\n  
}\n ]\n}","properties":{}}root@pulsar:/pulsar#
```



GitHub link: https://github.com/apache/pulsar/discussions/17234


This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@pulsar.apache.org



?????? [Discuss][PIP-164] Support split bundle by flow or qps

2022-08-23 Thread lordcheng10
>It's a good idea to improve the bundle split for the case that the traffic
>of the topic doesn't change drastically
>Otherwise, we should not use this policy. or can we use it for all cases?


1.It is suitable for scenarios where topic traffic is relatively stable. In 
addition, we can also adjust the flowOrQpsDifferenceThresholdPercentage 
configuration to adapt to traffic fluctuations;


2.The current strategy is to split bundles based on the configuration 
loadBalancerNamespaceBundleMaxMsgRate or 
loadBalancerNamespaceBundleMaxBandwidthMbytes;


3.If the qps or traffic of a bundle is less than 
loadBalancerNamespaceBundleMaxMsgRate*(1+ 
flowOrQpsDifferenceThresholdPercentage) or 
loadBalancerNamespaceBundleMaxBandwidthMbytes*(1+flowOrQpsDifferenceThresholdPercentage),
 the policy will no longer trigger split;


> do we need to consider the consumer rate
> the `flow or qps` is based on the entries or messages?


1. The consumer rate has been considered;
2. The strategy has been based on the entries and throughput;




Thanks,
lordcheng10

??????[Discuss][PIP-164] Support split bundle by flow or qps

2022-08-23 Thread lordcheng10
"It's a good idea to improve the bundle split for the case that the traffic
of the topic doesn't change drastically
Otherwise, we should not use this policy. or can we use it for all cases?"


1.It is suitable for scenarios where topic traffic is relatively stable. In 
addition, we can also adjust the flowOrQpsDifferenceThresholdPercentage 
configuration to adapt to traffic fluctuations;
2.The current strategy is to split bundles based on the configuration 
loadBalancerNamespaceBundleMaxMsgRate or 
loadBalancerNamespaceBundleMaxBandwidthMbytes;
3.If the qps or traffic of a bundle is less than 
loadBalancerNamespaceBundleMaxMsgRate*(1+ 
flowOrQpsDifferenceThresholdPercentage) or 
loadBalancerNamespaceBundleMaxBandwidthMbytes*(1+flowOrQpsDifferenceThresholdPercentage),
 the policy will no longer trigger split;


"do we need to consider the consumer rate
the `flow or qps` is based on the entries or messages?"


1. The consumer rate has been considered;
2. The strategy has been based on the entries and throughput;




Thanks,
lordcheng10


Reply for Penghui

Re: [Discussion] PIP 198 - How to define [type] and [scope]?

2022-08-23 Thread Yu
Hi Jiuming, Yunze, tison,
Thanks for your vote!



Hi tison,

> "packaging logics"
> For example, build the docker image, build & publish shell scripts.

If you refer to these changes, they belong to [build] scope.

Yu and Zixuan

On Tue, Aug 23, 2022 at 1:25 PM tison  wrote:

> Hi Yu,
>
> Reply inline:
>
> > Besides, the existing scope, [tool], refers to Pulsar CLI tools [1].
> > We're considering to rename it to [cli] since:
>
> Make sense.
>
> > "deployment logic" If so, can we ignore this?
>
> I saw you already remove [deploy] scope. No comment here. It should be
> fine.
>
> > "packaging logics"
>
> For example, build the docker image, build & publish shell scripts.
>
> >  How about defining [build] refer to the following?
>
> Make sense.
>
> > Two quick questions need your vote!
>
> To save letters, B & A.
>
> Best,
> tison.
>


Re: [Discussion] PIP 198 - How to define [type] and [scope]?

2022-08-23 Thread Yu
Hi team,

Many thanks for your feedback! We've adjusted the convention based on your
suggestions!

Below is a brief summary of what we have reached a consensus on:



1. Convention

Continue to follow our existing convention (it's customized on Agular) [1]



2. Definition

[type] must be one of the following:
- feat (abbr for "feature")
- improve
- fix
- cleanup
- refactor
- revert

[scope] must be one of the following:
- admin
- broker
- cli (changes to CLI tools)
- io
- fn (abbr for "function")
- meta (abbr for "metadata")
- monitor
- proxy
- schema
- sec (abbr for "security")
- sql
- storage
- offload (changes to tiered storage)
- txn
- java
- cpp
- py
- ws (changes to WebSocket)
- test (changes to code tests)
- ci (changes to CI workflow)
- build (changes to dependencies, docker, build or release script)
- misc
- doc
- blog
- site

For full details, see [Guide] Pulsar Pull Request Naming Convention [2]



If you have any concerns, feel free to comment before 13:00 August 25 (UTC
+8).

We'll start implementing it if there is no objection after that time.

Thank you!



[1] https://lists.apache.org/thread/90rcjf1dv0fbkb5hm31kmgr65fj0nfnn
[2]
https://docs.google.com/document/d/1d8Pw6ZbWk-_pCKdOmdvx9rnhPiyuxwq60_TrD68d7BA/edit?pli=1#bookmark=id.y8943h392zno

Yu and mangoGoForward

On Tue, Aug 23, 2022 at 5:59 PM Yu  wrote:

> Hi Jiuming, Yunze, tison,
> Thanks for your vote!
>
> 
>
> Hi tison,
>
> > "packaging logics"
> > For example, build the docker image, build & publish shell scripts.
>
> If you refer to these changes, they belong to [build] scope.
>
> Yu and Zixuan
>
> On Tue, Aug 23, 2022 at 1:25 PM tison  wrote:
>
>> Hi Yu,
>>
>> Reply inline:
>>
>> > Besides, the existing scope, [tool], refers to Pulsar CLI tools [1].
>> > We're considering to rename it to [cli] since:
>>
>> Make sense.
>>
>> > "deployment logic" If so, can we ignore this?
>>
>> I saw you already remove [deploy] scope. No comment here. It should be
>> fine.
>>
>> > "packaging logics"
>>
>> For example, build the docker image, build & publish shell scripts.
>>
>> >  How about defining [build] refer to the following?
>>
>> Make sense.
>>
>> > Two quick questions need your vote!
>>
>> To save letters, B & A.
>>
>> Best,
>> tison.
>>
>


Re: [Discussion] PIP 198 - How to define [type] and [scope]?

2022-08-23 Thread PengHui Li
+1

Penghui

On Tue, Aug 23, 2022 at 6:04 PM Yu  wrote:

> Hi team,
>
> Many thanks for your feedback! We've adjusted the convention based on your
> suggestions!
>
> Below is a brief summary of what we have reached a consensus on:
>
> 
>
> 1. Convention
>
> Continue to follow our existing convention (it's customized on Agular) [1]
>
> 
>
> 2. Definition
>
> [type] must be one of the following:
> - feat (abbr for "feature")
> - improve
> - fix
> - cleanup
> - refactor
> - revert
>
> [scope] must be one of the following:
> - admin
> - broker
> - cli (changes to CLI tools)
> - io
> - fn (abbr for "function")
> - meta (abbr for "metadata")
> - monitor
> - proxy
> - schema
> - sec (abbr for "security")
> - sql
> - storage
> - offload (changes to tiered storage)
> - txn
> - java
> - cpp
> - py
> - ws (changes to WebSocket)
> - test (changes to code tests)
> - ci (changes to CI workflow)
> - build (changes to dependencies, docker, build or release script)
> - misc
> - doc
> - blog
> - site
>
> For full details, see [Guide] Pulsar Pull Request Naming Convention [2]
>
> 
>
> If you have any concerns, feel free to comment before 13:00 August 25 (UTC
> +8).
>
> We'll start implementing it if there is no objection after that time.
>
> Thank you!
>
> 
>
> [1] https://lists.apache.org/thread/90rcjf1dv0fbkb5hm31kmgr65fj0nfnn
> [2]
>
> https://docs.google.com/document/d/1d8Pw6ZbWk-_pCKdOmdvx9rnhPiyuxwq60_TrD68d7BA/edit?pli=1#bookmark=id.y8943h392zno
>
> Yu and mangoGoForward
>
> On Tue, Aug 23, 2022 at 5:59 PM Yu  wrote:
>
> > Hi Jiuming, Yunze, tison,
> > Thanks for your vote!
> >
> > 
> >
> > Hi tison,
> >
> > > "packaging logics"
> > > For example, build the docker image, build & publish shell scripts.
> >
> > If you refer to these changes, they belong to [build] scope.
> >
> > Yu and Zixuan
> >
> > On Tue, Aug 23, 2022 at 1:25 PM tison  wrote:
> >
> >> Hi Yu,
> >>
> >> Reply inline:
> >>
> >> > Besides, the existing scope, [tool], refers to Pulsar CLI tools [1].
> >> > We're considering to rename it to [cli] since:
> >>
> >> Make sense.
> >>
> >> > "deployment logic" If so, can we ignore this?
> >>
> >> I saw you already remove [deploy] scope. No comment here. It should be
> >> fine.
> >>
> >> > "packaging logics"
> >>
> >> For example, build the docker image, build & publish shell scripts.
> >>
> >> >  How about defining [build] refer to the following?
> >>
> >> Make sense.
> >>
> >> > Two quick questions need your vote!
> >>
> >> To save letters, B & A.
> >>
> >> Best,
> >> tison.
> >>
> >
>


Re: [DISCUSS] Move PIPs to the codebase?

2022-08-23 Thread PengHui Li
Bump

Penghui

On Thu, Aug 18, 2022 at 11:27 PM PengHui Li  wrote:

> Hi all,
>
> Currently, the new proposal will be added to the issue list and then
> shared link in the email
> to request the proposal review. It's really hard to review a long proposal
> if you want to comment
> in detail.
>
> Here is an example:
> https://github.com/apache/pulsar/issues/16763#issuecomment-1219606491
> This seems very unintuitive.
>
> I think we can move all the PIPs to the codebase and the new proposal and
> proposal without
> any reviews should happen with a PR first. So that we can review and
> comment easily.
> Certainly, all the votes should happen on the mailing list. And we can
> also discuss the
> proposal on the mailing list.
>
> Following this way, we don't need to sync the PIPs from the issue to the
> wiki page.
> We can just add a link that points to the PIPs dir to the contribution
> guide or README.
>
> We have another pain point about the duplicated PIP number. We can
> maintain a file, a list of
> all the proposal contains the approved, in-review, drafting. Before
> creating a proposal, we should
> have a discussion first on the mailing list, just get feedback on the
> motivation. If there are no objections,
> the proposal owner can add a line to the file with the PIP number through
> a PR, like PIP-123: xxx (Under Discussion).
> So that we can prevent the duplicated PIP number(which will conflict if
> someone merged first).
> After the PR is merged, we can send out a new PR to add the proposal.
>
> Thanks,
> Penghui
>
>
>
>
>


[GitHub] [pulsar] codelipenghui added a comment to the discussion: Presto connector schema issue

2022-08-23 Thread GitBox


GitHub user codelipenghui added a comment to the discussion: Presto connector 
schema issue

@Nintorac Could you please share the logs of the presto? I think there are some 
error logs which can help us to understand the problem

GitHub link: 
https://github.com/apache/pulsar/discussions/17234#discussioncomment-3455236


This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@pulsar.apache.org



[GitHub] [pulsar] Nintorac added a comment to the discussion: Presto connector schema issue

2022-08-23 Thread GitBox


GitHub user Nintorac added a comment to the discussion: Presto connector schema 
issue

Thanks, can't find anything, container logs show nothing after loading 
connectors. Also tried setting `/usr/lib/presto/etc/log.properties` with 
`com.facebook.presto=DEBUG`

nothing in `/data/var/` has anything

GitHub link: 
https://github.com/apache/pulsar/discussions/17234#discussioncomment-3455424


This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@pulsar.apache.org



Re: [Discussion] PIP 78: Replace brodocs with docsify?

2022-08-23 Thread Yu
Hi team,

Now is 3 working days after the initial discussion

We'll start replacing brodocs with docsify for docs since there is no
objection or technical suggestions.

Yu, signormercurio, urfreespace

On Fri, Aug 19, 2022 at 5:09 PM Yu  wrote:

> Thanks Dave!
>
> > How is this search organized on the server and how would this integrate
> with algolia?
>
> Search is performed at the front end, and it does not need to integrate
> with Algolia.
>
> > Google Analytics will be disallowed on ASF project sites very soon due
> to Privacy concerns with tracking data. I’ve warned about this several
> times. Please eliminate GA. If we need to track then we have options.
>
> Listing GA here just shows docsify's capabilities.
> As we discussed before [1], GA will no longer process new data in standard
> properties beginning July 1, 2023.
> Matteo is being considered to replace it.
>
> [1] https://github.com/apache/pulsar/issues/15664
>
> Yu and signormercurio
>
>
>
>
>
>
> On Thu, Aug 18, 2022 at 9:46 PM Dave Fisher  wrote:
>
>>
>>
>> Sent from my iPhone
>>
>> > On Aug 18, 2022, at 4:55 AM, Yu  wrote:
>> >
>> > Hi team,
>> >
>> > To reduce manual work, we’re constantly implementing PIP 78: Generate
>> Docs
>> > from Code Automatically [1].
>> >
>> > Docs here refer to the following:
>> > - Connector configurations [2]
>> > - Client configurations [3]
>> > - Pulsar CLI tools [4]
>> > - Pulsar configurations [5]
>> > - pulsar-admin [6]
>> >
>> > # Question
>> >
>> > Currently, some of the docs above [7] are generated using brodocs [8].
>> > We’re wondering if it makes sense to replace brodocs with docsify?
>> >
>> > # docsify benefits
>> >
>> > ## For users
>> > - Enjoy new features (eg. search, copy to clipboard, language
>> highlighting,
>> > tabs, Disqus, etc.)
>>
>> How is this search organized on the server and how would this integrate
>> with algolia?
>>
>> > - More clear and organized layout
>> >
>> > ## For doc maintainers
>> > - Simple and lightweight
>> > - No statically built HTML files. Instead, it smartly loads and parses
>> .md
>> > files and displays them as a website.
>> > - Allow feature customization
>> > - Able to work with Google Analytics to track data
>>
>> Google Analytics will be disallowed on ASF project sites very soon due to
>> Privacy concerns with tracking data. I’ve warned about this several times.
>> Please eliminate GA. If we need to track then we have options.
>>
>> Also we never discuss GA anywhere within the PMC or developer community.
>> What value does it have?
>>
>> Dave
>>
>> >
>> > # Demo
>> >
>> > We’ve created a demo here [9].
>> > This demo is only for demonstration purposes, so we just add a few
>> > improvements. It can be iterated later.
>> >
>> > 
>> >
>> > If docsify is better, we’ll use it for all the docs above to provide a
>> > consistent content experience.
>> >
>> > Feel free to check and comment, thank you!
>> >
>> > [1] https://lists.apache.org/thread/638q6kmq81z2qjmyhgkqzp00sllh4x0w
>> > [2] https://pulsar.apache.org/docs/next/io-connectors (Configurations
>> for
>> > each connector)
>> > [3] https://pulsar.apache.org/docs/next/client-libraries-java
>> > (Configuration for each client. Here takes Java client as an example, it
>> > refers to configurations of client, producer, consumer, and reader)
>> > [4] https://pulsar.apache.org/docs/next/reference-cli-tools
>> > [5] https://pulsar.apache.org/docs/next/reference-configuration
>> > [6] https://pulsar.apache.org/tools/pulsar-admin/
>> > [7] https://pulsar.apache.org/tools/
>> > [8] https://github.com/Birdrock/brodocs
>> > [9] https://pulsar.apache.org/tools/pulsar-config/2.11.0-SNAPSHOT/#/
>> >
>> > Yu, signormercurio, urfreespace
>>
>>


Re: [VOTE] Pulsar Release 2.8.4 Candidate 1

2022-08-23 Thread PengHui Li
+1 (binding)

- Start the standalone service
- Publish and consume messages
- Run the Cassandra connector
- Validate the stateful function

Thanks,
Penghui

On Tue, Aug 23, 2022 at 9:57 AM guo jiwei  wrote:

> +1 (binding)
>
> - Checked checksums and signatures
> - Checked license headers using Apache Rat
> - Compiled the source by JDK11
> - Ran the standalone server
> - Confirmed that producer and consumer work properly
> - Validated functions, connectors, and stateful functions
>
>
> Regards
> Jiwei Guo (Tboy)
>
>
> On Mon, Aug 15, 2022 at 10:18 AM Qiang Huang 
> wrote:
>
> > Got it. Thx.
> >
> > Yunze Xu  于2022年8月14日周日 23:22写道:
> >
> > > You can see
> > > https://lists.apache.org/thread/rg1g083c06ozm5go6zo1jophg9y9zl2f
> > > for more details about the LTS release.
> > >
> > > Thanks,
> > > Yunze
> > >
> > >
> > >
> > >
> > > > 2022年8月14日 11:00,Qiang Huang  写道:
> > > >
> > > > +1 (non-binding)
> > > > Is 2.8.4 a long term support release?
> > > >
> > > > Yunze Xu  于2022年8月12日周五 16:20写道:
> > > >
> > > >> This is the first release candidate for Apache Pulsar, version
> 2.8.4.
> > > >>
> > > >> It fixes the following issues:
> > > >>
> > > >>
> > >
> >
> https://github.com/apache/pulsar/pulls?q=is%3Amerged+is%3Apr+label%3Arelease%2F2.8.4
> > > >>
> > > >> *** Please download, test and vote on this release. This vote will
> > stay
> > > >> open
> > > >> for at least 72 hours ***
> > > >>
> > > >> Note that we are voting upon the source (tag), binaries are provided
> > for
> > > >> convenience.
> > > >>
> > > >> Source and binary files:
> > > >>
> > https://dist.apache.org/repos/dist/dev/pulsar/pulsar-2.8.4-candidate-1/
> > > >>
> > > >> SHA-512 checksums:
> > > >>
> > > >>
> > >
> >
> c3d26704f2cfb3365c29d4110612ca7351084f8bee3c306d5e906b3f9b22c7557cc5baf12f74f8c222baccae3310691419eda5b47fdf9cd6c5281b70134ab5eb
> > > >> apache-pulsar-2.8.4-bin.tar.gz
> > > >>
> > >
> >
> 28160ee94dccfb74dfb56e0e5d0e08870c6612659507333a52b5660ecbf060a75d1eed667cffd8596f9468de95055b78916b932db0e0d4c2745868d55429ee98
> > > >> apache-pulsar-2.8.4-src.tar.gz
> > > >>
> > > >> Maven staging repo:
> > > >>
> > >
> https://repository.apache.org/content/repositories/orgapachepulsar-1170/
> > > >>
> > > >> The tag to be voted upon:
> > > >> v2.8.4-candidate-1 (02ee5616866d4eda8dd94f85d9d9b71c459f248d)
> > > >> https://github.com/apache/pulsar/releases/tag/v2.8.4-candidate-1
> > > >>
> > > >> Pulsar's KEYS file containing PGP keys we use to sign the release:
> > > >> https://dist.apache.org/repos/dist/dev/pulsar/KEYS
> > > >>
> > > >> Docker images:
> > > >>
> > > >>
> > > >>
> > >
> >
> https://hub.docker.com/layers/pulsar/bewaremypower/pulsar/2.8.4/images/sha256-fba51a75c0f2ca79fbff7b254f80f641fcda661fd702f8149bbfdd5994078e3a
> > > >>
> > > >>
> > > >>
> > >
> >
> https://hub.docker.com/layers/pulsar-all/bewaremypower/pulsar-all/2.8.4/images/sha256-42d4b41e5869edc6242bb49d6a1687bd6d191a6385637122edc5c7b2c44ee46f
> > > >>
> > > >> Please download the source package, and follow the Release Candidate
> > > >> Validation[1] to validate the release
> > > >>
> > > >> [1]
> > https://github.com/apache/pulsar/wiki/Release-Candidate-Validation
> > > >>
> > > >> Thanks,
> > > >> Yunze
> > > >>
> > > >>
> > > >>
> > > >>
> > > >>
> > > >
> > > > --
> > > > BR,
> > > > Qiang Huang
> > >
> > >
> >
> > --
> > BR,
> > Qiang Huang
> >
>


[GitHub] [pulsar-site] SignorMercurio commented on pull request #169: Move config docs to /reference and improve docs gen scripts

2022-08-23 Thread GitBox


SignorMercurio commented on PR #169:
URL: https://github.com/apache/pulsar-site/pull/169#issuecomment-1224081761

   @urfreespace I tested the commands in the scripts manually, which works fine 
now. Not sure if `build-site.sh` works fine in Actions, can we temporary modify 
the workflow to run it on this PR?


-- 
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: dev-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[DISCUSS] Apache Pulsar 2.10.2 release

2022-08-23 Thread Haiting Jiang
Hello, Pulsar community:

I'd like to propose to release Apache Pulsar 2.10.2

Currently, we have 189 commits [0] labeled with `release/2.10.2`, 
And 39 of them are not cherry-picked yet [1].

And there are 39 open PRs [2], I will follow them to make sure that
the important fixes could be contained in 2.10.2.

If you have any important fixes or any questions,
please reply to this email, we will evaluate whether to
include it in 2.10.2

[0] 
https://github.com/apache/pulsar/pulls?q=is%3Amerged+is%3Apr+label%3Arelease%2F2.10.2+
[1] 
https://github.com/apache/pulsar/pulls?q=is%3Amerged+is%3Apr+label%3Arelease%2F2.10.2+-label%3Acherry-picked%2Fbranch-2.10+
[2] 
https://github.com/apache/pulsar/pulls?q=is%3Aopen+is%3Apr+label%3Arelease%2F2.10.2+

Best Regards
Haiting Jiang


[GitHub] [pulsar] abcMH1966 created a discussion: I encountered a port error when using pulsar to integrate etcd

2022-08-23 Thread GitBox


GitHub user abcMH1966 created a discussion: I encountered a port error when 
using pulsar to integrate etcd

When I execute the following command:

./bin/pulsar initialize-cluster-metadata \
-c pulsar-cluster \
-md etcd:node01:2379,node02:2379,node03:2379 \
-cms etcd:node01:2379,node02:2379,node03:2379 \
-uw http://node01:8080,node02:8080,node03:8080 \
-tw https://node01:8443,node02:8443,node03:8443 \
-ub pulsar://node01:6650,node02:6650,node03:6650 \
-tb pulsar+ssl://node01:6651,node02:6651,node03:6651

A port exception occurred:
2022-08-23T10:13:27,784-0400 [grpc-default-executor-0] WARN  
io.etcd.jetcd.resolver.IPNameResolver - Error wile getting list of servers
java.lang.IllegalArgumentException: port out of range:-1
at java.net.InetSocketAddress.checkPort(InetSocketAddress.java:143) 
~[?:1.8.0_322]
at java.net.InetSocketAddress.(InetSocketAddress.java:224) 
~[?:1.8.0_322]
at 
io.etcd.jetcd.resolver.IPNameResolver$HostAndPort.toAddressGroup(IPNameResolver.java:162)
 ~[io.etcd-jetcd-core-0.5.11.jar:?]
at 
io.etcd.jetcd.resolver.IPNameResolver.lambda$doResolve$1(IPNameResolver.java:133)
 ~[io.etcd-jetcd-core-0.5.11.jar:?]
at 
java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) 
~[?:1.8.0_322]
at 
java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1384) 
~[?:1.8.0_322]
at 
java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) 
~[?:1.8.0_322]
at 
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) 
~[?:1.8.0_322]
at 
java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) 
~[?:1.8.0_322]
at 
java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 
~[?:1.8.0_322]
at 
java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:566) 
~[?:1.8.0_322]
at 
io.etcd.jetcd.resolver.IPNameResolver.doResolve(IPNameResolver.java:134) 
~[io.etcd-jetcd-core-0.5.11.jar:?]
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
[?:1.8.0_322]
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
[?:1.8.0_322]
at java.lang.Thread.run(Thread.java:750) [?:1.8.0_322]

I set the port to 2379, why the pulsar report this exception: 
port out of range: -1
where is the -1 port?



GitHub link: https://github.com/apache/pulsar/discussions/17240


This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@pulsar.apache.org



[GitHub] [pulsar] liangyuanpeng added a comment to the discussion: I encountered a port error when using pulsar to integrate etcd

2022-08-23 Thread GitBox


GitHub user liangyuanpeng added a comment to the discussion: I encountered a 
port error when using pulsar to integrate etcd

What's your pulsar version?

GitHub link: 
https://github.com/apache/pulsar/discussions/17240#discussioncomment-3457256


This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@pulsar.apache.org



Re: [DISCUSS] Move PIPs to the codebase?

2022-08-23 Thread Haiting Jiang
+1.

> Before creating a proposal, we should have a discussion first on the
mailing list, just get feedback on the motivation.

I think it's a good idea to separate the motivation and formal proposal for
complicated PIPs.
So that we can avoid spending too much effort if the community is not
interested in the PIP.


> If there are no objections, the proposal owner can add a line to the file
with the PIP number through a...

It's better to set a clear rule or a specific time limit for this
non-objection step in the new PIP guidelines for beginners.


Thanks,
Haiting

On Tue, Aug 23, 2022 at 6:07 PM PengHui Li  wrote:

> Bump
>
> Penghui
>
> On Thu, Aug 18, 2022 at 11:27 PM PengHui Li  wrote:
>
> > Hi all,
> >
> > Currently, the new proposal will be added to the issue list and then
> > shared link in the email
> > to request the proposal review. It's really hard to review a long
> proposal
> > if you want to comment
> > in detail.
> >
> > Here is an example:
> > https://github.com/apache/pulsar/issues/16763#issuecomment-1219606491
> > This seems very unintuitive.
> >
> > I think we can move all the PIPs to the codebase and the new proposal and
> > proposal without
> > any reviews should happen with a PR first. So that we can review and
> > comment easily.
> > Certainly, all the votes should happen on the mailing list. And we can
> > also discuss the
> > proposal on the mailing list.
> >
> > Following this way, we don't need to sync the PIPs from the issue to the
> > wiki page.
> > We can just add a link that points to the PIPs dir to the contribution
> > guide or README.
> >
> > We have another pain point about the duplicated PIP number. We can
> > maintain a file, a list of
> > all the proposal contains the approved, in-review, drafting. Before
> > creating a proposal, we should
> > have a discussion first on the mailing list, just get feedback on the
> > motivation. If there are no objections,
> > the proposal owner can add a line to the file with the PIP number through
> > a PR, like PIP-123: xxx (Under Discussion).
> > So that we can prevent the duplicated PIP number(which will conflict if
> > someone merged first).
> > After the PR is merged, we can send out a new PR to add the proposal.
> >
> > Thanks,
> > Penghui
> >
> >
> >
> >
> >
>


Re: [Discussion] PIP 78: Replace brodocs with docsify?

2022-08-23 Thread Dave Fisher
If page urls change then we should also add http redirect rules to help users 
who bookmarked these docs.

Sent from my iPhone

> On Aug 23, 2022, at 5:53 AM, Yu  wrote:
> 
> Hi team,
> 
> Now is 3 working days after the initial discussion
> 
> We'll start replacing brodocs with docsify for docs since there is no
> objection or technical suggestions.
> 
> Yu, signormercurio, urfreespace
> 
>> On Fri, Aug 19, 2022 at 5:09 PM Yu  wrote:
>> 
>> Thanks Dave!
>> 
>>> How is this search organized on the server and how would this integrate
>> with algolia?
>> 
>> Search is performed at the front end, and it does not need to integrate
>> with Algolia.
>> 
>>> Google Analytics will be disallowed on ASF project sites very soon due
>> to Privacy concerns with tracking data. I’ve warned about this several
>> times. Please eliminate GA. If we need to track then we have options.
>> 
>> Listing GA here just shows docsify's capabilities.
>> As we discussed before [1], GA will no longer process new data in standard
>> properties beginning July 1, 2023.
>> Matteo is being considered to replace it.
>> 
>> [1] https://github.com/apache/pulsar/issues/15664
>> 
>> Yu and signormercurio
>> 
>> 
>> 
>> 
>> 
>> 
>>> On Thu, Aug 18, 2022 at 9:46 PM Dave Fisher  wrote:
>>> 
>>> 
>>> 
>>> Sent from my iPhone
>>> 
 On Aug 18, 2022, at 4:55 AM, Yu  wrote:
 
 Hi team,
 
 To reduce manual work, we’re constantly implementing PIP 78: Generate
>>> Docs
 from Code Automatically [1].
 
 Docs here refer to the following:
 - Connector configurations [2]
 - Client configurations [3]
 - Pulsar CLI tools [4]
 - Pulsar configurations [5]
 - pulsar-admin [6]
 
 # Question
 
 Currently, some of the docs above [7] are generated using brodocs [8].
 We’re wondering if it makes sense to replace brodocs with docsify?
 
 # docsify benefits
 
 ## For users
 - Enjoy new features (eg. search, copy to clipboard, language
>>> highlighting,
 tabs, Disqus, etc.)
>>> 
>>> How is this search organized on the server and how would this integrate
>>> with algolia?
>>> 
 - More clear and organized layout
 
 ## For doc maintainers
 - Simple and lightweight
 - No statically built HTML files. Instead, it smartly loads and parses
>>> .md
 files and displays them as a website.
 - Allow feature customization
 - Able to work with Google Analytics to track data
>>> 
>>> Google Analytics will be disallowed on ASF project sites very soon due to
>>> Privacy concerns with tracking data. I’ve warned about this several times.
>>> Please eliminate GA. If we need to track then we have options.
>>> 
>>> Also we never discuss GA anywhere within the PMC or developer community.
>>> What value does it have?
>>> 
>>> Dave
>>> 
 
 # Demo
 
 We’ve created a demo here [9].
 This demo is only for demonstration purposes, so we just add a few
 improvements. It can be iterated later.
 
 
 
 If docsify is better, we’ll use it for all the docs above to provide a
 consistent content experience.
 
 Feel free to check and comment, thank you!
 
 [1] https://lists.apache.org/thread/638q6kmq81z2qjmyhgkqzp00sllh4x0w
 [2] https://pulsar.apache.org/docs/next/io-connectors (Configurations
>>> for
 each connector)
 [3] https://pulsar.apache.org/docs/next/client-libraries-java
 (Configuration for each client. Here takes Java client as an example, it
 refers to configurations of client, producer, consumer, and reader)
 [4] https://pulsar.apache.org/docs/next/reference-cli-tools
 [5] https://pulsar.apache.org/docs/next/reference-configuration
 [6] https://pulsar.apache.org/tools/pulsar-admin/
 [7] https://pulsar.apache.org/tools/
 [8] https://github.com/Birdrock/brodocs
 [9] https://pulsar.apache.org/tools/pulsar-config/2.11.0-SNAPSHOT/#/
 
 Yu, signormercurio, urfreespace
>>> 
>>> 



[GitHub] [pulsar] liangyuanpeng added a comment to the discussion: I encountered a port error when using pulsar to integrate etcd

2022-08-23 Thread GitBox


GitHub user liangyuanpeng added a comment to the discussion: I encountered a 
port error when using pulsar to integrate etcd

This PR had resolve pulsar working with etcd cluster and seems like have not  
any release version of pulsar include it. and i have build a version of  pulsar 
from master, could you try it? `docker pull 
ghcr.io/pulsar-sigs/pulsar:2022-08-23` or `docker pull lypgcs/pulsar:2022-08-23`

GitHub link: 
https://github.com/apache/pulsar/discussions/17240#discussioncomment-3457354


This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@pulsar.apache.org



[GitHub] [pulsar] liangyuanpeng edited a comment on the discussion: I encountered a port error when using pulsar to integrate etcd

2022-08-23 Thread GitBox


GitHub user liangyuanpeng edited a comment on the discussion: I encountered a 
port error when using pulsar to integrate etcd

[This PR](https://github.com/apache/pulsar/pull/16309) had resolve pulsar 
working with etcd cluster and seems like have not  any release version of 
pulsar include it. and i have build a version of  pulsar from master, could you 
try it? `docker pull ghcr.io/pulsar-sigs/pulsar:2022-08-23` or `docker pull 
lypgcs/pulsar:2022-08-23`

GitHub link: 
https://github.com/apache/pulsar/discussions/17240#discussioncomment-3457354


This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@pulsar.apache.org



Re: [DISCUSS] Apache Pulsar 2.10.2 release

2022-08-23 Thread Lan Liang
Hi,Haiting:

   Thanks for your work of release. Could you help to release PR-16309 [0]  to 
2.10.2, It resolved pulsar can not working with etcd cluster.

   Some users are wondering about this part [1].

[0] https://github.com/apache/pulsar/pull/16309
[1] https://github.com/apache/pulsar/discussions/17240




Best Regards,
Lan Liang
 Replied Message 
| From | Haiting Jiang |
| Date | 8/23/2022 22:10 |
| To |  |
| Subject | [DISCUSS] Apache Pulsar 2.10.2 release |
Hello, Pulsar community:

I'd like to propose to release Apache Pulsar 2.10.2

Currently, we have 189 commits [0] labeled with `release/2.10.2`,
And 39 of them are not cherry-picked yet [1].

And there are 39 open PRs [2], I will follow them to make sure that
the important fixes could be contained in 2.10.2.

If you have any important fixes or any questions,
please reply to this email, we will evaluate whether to
include it in 2.10.2

[0] 
https://github.com/apache/pulsar/pulls?q=is%3Amerged+is%3Apr+label%3Arelease%2F2.10.2+
[1] 
https://github.com/apache/pulsar/pulls?q=is%3Amerged+is%3Apr+label%3Arelease%2F2.10.2+-label%3Acherry-picked%2Fbranch-2.10+
[2] 
https://github.com/apache/pulsar/pulls?q=is%3Aopen+is%3Apr+label%3Arelease%2F2.10.2+

Best Regards
Haiting Jiang


Re: [DISCUSS] Move PIPs to the codebase?

2022-08-23 Thread Dave Fisher



> On Aug 18, 2022, at 8:27 AM, PengHui Li  wrote:
> 
> Hi all,
> 
> Currently, the new proposal will be added to the issue list and then shared
> link in the email
> to request the proposal review. It's really hard to review a long proposal
> if you want to comment
> in detail.
> 
> Here is an example:
> https://github.com/apache/pulsar/issues/16763#issuecomment-1219606491
> This seems very unintuitive.
> 
> I think we can move all the PIPs to the codebase and the new proposal and
> proposal without
> any reviews should happen with a PR first. So that we can review and
> comment easily.
> Certainly, all the votes should happen on the mailing list. And we can also
> discuss the
> proposal on the mailing list.
> 
> Following this way, we don't need to sync the PIPs from the issue to the
> wiki page.
> We can just add a link that points to the PIPs dir to the contribution
> guide or README.
> 
> We have another pain point about the duplicated PIP number. We can maintain
> a file, a list of
> all the proposal contains the approved, in-review, drafting. Before
> creating a proposal, we should
> have a discussion first on the mailing list, just get feedback on the
> motivation. If there are no objections,
> the proposal owner can add a line to the file with the PIP number through a
> PR, like PIP-123: xxx (Under Discussion).
> So that we can prevent the duplicated PIP number(which will conflict if
> someone merged first).
> After the PR is merged, we can send out a new PR to add the proposal.

Should we track the status of PIPs as a project?

Also we have old PIPs that have been abandoned or that never completed VOTEs 
(there was one for pulsarctl that I would -1 if it were brought back.)

Regards,
Dave
> 
> Thanks,
> Penghui



Re: [DISCUSS] Move PIPs to the codebase?

2022-08-23 Thread PengHui Li
> Should we track the status of PIPs as a project?
> Also we have old PIPs that have been abandoned or that never completed
VOTEs (there was one for pulsarctl that I would -1 if it were brought back.)

Yes, good point. We can maintain a Github Project to track all the
proposals.

Thanks,
Penghui

On Tue, Aug 23, 2022 at 11:30 PM Dave Fisher  wrote:

>
>
> > On Aug 18, 2022, at 8:27 AM, PengHui Li  wrote:
> >
> > Hi all,
> >
> > Currently, the new proposal will be added to the issue list and then
> shared
> > link in the email
> > to request the proposal review. It's really hard to review a long
> proposal
> > if you want to comment
> > in detail.
> >
> > Here is an example:
> > https://github.com/apache/pulsar/issues/16763#issuecomment-1219606491
> > This seems very unintuitive.
> >
> > I think we can move all the PIPs to the codebase and the new proposal and
> > proposal without
> > any reviews should happen with a PR first. So that we can review and
> > comment easily.
> > Certainly, all the votes should happen on the mailing list. And we can
> also
> > discuss the
> > proposal on the mailing list.
> >
> > Following this way, we don't need to sync the PIPs from the issue to the
> > wiki page.
> > We can just add a link that points to the PIPs dir to the contribution
> > guide or README.
> >
> > We have another pain point about the duplicated PIP number. We can
> maintain
> > a file, a list of
> > all the proposal contains the approved, in-review, drafting. Before
> > creating a proposal, we should
> > have a discussion first on the mailing list, just get feedback on the
> > motivation. If there are no objections,
> > the proposal owner can add a line to the file with the PIP number
> through a
> > PR, like PIP-123: xxx (Under Discussion).
> > So that we can prevent the duplicated PIP number(which will conflict if
> > someone merged first).
> > After the PR is merged, we can send out a new PR to add the proposal.
>
> Should we track the status of PIPs as a project?
>
> Also we have old PIPs that have been abandoned or that never completed
> VOTEs (there was one for pulsarctl that I would -1 if it were brought back.)
>
> Regards,
> Dave
> >
> > Thanks,
> > Penghui
>
>


Re: [Discuss][PIP-164] Support split bundle by flow or qps

2022-08-23 Thread Dave Fisher
While not a comment about this proposal I have a comment another split bundle 
concept.

Manually split out a topic into its own bundle.

Say a bundle is 0x to 0x0200 with 5 topics.

t1 at 0x0010
t2 at 0x0030
t3 at 0x0110
t4 at 0x0123
t5 at 0x01AE

Let’s split out t3 to it’s own bundle and then have three new bundles:

0x:0x010F - t1, t2
0x0110:0x0110 - t3
0x0111:0x0200 - t4, t5

This can be useful when t3 has most of the traffic

> On Aug 23, 2022, at 2:13 AM, lordcheng10 <1572139...@qq.com.INVALID> wrote:
> 
> "It's a good idea to improve the bundle split for the case that the traffic
> of the topic doesn't change drastically
> Otherwise, we should not use this policy. or can we use it for all cases?"
> 
> 
> 1.It is suitable for scenarios where topic traffic is relatively stable. In 
> addition, we can also adjust the flowOrQpsDifferenceThresholdPercentage 
> configuration to adapt to traffic fluctuations;
> 2.The current strategy is to split bundles based on the configuration 
> loadBalancerNamespaceBundleMaxMsgRate or 
> loadBalancerNamespaceBundleMaxBandwidthMbytes;
> 3.If the qps or traffic of a bundle is less than 
> loadBalancerNamespaceBundleMaxMsgRate*(1+ 
> flowOrQpsDifferenceThresholdPercentage) or 
> loadBalancerNamespaceBundleMaxBandwidthMbytes*(1+flowOrQpsDifferenceThresholdPercentage),
>  the policy will no longer trigger split;
> 
> 
> "do we need to consider the consumer rate
> the `flow or qps` is based on the entries or messages?"
> 
> 
> 1. The consumer rate has been considered;
> 2. The strategy has been based on the entries and throughput;
> 
> 
> 
> 
> Thanks,
> lordcheng10
> 
> 
> Reply for Penghui



Re: [DISCUSS] Apache Pulsar 2.10.2 release

2022-08-23 Thread PengHui Li
+1

And, I have added the release/2.10.2 label, Lan Liang.

Thanks,
Penghui

On Tue, Aug 23, 2022 at 11:02 PM Lan Liang  wrote:

> Hi,Haiting:
>
>Thanks for your work of release. Could you help to release PR-16309
> [0]  to 2.10.2, It resolved pulsar can not working with etcd cluster.
>
>Some users are wondering about this part [1].
>
> [0] https://github.com/apache/pulsar/pull/16309
> [1] https://github.com/apache/pulsar/discussions/17240
>
>
>
>
> Best Regards,
> Lan Liang
>  Replied Message 
> | From | Haiting Jiang |
> | Date | 8/23/2022 22:10 |
> | To |  |
> | Subject | [DISCUSS] Apache Pulsar 2.10.2 release |
> Hello, Pulsar community:
>
> I'd like to propose to release Apache Pulsar 2.10.2
>
> Currently, we have 189 commits [0] labeled with `release/2.10.2`,
> And 39 of them are not cherry-picked yet [1].
>
> And there are 39 open PRs [2], I will follow them to make sure that
> the important fixes could be contained in 2.10.2.
>
> If you have any important fixes or any questions,
> please reply to this email, we will evaluate whether to
> include it in 2.10.2
>
> [0]
> https://github.com/apache/pulsar/pulls?q=is%3Amerged+is%3Apr+label%3Arelease%2F2.10.2+
> [1]
> https://github.com/apache/pulsar/pulls?q=is%3Amerged+is%3Apr+label%3Arelease%2F2.10.2+-label%3Acherry-picked%2Fbranch-2.10+
> [2]
> https://github.com/apache/pulsar/pulls?q=is%3Aopen+is%3Apr+label%3Arelease%2F2.10.2+
>
> Best Regards
> Haiting Jiang
>


Re: [Discuss][PIP-164] Support split bundle by flow or qps

2022-08-23 Thread PengHui Li
Thanks for the explanation
LGTM

Thanks,
Penghui

On Tue, Aug 23, 2022 at 11:41 PM Dave Fisher  wrote:

> While not a comment about this proposal I have a comment another split
> bundle concept.
>
> Manually split out a topic into its own bundle.
>
> Say a bundle is 0x to 0x0200 with 5 topics.
>
> t1 at 0x0010
> t2 at 0x0030
> t3 at 0x0110
> t4 at 0x0123
> t5 at 0x01AE
>
> Let’s split out t3 to it’s own bundle and then have three new bundles:
>
> 0x:0x010F - t1, t2
> 0x0110:0x0110 - t3
> 0x0111:0x0200 - t4, t5
>
> This can be useful when t3 has most of the traffic
>
> > On Aug 23, 2022, at 2:13 AM, lordcheng10 <1572139...@qq.com.INVALID>
> wrote:
> >
> > "It's a good idea to improve the bundle split for the case that the
> traffic
> > of the topic doesn't change drastically
> > Otherwise, we should not use this policy. or can we use it for all
> cases?"
> >
> >
> > 1.It is suitable for scenarios where topic traffic is relatively stable.
> In addition, we can also adjust the flowOrQpsDifferenceThresholdPercentage
> configuration to adapt to traffic fluctuations;
> > 2.The current strategy is to split bundles based on the configuration
> loadBalancerNamespaceBundleMaxMsgRate or
> loadBalancerNamespaceBundleMaxBandwidthMbytes;
> > 3.If the qps or traffic of a bundle is less than
> loadBalancerNamespaceBundleMaxMsgRate*(1+
> flowOrQpsDifferenceThresholdPercentage) or
> loadBalancerNamespaceBundleMaxBandwidthMbytes*(1+flowOrQpsDifferenceThresholdPercentage),
> the policy will no longer trigger split;
> >
> >
> > "do we need to consider the consumer rate
> > the `flow or qps` is based on the entries or messages?"
> >
> >
> > 1. The consumer rate has been considered;
> > 2. The strategy has been based on the entries and throughput;
> >
> >
> >
> >
> > Thanks,
> > lordcheng10
> >
> >
> > Reply for Penghui
>
>


Re: [VOTE] [PIP-169] Support split bundle by flow or qps

2022-08-23 Thread PengHui Li
+1

Penghui

On Tue, Aug 23, 2022 at 3:10 PM lordcheng10 <1572139...@qq.com.invalid>
wrote:

> Hi Pulsar Community, I would like to start a VOTE on "Support split bundle
> by flow or qps."(PIP-169)
> Here is the design detail: https://github.com/apache/pulsar/issues/16782
>
>
> and the discussion thread:
> https://lists.apache.org/thread/cshyt10fwcjjxs93g8yf0svgwcgnshmg
>
>
> Thanks,
> lordcheng10


Re: [VOTE] [PIP-169] Support split bundle by flow or qps

2022-08-23 Thread Anon Hxy
+1 (non-binding)

Thanks,
Xiaoyu Hou

lordcheng10 <1572139...@qq.com.invalid> 于2022年8月23日周二 15:10写道:

> Hi Pulsar Community, I would like to start a VOTE on "Support split bundle
> by flow or qps."(PIP-169)
> Here is the design detail: https://github.com/apache/pulsar/issues/16782
>
>
> and the discussion thread:
> https://lists.apache.org/thread/cshyt10fwcjjxs93g8yf0svgwcgnshmg
>
>
> Thanks,
> lordcheng10


Re: [VOTE] [PIP-169] Support split bundle by flow or qps

2022-08-23 Thread Heesung Sohn
+1 (non-binding)

Heesung

On Tue, Aug 23, 2022 at 10:00 AM Anon Hxy  wrote:
>
> +1 (non-binding)
>
> Thanks,
> Xiaoyu Hou
>
> lordcheng10 <1572139...@qq.com.invalid> 于2022年8月23日周二 15:10写道:
>
> > Hi Pulsar Community, I would like to start a VOTE on "Support split bundle
> > by flow or qps."(PIP-169)
> > Here is the design detail: https://github.com/apache/pulsar/issues/16782
> >
> >
> > and the discussion thread:
> > https://lists.apache.org/thread/cshyt10fwcjjxs93g8yf0svgwcgnshmg
> >
> >
> > Thanks,
> > lordcheng10


Re: [DISCUSS] Move PIPs to the codebase?

2022-08-23 Thread Rajan Dhabalia
Hi,

>>> I think we can move all the PIPs to the codebase and the new proposal
and proposal without any reviews should happen with a PR first. So that we
can review and comment easily.

I didn't understand this part. You want one to create a PR before
submitting a proposal? That's clearly not a good idea because if the PIP
approach will change then the entire development effort will be wasted and
that's the whole purpose of PIP. I guess creating PIP into an issue and
discussing the issue is definitely working and it's an easier way to
discuss quickly rather than discussing over email threads.

Let's not change this practice without good discussion and agreement from
the community.

Thanks,
Rajan

On Thu, Aug 18, 2022 at 8:27 AM PengHui Li  wrote:

> Hi all,
>
> Currently, the new proposal will be added to the issue list and then shared
> link in the email
> to request the proposal review. It's really hard to review a long proposal
> if you want to comment
> in detail.
>
> Here is an example:
> https://github.com/apache/pulsar/issues/16763#issuecomment-1219606491
> This seems very unintuitive.
>
> I think we can move all the PIPs to the codebase and the new proposal and
> proposal without
> any reviews should happen with a PR first. So that we can review and
> comment easily.
> Certainly, all the votes should happen on the mailing list. And we can also
> discuss the
> proposal on the mailing list.
>
> Following this way, we don't need to sync the PIPs from the issue to the
> wiki page.
> We can just add a link that points to the PIPs dir to the contribution
> guide or README.
>
> We have another pain point about the duplicated PIP number. We can maintain
> a file, a list of
> all the proposal contains the approved, in-review, drafting. Before
> creating a proposal, we should
> have a discussion first on the mailing list, just get feedback on the
> motivation. If there are no objections,
> the proposal owner can add a line to the file with the PIP number through a
> PR, like PIP-123: xxx (Under Discussion).
> So that we can prevent the duplicated PIP number(which will conflict if
> someone merged first).
> After the PR is merged, we can send out a new PR to add the proposal.
>
> Thanks,
> Penghui
>


[GitHub] [pulsar] rillo-carrillo created a discussion: Geo Replication using Proxy

2022-08-23 Thread GitBox


GitHub user rillo-carrillo created a discussion: Geo Replication using Proxy

Environment:
2 Kubernetes Environments
2 Pulsar Clusters v 2.10.0

Have added on each cluster another cluster to replicate messages with the next 
command:

`pulsar-admin clusters create --cluster-config-file /broker/conf/cluster2.yaml 
cluster2`

Content of cluster2.yaml
```
serviceUrlTls: "https://pulsar-admin-cluster2:8443";
proxyServiceUrl: "pulsar+ssl://pulsar-proxy-cluster2:6651"
brokerClientTlsEnabled: true
brokerClientTrustCertsFilePath: "/volume/broker/certs/ca.crt"
```
Do you know if this is a valid configuration to add another cluster to the list 
of local cluster?

I have done the same on cluster2 pointing to cluster1.

Same have given permissions to a tenant to both clusters.

For testing, I have just set replication to just one namespace in cluster 1.

But what I have observed is that the remote proxy is not handling the requests 
to remote broker's servers.
Rather my local brokers try to communicate with remote brokers using lookup 
from proxy and not using the proxy.

remote cluster log:
```
2022-08-23T18:15:09,738+ [pulsar-web-41-8] INFO  
org.eclipse.jetty.server.RequestLog - 10.24.192.80 - - [23/Aug/2022:18:15:09 
+] "GET /lookup/v2/topic/persistent/test/testn/testt HTTP/1.1" 200 392 "-" 
"Pulsar-Java-v2.10.0" 0
2022-08-23T18:15:09,739+ [pulsar-external-web-5-8] INFO  
org.eclipse.jetty.server.RequestLog - 10.24.192.7 - - [23/Aug/2022:18:15:09 
+] "GET /lookup/v2/topic/persistent/test/testn/testt HTTP/1.1" 200 392 "-" 
"Pulsar-Java-v2.10.0" 1
```
local cluster log:
```
2022-08-23T18:15:09,735+ [broker-client-shared-timer-11-1] INFO 
org.apache.pulsar.client.impl.ConnectionHandler - 
[persistent://test/testn/testt] [pulsar.repl.cluster1-->cluster2] Reconnecting 
after connection was closed
2022-08-23T18:15:09,742+ [pulsar-io-7-4] INFO 
org.apache.pulsar.client.impl.ProducerImpl - [persistent://test/testn/testt] 
[pulsar.repl.cluster1-->cluster2] Creating producer on cnx [id: 0xf9de2d0d, 
L:/10.42.13.202:53428 - 
R:broker-0.brokers.pulsar-dev.svc.cluster.local/10.42.4.195:6651]
2022-08-23T18:15:09,743+ [pulsar-io-7-6] WARN 
org.apache.pulsar.client.impl.ClientCnx - [id: 0xf9de2d0d, 
L:/10.42.13.202:53428 - 
R:broker-0.brokers.pulsar-dev.svc.cluster.local/10.42.4.195:6651] Received 
error from server: Namespace bundle for topic (persistent://test/testn/testt) 
not served by this instance. Please redo the lookup. Request is denied: 
namespace=test/testn
2022-08-23T18:15:09,744+ [pulsar-io-7-6] ERROR 
org.apache.pulsar.client.impl.ProducerImpl - [persistent://test/testn/testt] 
[pulsar.repl.cluster1-->cluster2] Failed to create producer: 
{"errorMsg":"Namespace bundle for topic (persistent://test/testn/testt) not 
served by this instance. Please redo the lookup. Request is denied: 
namespace=test/testn","reqId":100250947237580162, 
"remote":"broker-0.brokers.pulsar-dev.svc.cluster.local/10.42.4.195:6651", 
"local":"/10.42.13.202:53428"}
2022-08-23T18:15:09,744+ [pulsar-io-7-6] WARN 
org.apache.pulsar.client.impl.ConnectionHandler - 
[persistent://test/testn/testt] [pulsar.repl.cluster1-->cluster2] Could not get 
connection to broker: {"errorMsg":"Namespace bundle for topic 
(persistent://test/testn/testt) not served by this instance. Please redo the 
lookup. Request is denied: namespace=test/testn","reqId":100250947237580162, 
"remote":"broker-0.brokers.pulsar-dev.svc.cluster.local/10.42.4.195:6651", 
"local":"/10.42.13.202:53428"} -- Will try again in 24.362 s
```
log local broker-0
```
2022-08-23T18:15:09,743+ [pulsar-io-7-2] INFO 
org.apache.pulsar.broker.service.ServerCnx - 
[/10.42.13.202:53428][persistent://test/testn/testt] Creating producer. 
producerId=78
2022-08-23T18:15:09,743+ [pulsar-io-7-2] WARN 
org.apache.pulsar.broker.service.BrokerService - Namespace bundle for topic 
(persistent://test/testn/testt) not served by this instance. Please redo the 
lookup. Request is denied: namespace=test/testn
```

Another thing to notice is that I'm using the same k8s namespace name on both 
environments.
Is this causing the problem or is the local-broker/remote-proxy that is not 
working as expected?

GitHub link: https://github.com/apache/pulsar/discussions/17245


This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@pulsar.apache.org



Re: [Vote] PIP-192 New Pulsar Broker Load Balancer

2022-08-23 Thread Heesung Sohn
Hi, Pulsar dev community,

This vote has been open for 23 days, and we are closing this vote today as
this PIP received three binding +1s.

We are moving forward and starting implementation -- there will be a series
of PRs and sub-PIPs(if further design discussions are required).

Thank you,
Heesung

On Tue, Aug 9, 2022 at 4:56 AM guo jiwei  wrote:

> +1
>
> Regards
> Jiwei Guo (Tboy)
>
>
> On Tue, Aug 9, 2022 at 3:12 PM Qiang Huang 
> wrote:
>
> > +1 (non-binding)
> >
> > Kai Wang  于2022年8月5日周五 10:18写道:
> >
> > > +1 (non-binding)
> > >
> > > Thanks,
> > > Kai
> > >
> > > Heesung Sohn  于2022年8月2日周二
> > 08:50写道:
> > >
> > > > Dear Pulsar Community,
> > > >
> > > > Please review and vote on this PIP.
> > > >
> > > > PIP link: https://github.com/apache/pulsar/issues/16691
> > > >
> > > > Thank you,
> > > > -Heesung
> > > >
> > >
> >
> >
> > --
> > BR,
> > Qiang Huang
> >
>


Re: [DISCUSS] Move PIPs to the codebase?

2022-08-23 Thread PengHui Li
Hi Rajan,

> I didn't understand this part. You want one to create a PR before
submitting a proposal? That's clearly not a good idea because if the PIP
approach will change then the entire development effort will be wasted and
that's the whole purpose of PIP. I guess creating PIP into an issue and
discussing the issue is definitely working and it's an easier way to
discuss quickly rather than discussing over email threads.

Sorry, I mean create a PR to add the proposal, not the implementation.
Before adding the proposal, we should discuss the motivation on the mailing
list first.

> Let's not change this practice without good discussion and agreement from
the community.

I don't think this essentially changes this part, it just provides a way
for reviewers to
review the details of the proposal more efficiently. For a quick
discussion, this will not change
it. Let me try to clarify the procedure after we applied this idea


   1. Send the email first to discuss the motivation of your proposal
   2. Discuss the motivation under the mailing list and request a PIP
   number if there are no objections
   3. Create a PR to add the detailed proposal
   4. *Send out the VOTE email with the PR link*
   5. *Review the proposal(The PR) on Github and vote under the mailing
   list.*
   6. Merge the PR of the proposal after the proposal get 3 (+1) bindings

The only difference is step 4 and step 5. Currently, we share the issue
link to ask for a review.

Thanks,
Penghui

On Wed, Aug 24, 2022 at 1:22 AM Rajan Dhabalia 
wrote:

> Hi,
>
> >>> I think we can move all the PIPs to the codebase and the new proposal
> and proposal without any reviews should happen with a PR first. So that we
> can review and comment easily.
>
> I didn't understand this part. You want one to create a PR before
> submitting a proposal? That's clearly not a good idea because if the PIP
> approach will change then the entire development effort will be wasted and
> that's the whole purpose of PIP. I guess creating PIP into an issue and
> discussing the issue is definitely working and it's an easier way to
> discuss quickly rather than discussing over email threads.
>
> Let's not change this practice without good discussion and agreement from
> the community.
>
> Thanks,
> Rajan
>
> On Thu, Aug 18, 2022 at 8:27 AM PengHui Li  wrote:
>
> > Hi all,
> >
> > Currently, the new proposal will be added to the issue list and then
> shared
> > link in the email
> > to request the proposal review. It's really hard to review a long
> proposal
> > if you want to comment
> > in detail.
> >
> > Here is an example:
> > https://github.com/apache/pulsar/issues/16763#issuecomment-1219606491
> > This seems very unintuitive.
> >
> > I think we can move all the PIPs to the codebase and the new proposal and
> > proposal without
> > any reviews should happen with a PR first. So that we can review and
> > comment easily.
> > Certainly, all the votes should happen on the mailing list. And we can
> also
> > discuss the
> > proposal on the mailing list.
> >
> > Following this way, we don't need to sync the PIPs from the issue to the
> > wiki page.
> > We can just add a link that points to the PIPs dir to the contribution
> > guide or README.
> >
> > We have another pain point about the duplicated PIP number. We can
> maintain
> > a file, a list of
> > all the proposal contains the approved, in-review, drafting. Before
> > creating a proposal, we should
> > have a discussion first on the mailing list, just get feedback on the
> > motivation. If there are no objections,
> > the proposal owner can add a line to the file with the PIP number
> through a
> > PR, like PIP-123: xxx (Under Discussion).
> > So that we can prevent the duplicated PIP number(which will conflict if
> > someone merged first).
> > After the PR is merged, we can send out a new PR to add the proposal.
> >
> > Thanks,
> > Penghui
> >
>


Re: [DISCUSS] Apache Pulsar 2.11.0 Release

2022-08-23 Thread guo jiwei
Hi all,
   We have merged all the blocker patches, and I decide to start the
release.
   The release note[1] for 2.11.0 is available for review, please help
review it and feel free to leave comments.


[1] https://github.com/apache/pulsar-site/pull/167


Regards
Jiwei Guo (Tboy)


On Wed, Aug 17, 2022 at 10:43 PM Enrico Olivelli 
wrote:

> This test is blocking all the PRs and so it is blocking the release:
> Error: Tests run: 9, Failures: 2, Errors: 0, Skipped: 3, Time elapsed:
> 21.724 s <<< FAILURE! - in
> org.apache.pulsar.client.impl.MultiTopicsConsumerImplTest
> 3681 Error:
> testParallelSubscribeAsync(org.apache.pulsar.client.impl.MultiTopicsConsumerImplTest)
> Time elapsed: 5.05 s <<< FAILURE!
> org.testng.internal.thread.ThreadTimeoutException: Method
>
> org.apache.pulsar.client.impl.MultiTopicsConsumerImplTest.testParallelSubscribeAsync()
> didn't finish within the time-out 5000
>
>
> Enrico
>
> Il giorno mer 17 ago 2022 alle ore 14:40 Nicolò Boschi
>  ha scritto:
> >
> > This is another blocker for 2.11.0 for a regression about streaming
> > dispatch that I found in the 2.11 branch
> > https://github.com/apache/pulsar/pull/17143
> >
> > Nicolò Boschi
> >
> >
> > Il giorno mer 17 ago 2022 alle ore 11:45 Enrico Olivelli <
> > eolive...@gmail.com> ha scritto:
> >
> > > We have this release blocker PR that is waiting for CI
> > > https://github.com/apache/pulsar/pull/17118
> > > the problem is about a new API that has been introduced in 2.11 but
> > > the API has a little problem and we must fix it before the API to be
> > > released to the public
> > >
> > > Enrico
> > >
> > > Il giorno mar 16 ago 2022 alle ore 10:13 guo jiwei
> > >  ha scritto:
> > > >
> > > > Thanks for Yunze's help for fixing rpm and deb packaging.
> > > >
> > > >
> > > > Regards
> > > > Jiwei Guo (Tboy)
> > > >
> > > >
> > > > On Wed, Aug 10, 2022 at 11:02 PM Yunze Xu
> 
> > > > wrote:
> > > >
> > > > > I found the scripts to build rpm and deb packages are broken, see
> > > > >
> > > > >
> > >
> https://github.com/apache/pulsar/wiki/Release-process#31-build-rpm-and-deb-packages
> > > > > .
> > > > >
> > > > > It's caused by https://github.com/apache/pulsar/pull/15376 and
> only
> > > > > affects the 2.11.0 release and higher versions. It should be a
> blocker
> > > > > for 2.11.0 release. I'm working on this issue at the moment and
> going
> > > > > to push a fix soon, as well as the CI to protect the rpm/deb
> packaging
> > > > > to avoid the regression.
> > > > >
> > > > > Thanks,
> > > > > Yunze
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > > 2022年8月4日 23:44,guo jiwei  写道:
> > > > > >
> > > > > > Hi all,
> > > > > >
> > > > > > Put an update here, we have created branch-2.11[1].
> > > > > >
> > > > > > [1] https://github.com/apache/pulsar/tree/branch-2.11
> > > > > >
> > > > > >
> > > > > > Regards
> > > > > > Jiwei Guo (Tboy)
> > > > > >
> > > > > >
> > > > > > On Wed, Jul 27, 2022 at 10:59 AM Zixuan Liu 
> > > wrote:
> > > > > >
> > > > > >> +1
> > > > > >>
> > > > > >> Thanks,
> > > > > >> Zixuan
> > > > > >>
> > > > > >> Yunze Xu  于2022年7月26日周二 23:34写道:
> > > > > >>
> > > > > >>> I opened a PR https://github.com/apache/pulsar/pull/16803 that
> > > might
> > > > > be
> > > > > >>> the blocker
> > > > > >>> of the release of 2.11.0, PTAL.
> > > > > >>>
> > > > > >>> Thanks,
> > > > > >>> Yunze
> > > > > >>>
> > > > > >>>
> > > > > >>>
> > > > > >>>
> > > > >  2022年7月22日 18:21,Zixuan Liu  写道:
> > > > > 
> > > > >  +1
> > > > > 
> > > > >  Thanks,
> > > > >  Zixuan
> > > > > 
> > > > >  Enrico Olivelli  于2022年7月22日周五 18:06写道:
> > > > > 
> > > > > > Il giorno ven 22 lug 2022 alle ore 12:05 guo jiwei
> > > > > >  ha scritto:
> > > > > >>
> > > > > >> I will take the release
> > > > > >
> > > > > > Thanks !
> > > > > >
> > > > > > Enrico
> > > > > >
> > > > > >>
> > > > > >> Regards
> > > > > >> Jiwei Guo (Tboy)
> > > > > >>
> > > > > >>
> > > > > >> On Fri, Jul 22, 2022 at 12:37 AM Nicolò Boschi <
> > > > > boschi1...@gmail.com
> > > > > >>>
> > > > > > wrote:
> > > > > >>
> > > > > >>> I understand the need for the Pulsar Summit.
> > > > > >>>
> > > > > >>> In that case I have to step back because I will be offline
> for
> > > the
> > > > > > next few
> > > > > >>> weeks
> > > > > >>> Sorry
> > > > > >>>
> > > > > >>> Nicolò Boschi
> > > > > >>>
> > > > > >>> Il Gio 21 Lug 2022, 06:32 PengHui Li 
> ha
> > > > > >> scritto:
> > > > > >>>
> > > > >  Thanks for volunteering Nicolò.
> > > > > 
> > > > > > So a plan could be to try to merge the work in progress
> > > targeted
> > > > > > for
> > > > > >>> 2.11
> > > > >  by the mid of August and then start the code freezing as
> > > described
> > > > > > in the
> > > > >  PIP.
> > > > > 
> > > > >  So the target release date will be early September. One
> point
> 

Re: [VOTE] [PIP-169] Support split bundle by flow or qps

2022-08-23 Thread guo jiwei
+1 (binding)


Regards
Jiwei Guo (Tboy)


On Wed, Aug 24, 2022 at 1:01 AM Heesung Sohn
 wrote:

> +1 (non-binding)
>
> Heesung
>
> On Tue, Aug 23, 2022 at 10:00 AM Anon Hxy  wrote:
> >
> > +1 (non-binding)
> >
> > Thanks,
> > Xiaoyu Hou
> >
> > lordcheng10 <1572139...@qq.com.invalid> 于2022年8月23日周二 15:10写道:
> >
> > > Hi Pulsar Community, I would like to start a VOTE on "Support split
> bundle
> > > by flow or qps."(PIP-169)
> > > Here is the design detail:
> https://github.com/apache/pulsar/issues/16782
> > >
> > >
> > > and the discussion thread:
> > > https://lists.apache.org/thread/cshyt10fwcjjxs93g8yf0svgwcgnshmg
> > >
> > >
> > > Thanks,
> > > lordcheng10
>


[GitHub] [pulsar-site] Sherlock113 opened a new pull request, #171: Update the website banner

2022-08-23 Thread GitBox


Sherlock113 opened a new pull request, #171:
URL: https://github.com/apache/pulsar-site/pull/171

   Update the banner to call for proposals for Pulsar Summit Asia 2022.
   
Preview:
   ![Screen Shot 2022-08-24 at 10 23 
56](https://user-images.githubusercontent.com/65327072/186303899-6b92ad2e-93a3-4e64-913f-6dfbcc70bf85.png)
   


-- 
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: dev-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[DISCUSS] Minor breaking change to 2 method signatures in RangeCache class

2022-08-23 Thread Michael Marshall
Hi All,

I'd like to add some more metrics to the broker entry cache. In order
to do so, I needed to update RangeCache#clear and
RangeCache#evictLEntriesBeforeTimestamp so they return Pair instead of long. This is technically a breaking change, but
since it is an internal broker class, it would only break broker
extensions, if they used the return value for these methods.

Please let me know if you think the changes will be a problem.

Here is the PR: https://github.com/apache/pulsar/pull/17248.

Thanks,
Michael


[GitHub] [pulsar-client-node] nkurihar closed issue #218: Issue with node pre gyp - accessing wrong lib URL

2022-08-23 Thread GitBox


nkurihar closed issue #218: Issue with node pre gyp - accessing wrong lib URL
URL: https://github.com/apache/pulsar-client-node/issues/218


-- 
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: dev-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [VOTE] [PIP-169] Support split bundle by flow or qps

2022-08-23 Thread Haiting Jiang
+1 (non)

Thanks,
Haiting

On Wed, Aug 24, 2022 at 10:19 AM guo jiwei  wrote:

> +1 (binding)
>
>
> Regards
> Jiwei Guo (Tboy)
>
>
> On Wed, Aug 24, 2022 at 1:01 AM Heesung Sohn
>  wrote:
>
> > +1 (non-binding)
> >
> > Heesung
> >
> > On Tue, Aug 23, 2022 at 10:00 AM Anon Hxy  wrote:
> > >
> > > +1 (non-binding)
> > >
> > > Thanks,
> > > Xiaoyu Hou
> > >
> > > lordcheng10 <1572139...@qq.com.invalid> 于2022年8月23日周二 15:10写道:
> > >
> > > > Hi Pulsar Community, I would like to start a VOTE on "Support split
> > bundle
> > > > by flow or qps."(PIP-169)
> > > > Here is the design detail:
> > https://github.com/apache/pulsar/issues/16782
> > > >
> > > >
> > > > and the discussion thread:
> > > > https://lists.apache.org/thread/cshyt10fwcjjxs93g8yf0svgwcgnshmg
> > > >
> > > >
> > > > Thanks,
> > > > lordcheng10
> >
>


[GitHub] [pulsar-site] tisonkun opened a new issue, #172: Dark/Light mode toggle cannot be clicked for develop-binary-protocol page

2022-08-23 Thread GitBox


tisonkun opened a new issue, #172:
URL: https://github.com/apache/pulsar-site/issues/172

   Reference https://pulsar.apache.org/docs/develop-binary-protocol/.
   
   cc @urfreespace


-- 
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: dev-unsubscr...@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [pulsar-site] tisonkun commented on issue #172: Dark/Light mode toggle cannot be clicked for develop-binary-protocol page

2022-08-23 Thread GitBox


tisonkun commented on issue #172:
URL: https://github.com/apache/pulsar-site/issues/172#issuecomment-1225201754

   Weird. This page should be:
   
   * https://pulsar.apache.org/docs/next/develop-binary-protocol, or
   * https://pulsar.apache.org/docs/next/developing-binary-protocol
   
   Where comes this page?


-- 
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: dev-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [VOTE] [PIP-169] Support split bundle by flow or qps

2022-08-23 Thread Aloys Zhang
+1

Haiting Jiang  于2022年8月24日周三 12:35写道:

> +1 (non)
>
> Thanks,
> Haiting
>
> On Wed, Aug 24, 2022 at 10:19 AM guo jiwei  wrote:
>
> > +1 (binding)
> >
> >
> > Regards
> > Jiwei Guo (Tboy)
> >
> >
> > On Wed, Aug 24, 2022 at 1:01 AM Heesung Sohn
> >  wrote:
> >
> > > +1 (non-binding)
> > >
> > > Heesung
> > >
> > > On Tue, Aug 23, 2022 at 10:00 AM Anon Hxy  wrote:
> > > >
> > > > +1 (non-binding)
> > > >
> > > > Thanks,
> > > > Xiaoyu Hou
> > > >
> > > > lordcheng10 <1572139...@qq.com.invalid> 于2022年8月23日周二 15:10写道:
> > > >
> > > > > Hi Pulsar Community, I would like to start a VOTE on "Support split
> > > bundle
> > > > > by flow or qps."(PIP-169)
> > > > > Here is the design detail:
> > > https://github.com/apache/pulsar/issues/16782
> > > > >
> > > > >
> > > > > and the discussion thread:
> > > > > https://lists.apache.org/thread/cshyt10fwcjjxs93g8yf0svgwcgnshmg
> > > > >
> > > > >
> > > > > Thanks,
> > > > > lordcheng10
> > >
> >
>


[GitHub] [pulsar] abcMH1966 added a comment to the discussion: I encountered a port error when using pulsar to integrate etcd

2022-08-23 Thread GitBox


GitHub user abcMH1966 added a comment to the discussion: I encountered a port 
error when using pulsar to integrate etcd

> What's your pulsar version?

the latest version: 2.10.1

GitHub link: 
https://github.com/apache/pulsar/discussions/17240#discussioncomment-3462438


This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@pulsar.apache.org



[GitHub] [pulsar] abcMH1966 added a comment to the discussion: I encountered a port error when using pulsar to integrate etcd

2022-08-23 Thread GitBox


GitHub user abcMH1966 added a comment to the discussion: I encountered a port 
error when using pulsar to integrate etcd

> [This PR](https://github.com/apache/pulsar/pull/16309) had resolve pulsar 
> working with etcd cluster and seems like have not any release version of 
> pulsar include it. and i have build a version of pulsar from master, could 
> you try it? `docker pull ghcr.io/pulsar-sigs/pulsar:2022-08-23` or `docker 
> pull lypgcs/pulsar:2022-08-23`

I'll have a try. Thanks!

GitHub link: 
https://github.com/apache/pulsar/discussions/17240#discussioncomment-3462479


This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@pulsar.apache.org