brimdata / zync

Kafka connector to sync Zed lakes to and from Kafka topics
BSD 3-Clause "New" or "Revised" License
18 stars 3 forks source link

use "tail 1" in queries for largest kafka.offset #38

Closed nwt closed 2 years ago

nwt commented 2 years ago

Pools have a key of kafka.offset:asc, so "head 1" in queries yields a record with the smallest kafka.offset value. Switch to "tail 1" to obtain the largest.