?本月看点速览
  • 产品动态

    • 新增 PIP

    • 新增功能(2.6.0)

    • Bug 修复(2.6.0)

  • 社区动态

    • 海内外社区动态

    • 技术干货


产 品 动 态2020 年 6 月 18 日,Apache Pulsar 正式发布了 2.6.0 版本!Pulsar 2.6.0 版本新增了诸多功能,并修复了大量漏洞,覆盖存储端、Broker 端、客户端、Pulsar Functions、Pulsar IO、Pulsar SQL、Pulsar proxy 和安全等多方面,一如既往地丰富和完善了 Pulsar 作为一个云原生流数据平台的能力。更多详情参考:Apache Pulsar 2.6.0 重磅发布,新特性独家解读同时本月也发布了 Pulsar Go Client 0.1.1 版本。继 Go CLient 0.1.0 发布以来,Go Client 因其强大的易用性得到广泛用户的青睐。同时,也吸引越来越多的用户进一步丰富 Go Client 特性并修复其中的一些 Bug。更多详情参考:Go Client 0.1.1 版本发布同时关于 Pulsar Client 在本月也是相继发布了 1.3.0 和 1.4.0 版本。更多详情可参考:
https://www.nuget.org/packages/Pulsar.Client/1.3.0
https://www.nuget.org/packages/Pulsar.Client/1.4.0新增 PIPPIP 66: Function Mesh(2.6.0)Pulsar Functions 已成为用于简单实时消息处理场景的便捷工具。它允许用户使用最少的接口来实现业务逻辑,然后直接提交给现有的 Pulsar 集群以执行。简单性有两个方面:简单的接口和简单的部署方式。用户无需学习复杂的框架使用即可简单的在 Pulsar Function 上工作。而且,他们也不需要建立和维护新的流处理基础架构集群即可运行这些功能。由于功能已经使用了一段时间,因此我们意识到,更多的场景需要将多个 Functions 组织在一起的工作。在 Function Mesh 的支持下,用户可以轻松地表达和管理多 Functions 的工作。另外,此支持还提供了更高级别的抽象DSL的可能性,以进一步简化作业组成。我们称此新功能为 “Function Mesh”。PIP 67: 将 Pulsarctl 回馈给 Apache PulsarPulsarctl 是 pulsar-admin 的替代工具,用于管理 Apache Pulsar 中的资源。Pulsarctl 是用 Go 编写的,基于 Pulsar REST API。
它为 Go 开发人员提供 API 接口和用户友好的命令,使与 Pulsar Client 的交互变得更加容易。与 pulsar-admin 相比,Pulsarctl 更加用户友好。Pulsarctl 使用命令所需的依赖关系更少,并提供了更全面的命令描述和用法。使用 Pulsarctl,用户可以在发生错误时更快地找到并解决问题。
新 增 功 能
(2.6.0)
  • 新增新的 ThresholdShedder

    https:///apache/pulsar/pull/6772

     

  • Key_Shared 订阅模式中增加一致性 hash consumer 分配策略

    https:///apache/pulsar/pull/6791

     

  • Pulsar java client 将基于 JNI 的压缩算法库替换为 AirCompressor

    https:///apache/pulsar/pull/5390

     

  • 支持多个 Pulsar 集群使用相同的 BookKeeper 集群

    https:///apache/pulsar/pull/5985

     

  • 支持配置 ZooKeeper 缓存失效时间

    https:///apache/pulsar/pull/6668

  • 为 topic 新增精确发送速率限制

    https:///apache/pulsar/pull/7078

     

  • 支持配置等待新消息的延迟

    https:///apache/pulsar/pull/7139

     

  • 支持在没有新消息写入的情况下通过设置 `maxLedgerRolloverTimeMinutes` 参数触发 ledger 切换

    https:///apache/pulsar/pull/7111

Bug 修复

(2.6.0)

 

  • 修复新增 consumer 时,KeyShared 模式下消息分发出现的乱序问题

    https:///apache/pulsar/pull/7106https:///apache/pulsar/pull/7108

     

  • 修复 consumer 读取 batch message 时导致内存使用过多的问题

    https:///apache/pulsar/pull/6719

     

  • 修复 backlog 指标持续增长的问题

    https:///apache/pulsar/pull/7082

     

  • 修复创建 producer 时指定不存在的 topic 导致的内存泄漏问题

    https:///apache/pulsar/pull/7120https:///apache/pulsar/pull/7124

     

  • 修复消息重复发送至 Dead letter topic 的问题

    https:///apache/pulsar/pull/7021

     

  • 修复 Pulsar SQL 使用多个 zookeeper 地址的问题

    https:///apache/pulsar/pull/6947


社区动态

 Pulsar Summit 2020 圆满结束

为期两天的线上全球会议 Pulsar Summit 2020 圆满结束,Pulsar 社区的大佬们也为大家带来了 30+ 的主题分享,干货满满。所有的回放视频和 Slides 可以参考 StreamNative 官网:
https://streamnative.io/resource#pulsar-summit同时在 Pulsar Summit 进行之前,6 月 11-12 日和 6 月 15-16 日也相继举办了「 Pulsar training - Developing Pulsar Applications」的课程集训,由高级工程师 Jesse Anderson 为大家带来紧锣密鼓的课程。

 TGIP 系列更新

 TGIP
  • 013: Pulsar Schema and Presto SQL

    https:///watch?v=01IZV4npVPo

  • 014: Pulsar Schema and Flink Integration

    https:///watch?v=Tc6vwyzzsh4

TGIP-CN015: 跨城实践中,腾讯如何应用 Apache Pulsar

AoP 宣布开源

6 月 17 日,StreamNative 和中国移动宣布将 “AoP”(AMQP on Pulsar)开源。AoP 将 AMQP 协议处理插件引入 Pulsar broker。这样一来,Apache Pulsar 就支持原生 AMQP 协议。将 AoP 协议处理插件添加到现有 Pulsar 集群后,用户不用修改代码就可以将现有的 RabbitMQ 应用程序和服务迁移到 Pulsar。更多详情参考:StreamNative 和中国移动宣布开源 AoP:Apache Pulsar 支持原生 AMQP 协议

 参与其他科技性会议

在本月 Flink Forward 会议中,来自 StreamNative 的工程师吕能为大家分享了关于 Pulsar 相关的话题——Build your next-generation stream platform based on Apache Pulsar。视频回放:
http:///build-your-next-generation-stream-platform-based-on-apache-pulsar-neng-lu/在 Scala in the City Conference  中,Andreas Koestler 为大家分享了关于 Pulsar 相关的话题 “Scaling out WebSockets, Streams, Communicating FSMs and Apache Pulsar!” 更多详情参考:https://www.signifytechnology.com/blog/2020/06/connecting-millions-of-users-by-andreas-koestler-at-scala-in-the-city-conference技 术 博 客
  • 如何使用 OpenTracing 和 Jaeger 追踪 Pulsar 消息

  • 为什么选择 Apache BookKeeper - Part 1

  • 使用 GCS offloader 卸载存储在 BookKeeper 中的数据

  • Apache Pulsar walks into a data bar
    https://lenses.io/blog/2020/06/apache-pulsar-walks-data-bar/?utm_source=Twitter&utm_medium=Social_Channels&utm_campaign=tweet_5_june

  • Event-driven Functions with Apache Pulsar & Project Flogo
    https://hackernoon.com/event-driven-functions-with-apache-pulsar-and-project-flogo-wag3y4u

  • Creating an External Scaler for KEDA
    https:///@krvarma/creating-an-external-scaler-for-keda-31b314b5c4a3


以上就是 6 月份的脉动之旅。

 

Apache Pulsar 社区鼓励大家积极参与开源社区,无论是文档、代码、翻译,还是技术博客,都欢迎大家积极参与,早日成为 Pulsar contributor,一起加油鸭。

 

如果你对 Pulsar Contribute 的流程不太熟练,也可以参考我们这篇小教程,让你熟悉如何通过 GitHub 对 Pulsar 进行贡献:新手向|非技术人员如何参与 Pulsar 项目进行贡献

 

参与贡献项目可选:

 

  • Apache Pulsar 项目
    https:///apache/pulsar

  • Pulsar 技术文档翻译
    https:///apache/pulsar-translation