Cloud Datastore input plugin for Embulk loads records from Google Cloud Datastore.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
lib/embulk/input
src
.gitignore
LICENSE
Makefile
README.md
build.gradle
gradle.properties

README.md

Datastore input plugin for Embulk

Gem Version

A embulk input plugin fetches Cloud Datastore entities.

Overview

  • Plugin type: input
  • Resume supported: no
  • Cleanup supported: no
  • Guess supported: no

Configuration

  • project_id: your GCP project_id. (string, required)
  • json_keyfile: A path to JSON keyfile. (string, required)
  • gql: A GQL fetches to Cloud Datastore (string, required)
  • json_column_name: description (string, default: "record")

Example

in:
  type: datastore
  project_id: "your-gcppj-123"
  json_keyfile: credential.json
  gql: "SELECT * FROM myKind"

Build

$ ./gradlew gem  # -t to watch change of files and rebuild continuously

NOTE

  • Currently this plugin has below limitations:
    • Aggregate fetched properties to 1 'json' type column.