项目作者: manashmandal

项目描述 :
AWS Kinesis and Apache Flink Example
高级语言: Java
项目地址: git://github.com/manashmandal/kinesis-flink-hello-world.git
创建时间: 2021-03-08T21:27:58Z
项目社区:https://github.com/manashmandal/kinesis-flink-hello-world

开源协议:

下载


kinesis-flink-hello-world

AWS Kinesis and Apache Flink Example

.env

Need an environment file to run, recreate .env from .env.example and put relevant credentials and you’re good to go.

Kinesis Producer

  1. aws kinesis put-record --stream-name <yourCreatedStreamNameHere> --data '{"hello":"test"}' --partition-key "KEY0"

Disclaimer

If you’re using aws-cli v2 then have to add this to config (~/.aws/config).

  1. cli_binary_format=raw-in-base64-out

Just run the code. And then run the producer.