Pulsar 社区周报|2021-05-03~2021-05-09

关于 Apache Pulsar

Apache Pulsar 是 Apache 软件基金会顶级项目,是下一代云原生分布式消息流平台,集消息、存储、轻量化函数式计算为一体,采用计算与存储分离架构设计,支持多租户、持久化存储、多机房跨区域数据复制,具有强一致性、高吞吐、低延时及高可扩展性等流数据存储特性。

GitHub 地址:http://github.com/apache/pulsar/

导语

各位小伙伴们,Pulsar 社区周报更新来啦!

本次 Pulsar 社区周报,为大家呈现 Pulsar client、broker、transactions 等内容,帮助社区小伙伴们掌握 Pulsar 项目及社区每周进展,也方便大家更好地参与到 Pulsar 社区中来!

感谢本周以下小伙伴为 Apache Pulsar 添砖加瓦(排名不分先后,看看你有没有上榜):

jerrypeng、dlg99、rdhabalia、linlinnn、315157973、k2la、eolivelli、wolfstudy、cbornet、abhilashmandaliya、 fantapsody、lhotari、merlimat、devinbost、BewareMyPower、zymap、freeznet、codelipenghui、dragonls、KannarFr

接下来,一起看看 5 月 3 日 ~ 5 月 9 日有哪些值得你关注的进展吧!

本周亮点

C++ Client:避免发送零许可的流请求。

https://github.com/apache/pulsar/pull/10506

贡献者:@BewareMyPower

Java Client:避免发送零许可的流请求。

https://github.com/apache/pulsar/pull/10507

贡献者:@BewareMyPower

重要进展

PIP-45:恢复会话后,重新验证 leader 选举。

https://github.com/apache/pulsar/pull/10457

贡献者:@merlimat

重要特性

  • 因为 PR 较多,仅列举较大 PR 进展,不包括当周全部动态

  • 下面 PR 均已合入 Pulsar 主分支

Broker:在强制删除 namespace 后,删除剩余信息。

https://github.com/apache/pulsar/pull/10465

贡献者:@315157973

Client:修复 Pulsar 客户端空指针异常的问题。

https://github.com/apache/pulsar/pull/10470

贡献者:@abhilashmandaliya

Bookie:修复 ledger rollover 期间发布回调的 entry 数据为空的问题。

https://github.com/apache/pulsar/pull/10467

贡献者:@BewareMyPower

Enhancement:改进在本地运行启动过程中处理错误的方式。

https://github.com/apache/pulsar/pull/10450

贡献者:@jerrypeng

Broker:MetadataCache 中的 readModifyUpdate 应返回赋予新值的CompletableFuture<T>

https://github.com/apache/pulsar/pull/10474

贡献者:@merlimat

Enhancement:修复 TopicPolicies 可能存在的内存泄漏。

https://github.com/apache/pulsar/pull/10466

贡献者:@315157973

Consumer:使 consumer 线程安全且无锁。

https://github.com/apache/pulsar/pull/10352

贡献者:@315157973

Broker:HttpLookupService 支持 listenerName 配置项。

https://github.com/apache/pulsar/pull/10319

贡献者:@315157973

Bookie:修复获取统计信息和每个 namespace 的最大 topic 数时可能出现的错误,并删除不必要的错误日志。

https://github.com/apache/pulsar/pull/10500

贡献者:@jerrypeng

Java Client:使用 KeyValueSchema 修复 Schema.AUTO_CONSUME() 的行为并编写不同版本的 schema。

https://github.com/apache/pulsar/pull/10492

贡献者:@eolivelli

Broker:为拦截器添加 onFilter

https://github.com/apache/pulsar/pull/10489

贡献者:@315157973

Test:从隔离组中删除与 key_shared 相关的测试。

https://github.com/apache/pulsar/pull/10508

贡献者:@codelipenghui

重要 Bug 修复

  • 因修复内容较多,仅列举较重要修复内容,不包括本周全部动态

  • 下面修复均已合入 Pulsar 主分支

Broker:将日志记录添加到 JavaInstanceRunnable 中,帮助调试问题。

https://github.com/apache/pulsar/pull/10461

贡献者:@devinbost

Function:修复 Pulsar Function API 无法使用身份验证数据检查超级用户的问题。

https://github.com/apache/pulsar/pull/10364

贡献者:@zymap

Client:修复 hasMessageAvailableAsync 返回 true 但无法读取消息的问题。

https://github.com/apache/pulsar/pull/10414

贡献者:@315157973

Broker:修复在未创建调度程序情况下解锁卡住的订阅任务时出现的空指针异常问题。

https://github.com/apache/pulsar/pull/10430

贡献者:@rdhabalia

Client:修复 GenericJsonRecord 中的空指针异常问题。

https://github.com/apache/pulsar/pull/10482

贡献者:@abhilashmandaliya

Broker:修复更新分区 topic 的分区号时产生的授权错误。

https://github.com/apache/pulsar/pull/10333

贡献者:@dragonls

Broker:在新的 namespace 路由上支持 PolicyNameAuthz

https://github.com/apache/pulsar/pull/7900

贡献者:@KannarFr

Offloader:修复 AWS 凭证使用问题。

https://github.com/apache/pulsar/pull/8950

贡献者:@KannarFr

Pulsar-IO:暴露 SinkContext 中的 SubscriptionType

https://github.com/apache/pulsar/pull/10446

贡献者:@dlg99

Function:修复死锁,监控被 LeaderService.isLeader() 阻塞的线程。

https://github.com/apache/pulsar/pull/10502

贡献者:@freeznet

Function:支持为插件程序服务设置自定义配置。

https://github.com/apache/pulsar/pull/10504

贡献者:@freeznet

Authz:添加 topic API 身份验证的颗粒度。

https://github.com/apache/pulsar/pull/7523

贡献者:@KannarFr

活动和新闻

博文推荐

相关阅读


作为全球性开源项目,截至 2021 年 5 月 9 日,Apache Pulsar 已拥有 394 名贡献者、8.3 K+ Star 、2.0 K+ Fork 。正是由于分布在全球各地的社区开发者的贡献,才使得 Apache Pulsar 项目不断发展与前进。

让我们期待下一周的 Apache Pulsar 周报!

如果你也想为 Apache Pulsar 项目出一份力、成为我们的 Contributor,参考下面链接,来加入我们吧:

Apache Pulsar 官方贡献指南

posted on 2021-05-14 16:04  Apache-Pulsar  阅读(93)  评论(0编辑  收藏  举报