chasingmaxwell/kinesis-poc
Composer 安装命令:
composer create-project chasingmaxwell/kinesis-poc
包简介
Proof of concept which demonstrates posting a record to an AWS Kinesis stream.
README 文档
README
This is a proof of concept package which demonstrates posting a record to an AWS kinesis stream.
Install
composer require global chasingmaxwell/kinesis-poc
Configure
Add a yaml configuration file to to the ~/.config/kinesis-poc directory with the following contents:
# The awsKinesisClient object will be passed to the KinesisClient factory. # Available options: http://docs.aws.amazon.com/aws-sdk-php/v2/guide/configuration.html#client-configuration-options kinesisClientOptions: profile: # An AWS credentials profile to use for API requests.
The name of the file is not important. In fact, you can include as many configuration files as you would like in this directory and they will be merged together in alphabetical order.
Usage
putKinesisRecord -s [Stream Name] -d [Record Data] -p [Partition Key]
统计信息
- 总下载量: 19
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-01-31