Connection between client upload process and backend web-hooks

Ouverte
#144 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
35/100
Type d'issue
Documentation
Clarté
À clarifier
Activité
Calme
Stack technique
java
Domaine
backend

Piste de recherche

Start by tracing the Java client’s upload completion flow and its handling of responses, then check the TUS server hooks and storage timing mentioned in the question. The issue does not identify files or tests; a useful result would answer whether the client can read the pre-finish response, which hook fires after chunk upload, and when the file reaches storage.

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

Description

question

Question
I’m using a backend where, in the pre-finish hook, I send a response back to the client (after the file has been written to MinIO). The client is supposed to perform a specific action after receiving this response. However, it seems that with this library, the client is not able to receive or read the response coming from the pre-finish hook.

Is there any solution or recommended approach for this?

Also, I’d appreciate an answer to this question as well:

When all chunks are uploaded from the client to the TUS server, which hook does the TUS server trigger: pre-create or pre-finish?

Does the completion of chunk upload from the client to the TUS server mean that the file is already fully written to the storage backend, or does that happen later?

Langage dominant
Java
Étoiles
246
Forks
90
Merge moyen
13 h 2 min
PR mergées (30 j)
1

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 tus/tus-java-client

Toutes les issues de tus/tus-java-client

Issues similaires

Plus d'issues Java

Recevez les nouvelles issues par e-mail

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