Repository is archived
No commit activity in last 3 years
No release in over 3 years
Fluent plugin to output to DynamoDB.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0
~> 10.0
>= 3.0.0

Runtime

>= 2.0.0.rc15
 Project Readme

fluent-plugin-dynamodb-alt

Alternative fluent plugin to output to DynamoDB.

Gem Version Build Status

Features

  • Use PutItem Action.
  • Sort the records in the timestamp key.
  • Aggregate the records in the primary key.
  • Support Expected constraint.

Installation

bundle install
bundle exec rake install

Configuration

<match tag>
  type dynamodb_alt
  aws_key_id AKIAIOSFODNN7EXAMPLE
  aws_sec_key wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
  region ap-northeast-1
  table_name my_table
  timestamp_key timestamp
  #binary_keys data1,data2
  #endpoint http:://localhost:4567
  #concurrency 1
  #delete_key delete

  # see http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_PutItem.html#DDB-PutItem-request-Expected
  #expected id NULL,timestamp LT ${timestamp},key EQ "val"
  #conditional_operator OR

  #include_time_key false
  #include_tag_key false
</match>