Skip to content

Commit cc72e7a

Browse files
committed
updated doc for spark.streaming.kafka.maxRetries to explain the default value
1 parent 18f823e commit cc72e7a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/configuration.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1460,9 +1460,10 @@ Apart from these, the following properties are also available, and may be useful
14601460
<td><code>spark.streaming.kafka.maxRetries</code></td>
14611461
<td>1</td>
14621462
<td>
1463-
Maximum number of consecutive trials the driver will make in order to find
1464-
the latest offsets on the leader of each partition. Only applies to the new
1465-
Kafka direct stream API.
1463+
Maximum number of consecutive retries the driver will make in order to find
1464+
the latest offsets on the leader of each partition (a default value of 1
1465+
means that the driver will make a maximum of 2 attempts). Only applies to
1466+
the new Kafka direct stream API.
14661467
</td>
14671468
</tr>
14681469
</table>

0 commit comments

Comments
 (0)