- Newest
- Most votes
- Most comments
Hello.
Is there a known failure mode where the EFO poller stops renewing shard subscriptions without an error or state change on the mapping?
Given that SubscribeToShard—which normally executes approximately every five minutes—suddenly stopped being called while writes to Kinesis continued, I suspect that the read process for the event source managed by Lambda may have halted.
I have used Kinesis EFO several times myself, but I have never encountered a problem like the one you are describing.
Is there a metric or API field that shows this state, given that the mapping reports OK?
AWS documentation states that SubscribeToShard.Success is emitted at least once every five minutes.
I believe this can be used to monitor for successful subscription renewals.
https://docs.aws.amazon.com/streams/latest/dev/monitoring-with-cloudwatch.html
Is standard GetRecords recommended over EFO for critical consumers?
I do not think it is appropriate to conclude that EFO should not be used for critical workloads based solely on this incident.
Since this could be a temporary issue, I believe an investigation by AWS Support is necessary.
Based on the symptoms you've described, this appears to be an internal issue with the Enhanced Fan-Out (EFO) event source mapping's subscription renewal mechanism. While I don't have visibility into a documented failure mode that matches your exact scenario, I can address your questions:
-
Silent subscription renewal failure: The behavior you're seeing—where SubscribeToShard renewals stop without any error signals, state changes, or CloudWatch metrics—suggests an internal polling mechanism issue. Normally, EFO consumers renew their shard subscriptions every 5 minutes, and the complete absence of renewal attempts (no successes, failures, or rate limit errors) indicates the poller itself may have stopped rather than encountering a retriable error.
-
Why disable/re-enable didn't work: This is unusual. Typically, disabling and re-enabling an event source mapping should reinitialize the polling infrastructure. The fact that it didn't resolve the issue suggests the underlying consumer registration or internal state may have been in an inconsistent state that persisted across the disable/enable cycle.
-
Observability gap: Unfortunately, there isn't a standard CloudWatch metric or API field that directly exposes the internal health of the EFO subscription renewal process. The mapping reports State: Enabled and LastProcessingResult: OK because these reflect the configuration state and the last successful processing attempt, not the real-time health of the subscription mechanism. The consumer showing ACTIVE status similarly reflects registration state rather than active data flow.
-
EFO vs. standard polling: EFO is generally recommended for critical, low-latency use cases because it provides dedicated throughput per consumer and push-based delivery, avoiding the 2 MB/sec per-shard limit of standard GetRecords polling. However, your experience highlights an important consideration: standard polling may offer more predictable behavior in certain edge cases. For mission-critical workloads, consider:
- Implementing comprehensive monitoring that tracks not just invocation counts and errors, but also the age of records being processed
- Setting up alarms on IteratorAge or custom metrics that detect processing stalls
- Having a documented runbook for quickly switching to standard polling if EFO exhibits issues
- Testing your failover procedure in advance
Given that creating a new standard mapping immediately restored processing, this strongly suggests the issue was isolated to the EFO subscription mechanism rather than your function, stream, or permissions. I'd recommend opening a support case with AWS to investigate the root cause, as this behavior—where the mapping appears healthy but stops processing—represents a gap in observability and resilience that AWS engineering should examine.
Sources
Troubleshoot event source mapping issues in Lambda - AWS Lambda
AWS Lambda Provisioned Mode for Amazon SQS event source mappings now supports up to 10,000 event pollers - AWS
Event source mappings with durable functions - AWS Lambda
Building a real-time ICU patient analytics pipeline with AWS Lambda event source mapping | AWS Big Data Blog
answered a month ago
Relevant content
- AWS OFFICIALUpdated 4 months ago

Thanks. To clarify, we're looking for confirmation from the Lambda team on whether this is a known EFO poller issue, and whether disable/enable is expected to reinitialize the poller. Any AWS engineers who've seen this, we'd appreciate input.