panbingkun commented on code in PR #45877:
URL: https://github.com/apache/spark/pull/45877#discussion_r1554528200
##########
connector/kinesis-asl/src/main/scala/org/apache/spark/streaming/kinesis/KinesisRecordProcessor.scala:
##########
@@ -166,15 +168,16 @@ private[kinesis] object KinesisRecordProcessor extends
Logging {
if numRetriesLeft > 1 =>
val backOffMillis = Random.nextInt(maxBackOffMillis)
Thread.sleep(backOffMillis)
- logError(s"Retryable Exception: Random
backOffMillis=${backOffMillis}", e)
+ logError(log"Retryable Exception: Random " +
+ log"backOffMillis=${MDC(MAX_BETWEEN_RETRIES, backOffMillis)}", e)
Review Comment:
Done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]