bitcoin-etl icon indicating copy to clipboard operation
bitcoin-etl copied to clipboard

Implement GCSExporter

Open medvedev1088 opened this issue 5 years ago • 0 comments

GCSExporter outputs blocks with transactions to a file (one per block) and uploads it to a GCS bucket. It should have the same interface as https://github.com/blockchain-etl/bitcoin-etl/blob/master/blockchainetl/jobs/exporters/google_pubsub_item_exporter.py.

It will be used for streaming e.g.

bitcoinetl stream -p http://user:pass@localhost:8332 --start-block 500000 --output gs://bucket_name/folder

The bucket can then be configured to trigger events to Cloud Functions or Pub/Sub.

medvedev1088 avatar Mar 27 '19 06:03 medvedev1088