I'm wondering if there is any benefit to this sink (in its current form) being an PeriodicBatchingSink?
As it stands, EmitBatch is simple sendin each message in the batch one-by-one, such that every message is sent using a new TCP connection.
I can see how this would make sense if #4 was implemented, as you would only flush at the end of every batch.
I'm wondering if there is any benefit to this sink (in its current form) being an
PeriodicBatchingSink?As it stands,
EmitBatchis simple sendin each message in the batch one-by-one, such that every message is sent using a new TCP connection.I can see how this would make sense if #4 was implemented, as you would only flush at the end of every batch.