The same way as Kafka. Jitsu nodes (=collection agents) writes to write ahead log, and then either sends data to destination right away, or sends data in batches.
https://github.com/jitsucom/jitsu/blob/0aaa74b59eb9d8c885c80...
I see that it instantiates an "AsyncLogger" - does the service wait until data is written to the log prior to returning success to the client?
Is the WAL the same source used to feed both database storage destinations and other SaaS destinations?