Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
  • Loading branch information
rokatyy committed Jan 28, 2025
1 parent aff13f6 commit 539fb64
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/dataplane/streamconsumergroup/claim.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ func (c *claim) fetchRecordBatches(stopChannel chan struct{}, fetchInterval time
// if the error is not fatal (as network issue),
// we don't want to fail; instead, we will inform the user via a log
if common.EngineErrorIsNonFatal(err) {
c.logger.ErrorWith("Failed to get shard location. Will retry until successful",
"error", err,
"shard", c.shardID)
// for this type of error, we always increment the attempt counter
// this ensures the smooth operation of other components in Nuclio
// we avoid panicking and simply wait for the issue to be resolved
Expand Down

0 comments on commit 539fb64

Please sign in to comment.