{"id":18624504,"url":"https://github.com/litsynp/kinesis-js-practice","last_synced_at":"2026-04-29T10:34:46.376Z","repository":{"id":109731005,"uuid":"556521070","full_name":"litsynp/kinesis-js-practice","owner":"litsynp","description":"Send and get real time data with AWS Kinesis with JavaScript.","archived":false,"fork":false,"pushed_at":"2022-11-18T12:00:49.000Z","size":53,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-17T07:07:05.035Z","etag":null,"topics":["aws","javascript","kinesis"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/litsynp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-24T02:19:26.000Z","updated_at":"2022-10-24T11:37:57.000Z","dependencies_parsed_at":"2023-06-11T06:30:14.694Z","dependency_job_id":null,"html_url":"https://github.com/litsynp/kinesis-js-practice","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/litsynp/kinesis-js-practice","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litsynp%2Fkinesis-js-practice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litsynp%2Fkinesis-js-practice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litsynp%2Fkinesis-js-practice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litsynp%2Fkinesis-js-practice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/litsynp","download_url":"https://codeload.github.com/litsynp/kinesis-js-practice/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litsynp%2Fkinesis-js-practice/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32422106,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","javascript","kinesis"],"created_at":"2024-11-07T04:29:18.678Z","updated_at":"2026-04-29T10:34:46.356Z","avatar_url":"https://github.com/litsynp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kinesis JS Practice\n\nPlay with your AWS Kinesis stream with JavaScript.\n\n## Requirements\n\n- AWS CLI installed and your credentials set up properly.\n- node\n\n## How to use\n\n### Set Up\n\nMake sure you have correct AWS profile activated.\n\n```bash\n$ export AWS_PROFILE=default\n```\n\nWhen running the below scripts, you can inject _environment variables_ like this.\n\n```bash\n$ KINESIS_STREAM=litsynp-test-stream-dev AWS_REGION=ap-northeast-1 npm run publish-events hello 1\n```\n\n### Publish to Stream (PutRecord)\n\nPush test data to stream with `publish-events`.\n\n```bash\n$ npm run publish-events [data] [iteration]\n```\n\n- `data` - string data to put as record (default: `Hello World!`)\n- `iteration` - the number of times you want to send the data (default: `1`)\n\n### Get Records\n\nRetrieve the data you sent to the Kinesis stream.\n\n```bash\n$ npm run get-records [shard-id]\n```\n\n- `shard-id` - The [ShardID](https://docs.aws.amazon.com/kinesis/latest/APIReference/API_Shard.html). (default: `0`)\n\n## References\n\nFor more information about AWS CLI and injecting environment variables, refer to these links:\n\n- https://docs.litsynp.com/archives/aws/aws-cli\n- https://docs.litsynp.com/archives/js-ts/misc/environment-variables\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flitsynp%2Fkinesis-js-practice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flitsynp%2Fkinesis-js-practice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flitsynp%2Fkinesis-js-practice/lists"}