AdamChlupacek on v0.4.0-M4
AdamChlupacek on 0.4-spinoco-compat
Setting version to 0.4.0-M4 Setting version to 0.4.0-SNAPSH… (compare)
mraulim on 0.4-spinoco-compat
Add timeout for publishing in k… Added trusty as a dist for runn… Fixed timeout on leader query. and 2 more (compare)
AdamChlupacek on publish-connection-timeout
Add timeout for leaders stream. (compare)
AdamChlupacek on publish-connection-timeout
Fixed timeout on leader query. (compare)
AdamChlupacek on publish-connection-timeout
Added trusty as a dist for runn… (compare)
AdamChlupacek on publish-connection-timeout
Add timeout for publishing in k… (compare)
ByteVector
, not a ByteBuffer
of Array[Byte]
as ByteVector
provides us with much high level API to operate over the bytes in it. As well it is immutable, so it makes it much easier to reason about. Second, we do not take some abstract A, because we want the user to deal with encoding errors. This is basically the gist of it.
attempt
and you get that either you asking for :-)
concurrent
into account
Stream.eval(client.offsetRangeFor(topic("offsets"), partition(0))).flatMap { case (first, next) =>
val num = next - first
println(s"F: $first, L: $next, N: $num")
client.subscribe(topic("offsets"), partition(0), first).take(num)
}