vmware-go-kcl-v2/clientlibrary
Tao Jiang 48fd4dd51c KCL: remove panic in shard consumer
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
2021-12-20 21:15:25 -06:00
..
common Flatten directory structure 2021-12-20 21:15:15 -06:00
config Flatten directory structure 2021-12-20 21:15:15 -06:00
interfaces Flatten directory structure 2021-12-20 21:15:15 -06:00
metrics Flatten directory structure 2021-12-20 21:15:15 -06:00
utils Flatten directory structure 2021-12-20 21:15:15 -06:00
worker KCL: remove panic in shard consumer 2021-12-20 21:15:25 -06:00