This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Embulk | |
module Parser | |
class XxxParserPlugin < ParserPlugin | |
Plugin.register_parser("xxx", self) | |
def self.transaction(config, &control) | |
parser_task = config.load_config(Java::LineDecoder::DecoderTask) | |
# configuration code: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -eo pipefail | |
# https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-pagination.html | |
AWS_CLI_COMMAND=$@ | |
aws-cli-exec-with-next-token() | |
{ | |
NEXT_TOKEN="$1" | |
if [ "${NEXT_TOKEN}" == "" ]; then |