in core/src/main/scala/org/apache/spark/eventhubs/EventHubsConf.scala [442:449]
def setPrefetchCount(count: Int): EventHubsConf = {
if (count > PrefetchCountMaximum || count < PrefetchCountMinimum) {
throw new IllegalArgumentException(s"setPrefetchCount: count value is out of range. PrefetchCount should be " +
s"within the range [$PrefetchCountMinimum, $PrefetchCountMaximum].")
}
set(PrefetchCountKey, count)
}