Skip to content

Commit 721b29e

Browse files
authored
Update the default value
the librdkafka docs (linked by this document and here: https://github.com/edenhill/librdkafka/blob/master/CONFIGURATION.md) note that the default for retries is not `2` but is actually `2147483647`. Updated the docs to change the recommended value based on the document.
1 parent 4964417 commit 721b29e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/event-hubs/apache-kafka-configurations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Property | Recommended Values | Permitted Range | Notes
5353

5454
Property | Recommended Values | Permitted Range | Notes
5555
---|---:|-----:|---
56-
`retries` | > 0 | | Default is 2. We recommend that you keep this value.
56+
`retries` | 2 | | Default is 2147483647.
5757
`request.timeout.ms` | 30000 .. 60000 | > 20000| Event Hubs will internally default to a minimum of 20,000 ms. `librdkafka` default value is 5000, which can be problematic. *While requests with lower timeout values are accepted, client behavior isn't guaranteed.*
5858
`partitioner` | `consistent_random` | See librdkafka documentation | `consistent_random` is default and best. Empty and null keys are handled ideally for most cases.
5959
`compression.codec` | `none` || Compression currently not supported.

0 commit comments

Comments
 (0)