# Kinesis event producer

## Overview

This job will grab last updated releases, projects and tracks from art_relations and create Kinesis events  

## Setup

```bash
python3 -m venv env
```

```bash
source env/bin/activate
```

```bash
pip install -r requirements.txt
```

```bash
cp .env.shadow .env
```
```bash
export aws key and secret to active terminal 
```
## Run

```bash
python producer.py 
--offset 0 
--start_date "2019-11-10 00:00:00" 
--end_date "2019-10-09 00:00:00"
--iteration_table "releases"


python producer.py 
--offset 0 
--start_date "2019-11-14 00:00:00"
--end_date "2019-11-14 12:00:00"
--iteration_table "project"

python producer.py 
--offset 0 
--start_date "2019-11-14 00:00:00"
--end_date "2019-11-14 12:00:00"
--iteration_table "track"
--limit 1000

```
