awslabs / amazon-kinesis-client-ruby

A Ruby interface for the Amazon Kinesis Client Library. Allows developers to easily create robust application to process Amazon Kinesis streams in Ruby.
Apache License 2.0
146 stars 55 forks source link

Configure dependabot to scan dependencies #45

Closed zengyu714 closed 2 years ago

zengyu714 commented 2 years ago

Issue #, if available:

Description of changes:

Testing producer

rake run_producer
Running the Kinesis sample producer application...
/Volumes/workplace/kcl/amazon-kinesis-client-ruby/samples/sample_kcl_producer.rb
Stream kclrbsample already exists with 2 shards
Put record to shard 'shardId-000000000000' (49625052214701446996797992067786665837460769363023888386): '{"time":"1640802182.4140239","sensor":"snsr-0117","reading":"590297"}'
Put record to shard 'shardId-000000000000' (49625052214701446996797992068206163096867045686646931458): '{"time":"1640802182.790307","sensor":"snsr-0855","reading":"608302"}'
...

consumer

rake run properties_file=sample.properties
Running the Kinesis sample processing application...
...
2021-12-29 10:23:53,796 [multi-lang-daemon-0001] ERROR s.a.k.multilang.DrainChildSTDERRTask [NONE] - Received error line from subprocess [ShardId: shardId-000000000001, Partition Key: snsr-0696, Sequence Number:49625052214723747741996522693061955627353238355325222930, Length of data: 69] for shard shardId-000000000001
ShardId: shardId-000000000001, Partition Key: snsr-0696, Sequence Number:49625052214723747741996522693061955627353238355325222930, Length of data: 69
...

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.