Hi Manthosh!
Avro, and therefore Kite, will be flushing records to disk as you hit
the sync interval, defaults to ~64KB. So you won't be generating all
of the I/O at once. When you close, that will force a flush of the
final Avro block and then close the temporary file. Then, it will
rename the file to a non-temporary name. So you're getting the benefit
of buffered I/O with the record-at-a-time API without delaying all of
the I/O to the call to close.
I hope that helps!
-Joey
> --
> You received this message because you are subscribed to the Google Groups
> "CDK Development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
cdk-dev+u...@cloudera.org.
> For more options, visit
https://groups.google.com/a/cloudera.org/d/optout.
--
-Joey