giffgaff/aws-kinesis-client

This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (1.0) of this package.

A library to write to and read from AWS Kinesis

1.0 2019-08-26 16:52 UTC

This package is auto-updated.

Last update: 2022-08-05 04:28:45 UTC


README

  1. After git clone...

Install the dependencies via

$ composer install
  1. Set the two env vars in path

AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY

  1. Run up docker
$ docker-compose up

Run the tests via

$ php vendor/phpunit/phpunit/phpunit tests/Unit/ --verbose
version: '3.7'
services:
  php:
    image: vesica/php72:dev
    links:
      - kinesis
    volumes:
      - .:/var/www/html

  kinesis:
    image: vsouza/kinesis-local:latest
    command: --port 4567
    restart: always
    #ports:
    #  - "4567:4567"
    container_name: kinesis