Is there any difference between FileSink and FileRollSink?
Answer Posted / Sanjay
Yes, there is a difference between FileSink and FileRollSink in Apache Flume. While both are sinks used for writing data to files, they have different file handling mechanisms. FileSink writes data continuously to the same file until it reaches its maximum size limit (defined by channel's capacity). On the other hand, FileRollSink writes data to a new file once the current file reaches its predefined size limit or age limit. This allows for more efficient management of large amounts of data.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers