産品動态
新增 PIP
新增功能(2.7.0)
Bug 修複(2.7.0)
社群動态
海内外社群動态
技術幹貨
本月 Pulsar 雖然沒有版本的更新,但是修複了一些 bug,提升了穩定性,并且引入了一些新的特性。
Pulsar.NET Client 在本月釋出了 1.4.2 和 1.4.3 版本。
更多詳情可參考:
https://www.nuget.org/packages/Pulsar.Client/1.4.2
https://www.nuget.org/packages/Pulsar.Client/1.4.3
PIP 68: Exclusive Producer
PIP 68 為 Pulsar 帶來了 Exclusive 模式的 Producer,它為 topic 提供了單點寫入的特性,保證了一個 topic 僅存在唯一的生産者來生産消息。
https://github.com/apache/pulsar/wiki/PIP-68%3A-Exclusive-Producer
新 增 功 能
(2.7.0)
為 Pulsar Functions 添加手動負載均衡功能
https://github.com/apache/pulsar/pull/7388
優化 Bundle 拆分後的解除安裝操作
https://github.com/apache/pulsar/pull/7387
Pulsar Java 用戶端支援使用 OAuth 2.0 進行驗證
https://github.com/apache/pulsar/pull/7420
優化 Pulsar Functions 的 TLS 相關參數名稱
https://github.com/apache/pulsar/pull/7424
優化擷取 Pulsar CPU 名額的方式
https://github.com/apache/pulsar/pull/7475
Pulsar C++ 用戶端支援使用 OAuth 2.0 進行驗證
https://github.com/apache/pulsar/pull/7467
細分對 Pulsar Functions / Source / Sink 操作的授權
https://github.com/apache/pulsar/pull/7466
為 Pulsar Functions 添加定期負載均衡的功能
https://github.com/apache/pulsar/pull/7449
支援使用者使用 Kubernetes 環境時自定義不同語言的 Pulsar Functions Docker 鏡像
https://github.com/apache/pulsar/pull/6752
使 Pulsar Client 支援使用者自定義消息重試的延遲時間
https://github.com/apache/pulsar/pull/6449
為 Pulsar 添加不同環境的 Maven 子產品配置
https://github.com/apache/pulsar/pull/7541
更新 Jersey 版本,從 2.27 更新至 2.31
https://github.com/apache/pulsar/pull/7515
更新 Jackson 版本,從 2.10.1 更新至 2.11.1
https://github.com/apache/pulsar/pull/7519
為 Pulsar CI action 增加 Github Maven cache
https://github.com/apache/pulsar/pull/7527
Bug 修複
(2.6.0)
修複 GCS offload 失敗的問題
https://github.com/apache/pulsar/pull/7435
修複 producer 建立 ledger 時,由于 BookKeeper 位址無法處理導緻的 NPE 問題
https://github.com/apache/pulsar/pull/7401
修複無法動态修改跨地域複制叢集的問題
https://github.com/apache/pulsar/pull/7514
修複建立 Function 請求可能觸發死鎖的問題
https://github.com/apache/pulsar/pull/7508
修複擷取最大 messageId 時,由于讀取無效的 entry -1 引起的錯誤響應
https://github.com/apache/pulsar/pull/7495
修複向 consumer 分發消息時可能出現的 ArrayIndexOutOfBoundsException 異常
https://github.com/apache/pulsar/pull/7483
修複删除完成 offload 的資料時可能出現的 NPE 問題
https://github.com/apache/pulsar/pull/7389
修複修改非持久化 topic parition 數量錯誤的問題
https://github.com/apache/pulsar/pull/7459
修複批量 Ack 可能出現的 recycled multiple times 異常
https://github.com/apache/pulsar/pull/7409
為 ManagedLedgerFactory 打開新的 Ledger 添加逾時機制
https://github.com/apache/pulsar/pull/7506
修複當 Broker 未啟用 key_shared 特性時,在 Client 收到的 NotAllowed 異常
https://github.com/apache/pulsar/pull/7430
修複無法為 protobuf 的 repeated long 屬性生成正确的代碼
https://github.com/apache/pulsar/pull/7540
確定建立 Subscription 逾時的情況下操作可以被終結
https://github.com/apache/pulsar/pull/7522
修複 KeyShared 模式下無法正常消費壓縮消息的問題
https://github.com/apache/pulsar/pull/7416
修複一處 Pulsar Functions 2.6 向 2.5 相容的問題
https://github.com/apache/pulsar/pull/7528
優雅地關閉已删除 producer 和 consumer
https://github.com/apache/pulsar/pull/7473
修複删除 topic 時,topic 被立刻重新建立的問題
https://github.com/apache/pulsar/pull/7524
當一個 function worker 成為 leader 後,在停止任務配置設定消費者前開啟任務配置設定 topic 生産者
https://github.com/apache/pulsar/pull/7525
TGI Pular 直播更新中
TGIP
015:What's New in Pulsar 2.6.0
https://www.youtube.com/watch?v=bPczhvnHnzI
016:Backlog and StorageSize
https://www.youtube.com/watch?v=PIX570nyq_c
TGIP-CN
015: Pulsar Summit 精華版中文(一)
016: Pulsar Summit 精華版中文(二)
017: What's new in Pulsar 2.6.0
018: Pulsar Functions Deep Dive
Whitepaper 又增新文章
本月 StreamNative 官網新增兩份白皮書,主要描述了 Pulsar 與 Kafka 在其功能、性能、用例等方面的對比,可以更清楚直覺的了解兩種消息處理系統。白皮書下載下傳連結如下:
https://streamnative.io/whitepaper/pulsar-vs-kafka
網絡研讨會喜加一
美國時間 7 月 28 日,由進階工程師 Matteo Merli, Joe Frances, Addison Higham 和 Sijie Guo 為大家帶來關于「How to Operate Pulsar in Production」相關話題的研讨分享。
視訊回放:https://www.youtube.com/watch?v=mncXc_T6JkU
技 術 博 客
為什麼選擇 Apache BookKeeper — Part 2
使用 AWS S3 offloader 解除安裝存儲在 BookKeeper 中的資料
Pulsar IO 簡介
Taking messaging and data ingestion systems to the next level
https://streamnative.io/blog/tech/2020-07-08-podcast
Event-driven Functions with Apache Pulsar & Project Flogo
https://hackernoon.com/event-driven-functions-with-apache-pulsar-and-project-flogo-wag3y4u
以上就是 7 月份的脈動之旅。2020 年已過半,希望大家在接下來的時間裡也能每天開心,每天進步。
Apache Pulsar 社群鼓勵大家積極參與開源社群,無論是文檔、代碼、翻譯,還是技術部落格,都歡迎大家積極參與,早日成為 Pulsar contributor,一起加油鴨。
如果你對 Pulsar Contribute 的流程不太熟練,也可以參考我們這篇小教程,讓你熟悉如何通過 GitHub 對 Pulsar 進行貢獻:新手向|非技術人員如何參與 Pulsar 項目進行貢獻
參與貢獻項目可選:
Apache Pulsar 項目:
https://github.com/apache/pulsar
Pulsar 技術文檔翻譯:
https://github.com/apache/pulsar-translation