Docs: retrieving historical read positions outside the channel state window

未关闭
#328 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
40/100
Issue 类型
文档
描述清晰度
基本清楚
活跃度
活跃
技术栈
python
领域
documentation

调研方向

Start from the three linked Python docs pages (get-channel, query-channels, exporting-channels) and check what the client exposes for channel state read lists and the v2 export. Confirm with a maintainer whether a read-only server-side enumeration exists before drafting anything, since the issue asks a supported-route question rather than naming a file. Done when the docs state the supported route, its snapshot semantics, and how a caller tells "never read" from "position unavailable".

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

描述

Could the Python Get Channel and export docs describe how to retrieve historical per-member last_read values on large channels, especially for deactivated members? This matters when restoring an inbox. A missing row can otherwise turn previously seen messages into unread items, or hide unseen replies.

In a migration rehearsal, we compared the following observations on existing channels:

  1. Query Channels returned a bounded read list, as documented. On a channel with more than 300 members, the noncreating channel GET with state=true returned 300 read rows when we requested 300 members. Requesting more members or adding a member offset did not reveal the remaining rows. This is an observation for the tested requests, not a proposed API limit.
  2. Some deactivated users had read positions visible in the shared window. For sampled deactivated users outside it, a member-scoped request returned HTTP 404 with Stream error code 16 identifying deactivation. Paging the membership list established that those users were members, but supplied no bookmark for them.
  3. Our v2 channel export included member and message records. We found no per-member read positions in that capture.

Is there a supported server-side, read-only way to enumerate every available bookmark, or query a specific deactivated member without reactivating them? How can a caller distinguish “never read” from “position unavailable through this endpoint”? If a managed export is the supported route, a link describing how to request it and its snapshot semantics would help. We have no evidence that an omitted position was deleted.

Get Channel · Query Channels · Channel export

主要语言
Python
星标
25
派生
16
平均合并
20 小时 8 分钟
30 天内合并 PR
11

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

GetStream/stream-py 的其他 Issue

查看 GetStream/stream-py 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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