apache / apache/pulsar-client-python

[Feature request] Expose expireTimeOfIncompleteChunkedMessageMs to the Consumer

未关闭
#141 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
75
派生
53
PR 合并指标
30 天内没有已合并 PR

描述

# Motivation
Two of the three message chunking related settings in the ConsumerConfiguration have already been exposed to the consumer. Namely, maxPendingChunkedMessage and autoAckOldestChunkedMessageOnQueueFull. However, the third one, expireTimeOfIncompleteChunkedMessageMs, has not yet been exposed. If this third one can be exposed then the python client consumer would have full control over how they want to handle chunked messages.

TLDR: Expose expireTimeOfIncompleteChunkedMessageMs of the ConsumerConfiguration to the consumer, which can be found here: https://github.com/apache/pulsar-client-cpp/blob/1e7d259bb94379ef6e4618fdac283912d0be6861/lib/ConsumerConfigurationImpl.h#L61.

贡献指南

打开贡献指南

调研方向

首先比较 maxPendingChunkedMessage 和 autoAckOldestChunkedMessageOnQueueFull 在 Python consumer 中的暴露方式,然后跟踪 ConsumerConfigurationImpl.h 中对应的配置。当 expireTimeOfIncompleteChunkedMessageMs 可供 Python consumer 使用,并能对未完成的 Chunk 消息进行等效控制时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
cpp, python
领域
backend-api-design, distributed-systems
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。