Skip to content

Commit

Permalink
Update zio-kafka/src/main/scala/zio/kafka/consumer/internal/Partition…
Browse files Browse the repository at this point in the history
…StreamControl.scala

Co-authored-by: Erik van Oosten <e.vanoosten@grons.nl>
  • Loading branch information
svroonland and erikvanoosten authored Nov 12, 2024
1 parent e6735c0 commit dcb6dc0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ final class PartitionStreamControl private (

/** To be invoked when the stream is no longer processing. */
private[internal] def halt: UIO[Unit] = {
val timeOutMessage = s"No records were polled for more than $maxStreamPullInterval for topic partition $tp. " +
val timeOutMessage = s"No records were pulled for more than $maxStreamPullInterval for topic partition $tp. " +
"Use ConsumerSettings.withMaxPollInterval to set a longer interval if processing a batch of records " +
"needs more time."
val consumeTimeout = new TimeoutException(timeOutMessage) with NoStackTrace
Expand Down

0 comments on commit dcb6dc0

Please sign in to comment.