giffgaff / aws-kinesis-client
A library to write to and read from AWS Kinesis
Installs: 3 234
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 40
Forks: 0
Open Issues: 0
Requires
- php: >=7.1
- aws/aws-sdk-php: ^3.90
- monolog/monolog: ~1.17
Requires (Dev)
- phpunit/phpunit: ^7.5.3
README
- After git clone...
Install the dependencies via
$ composer install
- Set the two env vars in path
AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY
- 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