Docs: retrieving historical read positions outside the channel state window

Ouverte
#328 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
40/100
Type d'issue
Documentation
Clarté
Plutôt claire
Activité
Active
Stack technique
python
Domaine
documentation

Piste de recherche

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".

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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

Langage dominant
Python
Étoiles
25
Forks
16
Merge moyen
20 h 8 min
PR mergées (30 j)
11

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de GetStream/stream-py

Toutes les issues de GetStream/stream-py

Issues similaires

Plus d'issues Python

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.