Skip to content

v1.6.2

Compare
Choose a tag to compare
@sshanks-kx sshanks-kx released this 20 Dec 17:03
· 14 commits to master since this release
1017415

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 :

  1. cid is client ID (integer)
  2. Topic (sym)
  3. Partition (long)
  4. 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