Starting a multi-input-stream large file upload, and adding the input streams later one-by-one.

Aberta
#96 8 comentários 1 reação 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 3 dias

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
35/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
java
Domínio
api, backend

Direção de pesquisa

Read the large file upload API and its handling of input streams, then compare it with the REST API's b2_upload_part behavior. Determine whether callers can add each acquired stream as a part after starting an upload, and identify the public API change needed if they cannot. Done means the supported workflow is documented or the requested functionality is exposed.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

I'm trying to

  1. start a large file upload, then
  2. add parts later as I receive them.

I get the parts as input streams, and one would assume from the REST API that I should be able to upload them one by one. However, it looks like I either need to have all input streams when I start the upload, or copy the data from each input stream to another input stream which the upload is using, and let it manage the parts.

Is it possible to use generic part upload functionality like the REST API b2_upload_part with each input stream as I acquire it, or can that functionality be added or exposed?

I'm currently using revision 3dfc97 (2019-10-08)

Linguagem predominante
Java
Estrelas
103
Forks
23
Merge médio
5d 8h
PRs com merge (30d)
3

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de Backblaze/b2-sdk-java

Todas as issues de Backblaze/b2-sdk-java

Issues semelhantes

Mais issues de Java

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.