This repository was archived by the owner on Nov 20, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 45
Broker Versions
Lev Gorodinski edited this page Jul 26, 2017
·
12 revisions
Supported versions:
-
0.9.0Default 0.10.00.10.1
A Kafka broker version can be specified in the connection configuration:
let cfg =
KafkaConfig.create (
host,
version = Versions.V_0_10_1)
let conn = Kafka.conn cfgCurrently, the default version is 0.9.0. To support later broker versions, the version must be configured explicitly as above.
Broker versions 0.10.0 and above support an ApiVersionsRequest which returns the versions supported for each operation. Kafunk can determine API versions automatically using this operation as follows:
let cfg =
KafkaConfig.create (
host,
autoApiVersions = true)
let conn = Kafka.conn cfgNote that this is only supported on versions 0.10.0 and greater.
See: A Guide To The Kafka Protocol
See: RELEASE NOTES
- Added
TimestamptoMessage - Added
TimestamptoProduceResponse - Added
ApiVersionsRequest
- Dropped
MaxNumberOfOffsetsfromOffsetRequest -
OffsetResponsereturns a singleOffsetrather than array. - Added
RebalanceTimeouttoJoinGroupRequest - Search offsets by
Timestampfor messages supporting the format.