Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kinesis Consumer Stuck in Infinite Loop During Shard Discovery #165

Open
Envoy49 opened this issue Oct 31, 2024 · 0 comments
Open

Kinesis Consumer Stuck in Infinite Loop During Shard Discovery #165

Envoy49 opened this issue Oct 31, 2024 · 0 comments

Comments

@Envoy49
Copy link

Envoy49 commented Oct 31, 2024

Description

The Kinesis consumer (harlow/kinesis-consumer) is exhibiting a recursive loop behavior in shard discovery and iterator retrieval. The application repeatedly attempts to get shard iterators and scan shards, suggesting either a deadlock in shard management or an issue with stream state handling.

Environment Details

Stack Trace Analysis

The application shows a recursive pattern in goroutine 19, with multiple identical sequences:

Primary Call Path:

1. (*AllGroup).findNewShards.func1
   - Location: allgroup.go:139
   - Created by: (*AllGroup).findNewShards at allgroup.go:132

2. (*Consumer).getShardIterator
   - Location: consumer.go:294
   - Called within scan operations

3. (*Consumer).ScanShard
   - Location: consumer.go:171
   - Part of the main processing loop

4. (*Consumer).Scan.func2
   - Location: consumer.go:136
   - Handling individual shard scanning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant