Closed abhijeetDunzo closed 5 years ago
Kinsumer isn't designed to handle two streams with the same application name. There is an issue #34 which when implemented might allow this but for now, the dynamo tables names are derived from just the application name, so two different streams would collide.
I recommend using different application names for now.
Thanks for the quick revert, @GarethLewin!
I created consumers reading from two different streams and I am using the same application-name.
On starting the application I am getting this error intermittently:
InvalidArgumentException: StartingSequenceNumber 49598037874099682602785444260063985364880176723926188034 used in GetShardIterator on shard shardId-000000000000 in stream dummy under account 716421886079 is invalid because it did not come from this stream
StartConsuming
gets called from main, which callsconsumeStream
with same application name but different stream name.