pandaapo commented on issue #4635:
URL: https://github.com/apache/eventmesh/issues/4635#issuecomment-1849764971

   Welcome! 
   Firstly, the File Source Connector primarily retrieves content from files, 
and Java offers various methods for obtaining file content. For example, you 
can establish an input stream to the target file in the `start()` method, and 
the `stop()` method naturally involves closing resources that need to be 
released, such as the previously opened input stream. The `commit()` method is 
mainly used to record the position of data reading, it is not necessary to 
implement it for now. However, if you can accurately record the position of the 
data already read, you can implement this method `commit()`. My suggestion is 
just a reference, and you are free to choose other, possibly better, 
implementation approaches.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to