There might be verious reason for shard iterator to expire, such as: not enough data in shard or process even takes more than 5 minutes which cause shard iterator not refreshing enough. This change removes log.Fatal which causes panic. Panic inside go routine will bring down the whole app. Therefore, just log error and exit the go routine instead. Jira ID: CNA-1072 Change-Id: I34a8d9af7258f3ea75465e2245bbc25c2fafee35 |
||
|---|---|---|
| .. | ||
| checkpointer.go | ||
| record-processor-checkpointer.go | ||
| shard-consumer.go | ||
| worker.go | ||
| worker_test.go | ||