apache / apache/beam

Add a HttpIO / HttpFileSystem

Open
#20,326 0 comments 0 reactions 0 assignees View on GitHub
bug ideas io P3
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

Add HttpIO (and a related HttpFileSystem and HttpsFileSystem), which can download files from a particular http:// or https:// URL. HttpIO cannot upload / write to files, though, because there's no standardized way to write to files using HTTP.

Sample usage:

 
```

(
p
| ReadFromText("https://raw.githubusercontent.com/apache/beam/5ff5313f0913ec81d31ad306400ad30c0a928b34/NOTICE")

| WriteToText("output.txt", shard_name_template="", num_shards=0)
)

```

 

Imported from Jira [BEAM-10101](https://issues.apache.org/jira/browse/BEAM-10101). Original Jira may contain additional context.
Reported by: epicfaace.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.