Pulsar 社区周报|2020-09-26 ~ 2020-10-09

关于 Apache Pulsar

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

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

导语

各位小伙伴们,Pulsar 社区周报带着假期期间的更新来啦!

在阅读周报之前,大家记得把活动加入日程哦:10 月 15 日,即周四晚上 8-9 点,Apache Pulsar PMC 翟佳将在云原生学院分享 Apache Pulsar 架构与最新技术进展,以及云原生时代下消息流系统的技术发展。观看直播参与活动还可以获得 Pulsar t 恤和周边哦。

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

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

@zymap@315157973@hangc0276@racorn@lhotari@BewareMyPower@wangjialing218@rdhabalia@srkukarni@k2la@massakam@yuanboliu@david-streamlio@sbourkeostk@vaihtovirta、@tuteng

接下来,一起看看 09-26 ~ 10-09 有哪些值得你关注的进展吧!

重要进展

  • 因为 PR 较多,仅列举较大 PR 进展,不包括当周全部动态
  • 下面 PR 均已合入 Pulsar 主分支

[Client] 改进 ClientCnx 的超时处理,对目前所有不处理超时的请求进行超时处理。

PR 地址:https://github.com/apache/pulsar/pull/8149

贡献者:@lhotari

[Broker] 拦截发送给消费者的消息,并支持抛出相关异常。
PR 地址:https://github.com/apache/pulsar/pull/8129

贡献者:@zymap

[pulsar-admin] 支持删除与集群关联的数据。

PR 地址:https://github.com/apache/pulsar/pull/8133

贡献者:@BewareMyPower

[Broker] 跳过拦截 multipart 请求。

PR 地址:https://github.com/apache/pulsar/pull/8156

贡献者:@zymap

[Common] 支持在 brokerServiceUrl 中指定多个 IPv6 主机地址。

PR 地址:https://github.com/apache/pulsar/pull/8120

贡献者:@wangjialing218

[Broker] 添加 getLastMessageId 至 Pulsar Admin API(V1) 。

PR 地址:https://github.com/apache/pulsar/pull/8081

贡献者:@rdhabalia

[pulsar-admin] 添加 CLI 命令,获取最新消息 ID。

PR 地址:https://github.com/apache/pulsar/pull/8082

贡献者:@rdhabalia

[Admin] 支持同时删除 topic 和 schema ledger。

PR 地址:https://github.com/apache/pulsar/pull/8167

贡献者:@BewareMyPower

[Broker] 添加相关 CLI 命令行,支持从 ZooKeeper 集群中删除 metadata。

PR 地址:https://github.com/apache/pulsar/pull/8169

贡献者:@BewareMyPower

[Functions] 支持禁用转发源消息属性。
PR 地址:https://github.com/apache/pulsar/pull/8158

贡献者:@zymap

[Broker] 支持禁用复制的订阅。
PR 地址:https://github.com/apache/pulsar/pull/8144

贡献者:@k2la

[Common] 添加 ChannelFutures 实用类至 CompletableFuture。
PR 地址:https://github.com/apache/pulsar/pull/8137

贡献者:@racorn

[Broker] 在设置自动读取之前检查空指针。
PR 地址:https://github.com/apache/pulsar/pull/7999

贡献者:@yuanboliu

[Python Client] 更新构建 docker 镜像的脚本,使 Python 客户端正常工作。
PR 地址:https://github.com/apache/pulsar/pull/8153

贡献者:@massakam

[IO] 添加 org.apache.pulsar.io.core.Context 接口。
PR 地址:https://github.com/apache/pulsar/pull/8164

贡献者:@david-streamlio

[Client] 使能 TLS 的 Pulsar Java broker 客户端支持 SNI。

PR 地址:https://github.com/apache/pulsar/pull/8117

贡献者:@racorn

[Admin] 支持获取 topic 的内部统计信息和 ledger metadata。

PR 地址:https://github.com/apache/pulsar/pull/8180

贡献者:@rdhabalia

[Broker] 为 namespace 级别的 TTL 添加新的状态。

PR 地址:https://github.com/apache/pulsar/pull/8178

贡献者:@315157973

[Python Client] 暴露 batchingType 接口。
PR 地址:https://github.com/apache/pulsar/pull/8185

贡献者:@hangc0276

[Broker] 清理不活跃的非持久化订阅。
PR 地址:https://github.com/apache/pulsar/pull/8166

贡献者:@315157973

[Topic Policy] 检查空指针,以避免 internalSetTopicPolicies 的空指针异常。

PR 地址:https://github.com/apache/pulsar/pull/8201

贡献者:@hangc0276

[C++ Client] 为 C++ 客户端 HandleBase 添加 epoch,用于处理创建生产者时产生的超时问题。
PR 地址:https://github.com/apache/pulsar/pull/8191

贡献者:@hangc0276

[Dashboard] 修复 Django 模型中 consumerName 迁移的问题。

PR 地址:https://github.com/apache/pulsar/pull/8188

贡献者:@sbourkeostk

[Go Client] 修复 pulsarProducerSendCallbackProxy 的参数类型。
PR 地址:https://github.com/apache/pulsar/pull/8186

贡献者:@massakam

[Functions] 将用户定义的参数传播到 Pulsar Go Functions的实例中。
PR 地址:https://github.com/apache/pulsar/pull/8132

贡献者:@vaihtovirta

[Bookie] 在 bookkeeper.conf 文件中暴露 ensemblePlacementPolicy。
PR 地址:https://github.com/apache/pulsar/pull/8210

贡献者:@hangc0276

[Broker] 仅在配置拦截器时,支持拦截过滤器。
PR 地址:https://github.com/apache/pulsar/pull/8157

贡献者:@zymap

[Python Client] 为 Python schema 字段添加默认值。

PR 地址:https://github.com/apache/pulsar/pull/8122

贡献者:@hangc0276

重要 Bug 修复

  • 因修复内容较多,仅列举较重要修复内容,不包括本周全部动态
  • 下面修复均已合入 Pulsar 主分支

[C++ Client] 修复 testIndividualAck 单元测试不稳定的问题。
PR 地址:https://github.com/apache/pulsar/pull/8141

贡献者:@BewareMyPower

[Client] 修复 ConsumerImpl 内存泄露的问题。

PR 地址:https://github.com/apache/pulsar/pull/8160

贡献者:@lhotari

[Broker] 修复服务单元未就绪时返回 Pulsar 客户端错误码的问题。
PR 地址:https://github.com/apache/pulsar/pull/8147

贡献者:@massakam

[Schema] 修复启动 BookkeeperSchemaStorage 时可能产生的空指针异常问题。

PR 地址:https://github.com/apache/pulsar/pull/8172

贡献者:@MaiCw4J

[Admin] 修复订阅名称不存在时无法查看消息的问题。

PR 地址:https://github.com/apache/pulsar/pull/8182

贡献者:@hangc0276

[Client] 修复暂停消费的消费者重新连接到 broker 时仍会收到新消息的问题。

PR 地址:https://github.com/apache/pulsar/pull/8165

贡献者:@massakam

[Broker] 修复关闭 Pulsar 服务时引发的异常。
PR 地址:https://github.com/apache/pulsar/pull/8197

贡献者:@hangc0276

[Schema] 修复 JSON schema 会将字节反序列化为字符串的问题。
PR 地址:https://github.com/apache/pulsar/pull/8140

贡献者:@hangc0276

活动和新闻

  • [TGIP] 每周直播:Pulsar 及其生态系统

  • [TGIP-CN] 每周直播:Pulsar 及其生态系统

  • [教学视频] Broker Routing by Jesse Anderson - 视频链接

活动预告

  • Pulsar 2020 亚洲峰会演讲征集延期到10月21日,部分嘉宾仍在精心准备,希望大家尽快提交哟!

官网地址: https://pulsar-summit.org/en/event/asia-2020

演讲提交: 点击此处

报名观看: 点击此处

  • 10 月 27 日:线上研讨会 Low-Latency Stream Processing with Jet

    主讲人:Can Gencer,Director of Engineering at Hazelcast

    点击此处,报名活动

  • 10 月 21 日:FlinkForward:“Flink + Pulsar: The Path To Unified Batch and Streaming”

    主讲人:Addison Higham,StreamNative 高级工程师

    点击此处,报名活动

推荐阅读

  • 博客:Building An Event-Driven Orchestration Engine

    作者:Gilles Barbier

博客链接: https://medium.com/@gillesbarbier/building-an-event-driven-orchestration-engine-bf62d45aef5d

  • 博客:Pulsar Function Deep Dive

    作者:Sanjeev Kulkarni

博客链接: https://streamnative.io/blog/tech/2020-10-06-pulsar-functions-deep-dive

作为全球性开源项目,截至 2020 年 10 月 09 日,Apache Pulsar 已拥有超出 300 名贡献者、6.6K+ Star 、1.6K+ Fork 。正是由于分布在全球各地的社区开发者的贡献,才使得 Apache Pulsar 项目不断发展与前进。

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

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

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

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

导语

各位小伙伴们,Pulsar 社区周报带着假期期间的更新来啦!

在阅读周报之前,大家记得把活动加入日程哦:10 月 15 日,即周四晚上 8-9 点,Apache Pulsar PMC 翟佳将在云原生学院分享 Apache Pulsar 架构与最新技术进展,以及云原生时代下消息流系统的技术发展。观看直播参与活动还可以获得 Pulsar t 恤和周边哦。

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

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

@zymap@315157973@hangc0276@racorn@lhotari@BewareMyPower@wangjialing218@rdhabalia@srkukarni@k2la@massakam@yuanboliu@david-streamlio@sbourkeostk@vaihtovirta、@tuteng

接下来,一起看看 09-26 ~ 10-09 有哪些值得你关注的进展吧!

重要进展

  • 因为 PR 较多,仅列举较大 PR 进展,不包括当周全部动态
  • 下面 PR 均已合入 Pulsar 主分支

[Client] 改进 ClientCnx 的超时处理,对目前所有不处理超时的请求进行超时处理。

PR 地址:https://github.com/apache/pulsar/pull/8149

贡献者:@lhotari

[Broker] 拦截发送给消费者的消息,并支持抛出相关异常。 PR 地址:https://github.com/apache/pulsar/pull/8129

贡献者:@zymap

[pulsar-admin] 支持删除与集群关联的数据。

PR 地址:https://github.com/apache/pulsar/pull/8133

贡献者:@BewareMyPower

[Broker] 跳过拦截 multipart 请求。

PR 地址:https://github.com/apache/pulsar/pull/8156

贡献者:@zymap

[Common] 支持在 brokerServiceUrl 中指定多个 IPv6 主机地址。

PR 地址:https://github.com/apache/pulsar/pull/8120

贡献者:@wangjialing218

[Broker] 添加 getLastMessageId 至 Pulsar Admin API(V1) 。

PR 地址:https://github.com/apache/pulsar/pull/8081

贡献者:@rdhabalia

[pulsar-admin] 添加 CLI 命令,获取最新消息 ID。

PR 地址:https://github.com/apache/pulsar/pull/8082

贡献者:@rdhabalia

[Admin] 支持同时删除 topic 和 schema ledger。

PR 地址:https://github.com/apache/pulsar/pull/8167

贡献者:@BewareMyPower

[Broker] 添加相关 CLI 命令行,支持从 ZooKeeper 集群中删除 metadata。

PR 地址:https://github.com/apache/pulsar/pull/8169

贡献者:@BewareMyPower

[Functions] 支持禁用转发源消息属性。 PR 地址:https://github.com/apache/pulsar/pull/8158

贡献者:@zymap

[Broker] 支持禁用复制的订阅。 PR 地址:https://github.com/apache/pulsar/pull/8144

贡献者:@k2la

[Common] 添加 ChannelFutures 实用类至 CompletableFuture。 PR 地址:https://github.com/apache/pulsar/pull/8137

贡献者:@racorn

[Broker] 在设置自动读取之前检查空指针。 PR 地址:https://github.com/apache/pulsar/pull/7999

贡献者:@yuanboliu

[Python Client] 更新构建 docker 镜像的脚本,使 Python 客户端正常工作。 PR 地址:https://github.com/apache/pulsar/pull/8153

贡献者:@massakam

[IO] 添加 org.apache.pulsar.io.core.Context 接口。 PR 地址:https://github.com/apache/pulsar/pull/8164

贡献者:@david-streamlio

[Client] 使能 TLS 的 Pulsar Java broker 客户端支持 SNI。

PR 地址:https://github.com/apache/pulsar/pull/8117

贡献者:@racorn

[Admin] 支持获取 topic 的内部统计信息和 ledger metadata。

PR 地址:https://github.com/apache/pulsar/pull/8180

贡献者:@rdhabalia

[Broker] 为 namespace 级别的 TTL 添加新的状态。

PR 地址:https://github.com/apache/pulsar/pull/8178

贡献者:@315157973

[Python Client] 暴露 batchingType 接口。 PR 地址:https://github.com/apache/pulsar/pull/8185

贡献者:@hangc0276

[Broker] 清理不活跃的非持久化订阅。 PR 地址:https://github.com/apache/pulsar/pull/8166

贡献者:@315157973

[Topic Policy] 检查空指针,以避免 internalSetTopicPolicies 的空指针异常。

PR 地址:https://github.com/apache/pulsar/pull/8201

贡献者:@hangc0276

[C++ Client] 为 C++ 客户端 HandleBase 添加 epoch,用于处理创建生产者时产生的超时问题。 PR 地址:https://github.com/apache/pulsar/pull/8191

贡献者:@hangc0276

[Dashboard] 修复 Django 模型中 consumerName 迁移的问题。

PR 地址:https://github.com/apache/pulsar/pull/8188

贡献者:@sbourkeostk

[Go Client] 修复 pulsarProducerSendCallbackProxy 的参数类型。 PR 地址:https://github.com/apache/pulsar/pull/8186

贡献者:@massakam

[Functions] 将用户定义的参数传播到 Pulsar Go Functions的实例中。 PR 地址:https://github.com/apache/pulsar/pull/8132

贡献者:@vaihtovirta

[Bookie] 在 bookkeeper.conf 文件中暴露 ensemblePlacementPolicy。 PR 地址:https://github.com/apache/pulsar/pull/8210

贡献者:@hangc0276

[Broker] 仅在配置拦截器时,支持拦截过滤器。 PR 地址:https://github.com/apache/pulsar/pull/8157

贡献者:@zymap

[Python Client] 为 Python schema 字段添加默认值。

PR 地址:https://github.com/apache/pulsar/pull/8122

贡献者:@hangc0276

重要 Bug 修复

  • 因修复内容较多,仅列举较重要修复内容,不包括本周全部动态
  • 下面修复均已合入 Pulsar 主分支

[C++ Client] 修复 testIndividualAck 单元测试不稳定的问题。 PR 地址:https://github.com/apache/pulsar/pull/8141

贡献者:@BewareMyPower

[Client] 修复 ConsumerImpl 内存泄露的问题。

PR 地址:https://github.com/apache/pulsar/pull/8160

贡献者:@lhotari

[Broker] 修复服务单元未就绪时返回 Pulsar 客户端错误码的问题。 PR 地址:https://github.com/apache/pulsar/pull/8147

贡献者:@massakam

[Schema] 修复启动 BookkeeperSchemaStorage 时可能产生的空指针异常问题。

PR 地址:https://github.com/apache/pulsar/pull/8172

贡献者:@MaiCw4J

[Admin] 修复订阅名称不存在时无法查看消息的问题。

PR 地址:https://github.com/apache/pulsar/pull/8182

贡献者:@hangc0276

[Client] 修复暂停消费的消费者重新连接到 broker 时仍会收到新消息的问题。

PR 地址:https://github.com/apache/pulsar/pull/8165

贡献者:@massakam

[Broker] 修复关闭 Pulsar 服务时引发的异常。 PR 地址:https://github.com/apache/pulsar/pull/8197

贡献者:@hangc0276

[Schema] 修复 JSON schema 会将字节反序列化为字符串的问题。 PR 地址:https://github.com/apache/pulsar/pull/8140

贡献者:@hangc0276

活动和新闻

  • [TGIP] 每周直播:Pulsar 及其生态系统

  • [TGIP-CN] 每周直播:Pulsar 及其生态系统

  • [教学视频] Broker Routing by Jesse Anderson - 视频链接

活动预告

  • Pulsar 2020 亚洲峰会演讲征集延期到10月21日,部分嘉宾仍在精心准备,希望大家尽快提交哟!

官网地址: https://pulsar-summit.org/en/event/asia-2020

演讲提交: 点击此处

报名观看: 点击此处

  • 10 月 27 日:线上研讨会 Low-Latency Stream Processing with Jet

    主讲人:Can Gencer,Director of Engineering at Hazelcast

    点击此处,报名活动

  • 10 月 21 日:FlinkForward:“Flink + Pulsar: The Path To Unified Batch and Streaming”

    主讲人:Addison Higham,StreamNative 高级工程师

    点击此处,报名活动

推荐阅读

  • 博客:Building An Event-Driven Orchestration Engine

    作者:Gilles Barbier

博客链接: https://medium.com/@gillesbarbier/building-an-event-driven-orchestration-engine-bf62d45aef5d

  • 博客:Pulsar Function Deep Dive

    作者:Sanjeev Kulkarni

博客链接: https://streamnative.io/blog/tech/2020-10-06-pulsar-functions-deep-dive

作为全球性开源项目,截至 2020 年 10 月 09 日,Apache Pulsar 已拥有超出 300 名贡献者、6.6K+ Star 、1.6K+ Fork 。正是由于分布在全球各地的社区开发者的贡献,才使得 Apache Pulsar 项目不断发展与前进。

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

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

©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 194,911评论 5 460
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 82,014评论 2 371
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 142,129评论 0 320
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 52,283评论 1 264
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 61,159评论 4 357
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 46,161评论 1 272
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 36,565评论 3 382
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 35,251评论 0 253
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 39,531评论 1 292
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 34,619评论 2 310
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 36,383评论 1 326
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 32,255评论 3 313
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 37,624评论 3 299
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 28,916评论 0 17
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 30,199评论 1 250
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 41,553评论 2 342
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 40,756评论 2 335