Re: [VOTE] Pulsar Release 3.1.2 Candidate 2

2024-01-01 Thread houxiaoyu
Thanks everyone!

The vote is now closed and the release was approved with
3 +1s(3 bindings);

Binding votes:
* Enrico Olivelli
* Jiwei Guo (Tboy)
* Penghui Li

PengHui Li  于2023年12月28日周四 16:32写道:

> +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: [DISCUSS] Return value of org.apache.pulsar.client.admin.Topics#getMessageById

2024-01-01 Thread Zixuan Liu
> I think we should just accept a string like
"bk:ledger:entry:batch_index" that represents a MessageID instead.

Sure, this is a good idea. I can follow this format without `bk:`.

What do you think?

Thanks,
Zixuan


Yunze Xu  于2023年12月29日周五 12:34写道:

> 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 Release 2.11.3 Candidate 2

2024-01-01 Thread Yubiao Feng
+1(binding)

- Checked the signatures
- Run standalone and check the produce, consume
- Verified Cassandra connector
- Verified stateful function

Thanks
Yubiao Feng

On Thu, Dec 28, 2023 at 5:03 PM PengHui Li  wrote:

> +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
> > >
> >
>