Re: [VOTE] Pulsar Release 3.1.2 Candidate 2

2023-12-28 Thread PengHui Li
+1 (binding)

- Built from source
- Checked the signatures
- Run standalone
- Checked producer and consumer
- Verified the Cassandra connector
- Verified the Stateful function

Regards,
Penghui

On Mon, Dec 25, 2023 at 10:34 PM houxiaoyu  wrote:

> bump
>
> Enrico Olivelli  于2023年12月18日周一 21:21写道:
>
> > +1 (binding)
> >
> > Built from sources
> > Run some smoke tests with Pulsar standalone
> > Verified checksums and signatures (I had to import KEYS, there was a new
> > key)
> >
> > Enrico
> >
> > Il giorno mer 13 dic 2023 alle ore 09:42 guo jiwei
> >  ha scritto:
> > >
> > > +1 (binding)
> > >
> > > - Checked the signatures
> > > - Built from source
> > > - Run standalone and check the produce, consume
> > > - Verified Cassandra connector
> > > - Verified stateful function
> > >
> > >
> > > Regards
> > > Jiwei Guo (Tboy)
> > >
> > >
> > > On Sat, Dec 9, 2023 at 2:48 PM houxiaoyu  wrote:
> > >
> > > > This is the second release candidate for Apache Pulsar version 3.1.2.
> > > >
> > > > It fixes the following issues:
> > > >
> > > >
> >
> https://github.com/apache/pulsar/pulls?q=is%3Apr+is%3Amerged+label%3Arelease%2F3.1.2+label%3Acherry-picked%2Fbranch-3.1+
> > > >
> > > > *** 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-3.1.2-candidate-2/
> > > >
> > > > SHA-512 checksums:
> > > >
> > > > apache-pulsar-3.1.2-bin.tar.gz
> > > >
> > > >
> >
> 48e2d0069cd69c6f2bf5b5d5aa9fbc775436d3e160bd51645a6626fb86706ddba4901a5d6b87e29a57b9f19c0d0b8c22aef2dfa3d3525260ad55d0a39db6
> > > >
> > > > apache-pulsar-3.1.2-src.tar.gz
> > > >
> > > >
> >
> 4d29b1f707047d1bd55d8cb8aacb488517fbd82903fef57c9924180b62454725bdbdc53adf7af5d5caa4d57522a10d6eb15028fd929325b9cadd088a6e3de20a
> > > >
> > > > Maven staging repo:
> > > >
> > https://repository.apache.org/content/repositories/orgapachepulsar-1256/
> > > >
> > > > The tag to verify:
> > > > v3.1.2-candidate-2 (c4196fba3ae107d74f9421d3f7ed11c0c245f10f)
> > > > https://github.com/apache/pulsar/releases/tag/v3.1.2-candidate-2
> > > >
> > > > Pulsar's KEYS file containing PGP keys you use to sign the release:
> > > > https://dist.apache.org/repos/dist/dev/pulsar/KEYS
> > > >
> > > > Docker images:
> > > >
> > > > pulsar images:
> > > > https://hub.docker.com/repository/docker/anonhxygo/pulsar
> > > >
> > > > pulsar-all images:
> > > > https://hub.docker.com/repository/docker/anonhxygo/pulsar-all
> > > >
> > > > Please download the source package, and follow the README to build
> > > > and run the Pulsar standalone service.
> > > >
> > > >
> > > > Regards
> > > > Xiaoyu Hou
> > > >
> >
>


Re: [VOTE] Pulsar Release 2.11.3 Candidate 2

2023-12-28 Thread PengHui Li
+1 (binding)

- Built from source
- Checked the signatures
- Run standalone
- Checked producer and consumer
- Verified the Cassandra connector
- Verified the Stateful function

Regards,
Penghui

On Mon, Dec 25, 2023 at 9:19 PM guo jiwei  wrote:

> +1 (binding)
>
>
> - Checked the signatures
> - Built from source
> - Run standalone and check the produce, consume
> - Verified Cassandra connector
> - Verified stateful function
>
> Regards
> Jiwei Guo (Tboy)
>
>
> On Thu, Dec 21, 2023 at 9:32 AM Baodi Shi  wrote:
>
> > This is the second release candidate for Apache Pulsar, version 2.11.3.
> >
> > It fixes the following issues:
> >
> >
> https://github.com/apache/pulsar/pulls?q=is%3Apr+label%3Arelease%2F2.11.3+is%3Aclosed
> >
> > *** 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.11.3-candidate-2/
> >
> > SHA-512 checksums:
> >
> >
> >
> 521316ea9f01b54f0fb3981dc017d3529de4019360c57c38c72c1ecfa53030927b93608acd71d0eb58f3e7eb6b4a2583a94796462d577d7dca0ba935a2f68fcf
> >  ./apache-pulsar-2.11.3-bin.tar.gz
> >
> >
> >
> 4510c16d6ec90847eb8dff0246bd09190f99bc10a30702ab5f521971b13b6cffe0f9d1de9637b85340154ee38764a39551fd871bd1132d7760fb3a7e931a20e3
> >  ./apache-pulsar-2.11.3-src.tar.gz
> >
> >
> > Maven staging repo:
> > https://repository.apache.org/content/repositories/orgapachepulsar-1258/
> >
> > The tag to be voted upon:
> > v2.11.3-candidate-2 (c7ac62c
> > <
> >
> https://github.com/apache/pulsar/commit/c7ac62ca9eb718e15c3e3e4a460167643ef3f48b
> > >
> > )
> > https://github.com/apache/pulsar/releases/tag/v2.11.3-candidate-2
> >
> > Pulsar’s KEYS file containing PGP keys you use to sign the release:
> > https://downloads.apache.org/pulsar/KEYS
> >
> > Docker images:
> > docker pull wudixiaobaozi/pulsar-all:2.11.3
> > docker pull wudixiaobaozi/pulsar:2.11.3
> >
> > Please download the source package, and follow the README to build
> > and run the Pulsar standalone service.
> >
> > Thanks,
> > Baodi Shi
> >
>


Re: [VOTE] Pulsar Client Python Release 3.4.0 Candidate 1

2023-12-28 Thread PengHui Li
+1 (binding)

- Checked the signature
- Install the pulsar_client-3.4.0-cp39-cp39-macosx_10_15_universal2.whl
- Run Pulsar standalone
- Run the Python examples `python3 ./examples/consumer.py` and `python3
./examples/producer.py`

Regards,
Penghui

On Tue, Dec 26, 2023 at 4:54 PM Zike Yang  wrote:

> This is the first release candidate for Apache Pulsar Client Python,
> version 3.4.0.
>
> It fixes the following issues:
> https://github.com/apache/pulsar-client-python/milestone/5?closed=1
>
> *** Please download, test and vote on this release. This vote will
> stay open for at least 72 hours ***
>
> Python wheels:
>
> https://dist.apache.org/repos/dist/dev/pulsar/pulsar-client-python-3.4.0-candidate-1/
>
> The supported python versions are 3.8, 3.9, 3.10, 3.11 and 3.12. The
> supported platforms and architectures are:
> - Windows x86_64 (windows/)
> - glibc-based Linux x86_64 (linux-glibc-x86_64/)
> - glibc-based Linux arm64 (linux-glibc-arm64/)
> - musl-based Linux x86_64 (linux-musl-x86_64/)
> - musl-based Linux arm64 (linux-musl-arm64/)
> - macOS universal 2 (macos/)
>
> You can download the wheel (the `.whl` file) according to your own OS
> and Python version
> and install the wheel:
> - Windows: `py -m pip install *.whl --force-reinstall`
> - Linux or macOS: `python3 -m pip install *.whl --force-reinstall`
>
> The tag to be voted upon: v3.4.0-candidate-1
> (v3.4.0-candidate-1)
> https://github.com/apache/pulsar-client-python/tree/v3.4.0-candidate-1
>
> Pulsar's KEYS file containing PGP keys you use to sign the release:
> https://downloads.apache.org/pulsar/KEYS
>
> Please download the Python wheels and follow the README to test.
>


[DISCUSS] Return value of org.apache.pulsar.client.admin.Topics#getMessageById

2023-12-28 Thread Zixuan Liu
Hi Pulsar Community,

I want to discuss the return value of the
`org.apache.pulsar.client.admin.Topics#getMessageById`, which returns
`Message`. If the message is a batch message, we only get the first
message from the batch message.

So I want to change this behavior by returning `List`, and
in the CLI, we also need to print multiple messages when using
`get-message-by-id`.

Now, I am adding a new method with the same name and a `batchIndex`
parameter. When "batchIndex" is -1, we can retrieve all messages from the
batch message. Otherwise, we get one message by giving the index. For this
implementation, please see  https://github.com/apache/pulsar/pull/21813.

In long time ago, there was also a PR to fix this issue, please see
https://github.com/apache/pulsar/pull/19827.

Two PR uses different ways to fix this issue, please let me know your
thoughts!

Thanks,
Zixuan


Re: [DISCUSS] Return value of org.apache.pulsar.client.admin.Topics#getMessageById

2023-12-28 Thread Yunze Xu
IMO, exposing the ledger id and entry id directly through the API is
not a good idea. For example, what if you want to get a chunked
message? You would have to add another field again and deprecate the
existing method.

I think we should just accept a string like
"bk:ledger:entry:batch_index" that represents a MessageID instead. If
we're going to replace BK with other storage systems in future (though
I think it's far way from now), we can still reuse this API.

Thanks,
Yunze

On Thu, Dec 28, 2023 at 5:21 PM Zixuan Liu  wrote:
>
> Hi Pulsar Community,
>
> I want to discuss the return value of the
> `org.apache.pulsar.client.admin.Topics#getMessageById`, which returns
> `Message`. If the message is a batch message, we only get the first
> message from the batch message.
>
> So I want to change this behavior by returning `List`, and
> in the CLI, we also need to print multiple messages when using
> `get-message-by-id`.
>
> Now, I am adding a new method with the same name and a `batchIndex`
> parameter. When "batchIndex" is -1, we can retrieve all messages from the
> batch message. Otherwise, we get one message by giving the index. For this
> implementation, please see  https://github.com/apache/pulsar/pull/21813.
>
> In long time ago, there was also a PR to fix this issue, please see
> https://github.com/apache/pulsar/pull/19827.
>
> Two PR uses different ways to fix this issue, please let me know your
> thoughts!
>
> Thanks,
> Zixuan


Re: [VOTE] Pulsar Client Python Release 3.4.0 Candidate 1

2023-12-28 Thread Yunze Xu
+1 (binding)

For source code,
* verified signatures and checksums
* built from source on macOS (with C++ client 3.4.2)

For the following wheels, verified end-to-end with OAuth2
authentication on specific platforms.
* the wheel built from source (macOS Ventura 13.6.3)
* pulsar_client-3.4.0-cp312-cp312-macosx_10_15_universal2.whl (macOS
Ventura 13.6.3)
* pulsar_client-3.4.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
(Rocky Linux 9)
* 
pulsar_client-3.4.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
(Ubuntu 22.04)

Thanks,
Yunze

On Thu, Dec 28, 2023 at 5:13 PM PengHui Li  wrote:
>
> +1 (binding)
>
> - Checked the signature
> - Install the pulsar_client-3.4.0-cp39-cp39-macosx_10_15_universal2.whl
> - Run Pulsar standalone
> - Run the Python examples `python3 ./examples/consumer.py` and `python3
> ./examples/producer.py`
>
> Regards,
> Penghui
>
> On Tue, Dec 26, 2023 at 4:54 PM Zike Yang  wrote:
>
> > This is the first release candidate for Apache Pulsar Client Python,
> > version 3.4.0.
> >
> > It fixes the following issues:
> > https://github.com/apache/pulsar-client-python/milestone/5?closed=1
> >
> > *** Please download, test and vote on this release. This vote will
> > stay open for at least 72 hours ***
> >
> > Python wheels:
> >
> > https://dist.apache.org/repos/dist/dev/pulsar/pulsar-client-python-3.4.0-candidate-1/
> >
> > The supported python versions are 3.8, 3.9, 3.10, 3.11 and 3.12. The
> > supported platforms and architectures are:
> > - Windows x86_64 (windows/)
> > - glibc-based Linux x86_64 (linux-glibc-x86_64/)
> > - glibc-based Linux arm64 (linux-glibc-arm64/)
> > - musl-based Linux x86_64 (linux-musl-x86_64/)
> > - musl-based Linux arm64 (linux-musl-arm64/)
> > - macOS universal 2 (macos/)
> >
> > You can download the wheel (the `.whl` file) according to your own OS
> > and Python version
> > and install the wheel:
> > - Windows: `py -m pip install *.whl --force-reinstall`
> > - Linux or macOS: `python3 -m pip install *.whl --force-reinstall`
> >
> > The tag to be voted upon: v3.4.0-candidate-1
> > (v3.4.0-candidate-1)
> > https://github.com/apache/pulsar-client-python/tree/v3.4.0-candidate-1
> >
> > Pulsar's KEYS file containing PGP keys you use to sign the release:
> > https://downloads.apache.org/pulsar/KEYS
> >
> > Please download the Python wheels and follow the README to test.
> >