Docs: retrieving historical read positions outside the channel state window

Abierto
#328 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
40/100
Tipo de issue
Documentación
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python

Línea de trabajo

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

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Python
Estrellas
25
Forks
16
Merge medio
20 h 8 min
PR fusionados (30 d)
11

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de GetStream/stream-py

Todos los issues de GetStream/stream-py

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.