Don't window records
This commit is contained in:
parent
f48a1d321b
commit
006974ba23
|
@ -40,8 +40,7 @@ public class KafkaProducer {
|
||||||
"tdlib.event.%d.%d".formatted(userId, liveId),
|
"tdlib.event.%d.%d".formatted(userId, liveId),
|
||||||
event
|
event
|
||||||
), null))
|
), null))
|
||||||
.windowTimeout(1024, Duration.ofMillis(10))
|
.flatMap(record -> sender.send(Mono.just(record)))
|
||||||
.flatMap(sender::send)
|
|
||||||
.doOnError(e -> LOG.error("Send failed", e))
|
.doOnError(e -> LOG.error("Send failed", e))
|
||||||
.then();
|
.then();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user