Connection between client upload process and backend web-hooks

Đang mở
#144 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tài liệu
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Ít trao đổi
Công nghệ
java
Lĩnh vực
backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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?

Ngôn ngữ chính
Java
Star
246
Fork
90
Merge trung bình
13 giờ 2 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của tus/tus-java-client

Tất cả issue của tus/tus-java-client

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.