Skip to content

Commit 69e70f2

Browse files
committed
doc: update produce api version info
1 parent ae9d1e9 commit 69e70f2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,8 @@ producer config, most like in <http://kafka.apache.org/documentation.html#produc
282282
* `api_version`
283283

284284
Specifies the produce API version. Default `0`.
285-
If you use Kafka 0.10.0.0 or higher, `api_version` can use `0`, `1` or `2`.
285+
If you use Kafka 4.0 or higher, `api_version` should be `3`.
286+
If you use Kafka 0.10.0.0 up to 3.x, `api_version` can use `0`, `1` or `2`.
286287
If you use Kafka 0.9.x, `api_version` should be `0` or `1`.
287288
If you use Kafka 0.8.x, `api_version` should be `0`.
288289

0 commit comments

Comments
 (0)