v1.6.2
New:
Can now query broker for low (oldest/beginning) and high (newest/end) offsets for partition.
.kfk.queryWatermark
returns 2 element long for low/high watermark.
Takes 4 params :
- cid is client ID (integer)
- Topic (sym)
- Partition (long)
- Timeout ms (long)
e.g. .kfk.queryWatermark[client;`test1;0;1000]
Ref: https://docs.confluent.io/3.3.1/clients/librdkafka/rdkafka_8h.html#a4550ff7d014f08406666124573f70495