-
Notifications
You must be signed in to change notification settings - Fork 641
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Enhancement] Implement the function of File Source Connector #4635
Comments
Hi @pandaapo I would like to work on this issue.Can I get some information on how to implement (start(),commit(),stop())this methods? |
Welcome! |
Thanks @pandaapo for your suggestion.I have started the implementation already.I am stuck at this poll() method.Any suggestions for implementing it would be of great help? |
I think you can refer to the implementation of other Source Connectors, and also can observe the File Sink Connector to think about functions needed in this Connector. The above is what I can provide to you. |
Thanks for the tips! I'll check out other Source Connectors and the File Sink Connector for reference. I appreciate your input and will keep you posted on the progress. |
Hello @pandaapo , I have submitted a pull request. Could you please review it and provide any suggestions for changes if needed? |
@pandaapo @HarshSawarkar I have a theoretical question regarding the File Source connector. Hope I get some suggestions or any resources to study related to my question. Because we are not implementing the commit() method, every time a change happens in a file our connector will read the entire file and then push it to the event broker. This seems to be inefficient but maybe we can ignore that for now. @pandaapo @HarshSawarkar 我有一个关于文件源连接器的理论问题。 希望我能得到一些建议或任何与我的问题相关的研究资源。 因为我们没有实现 commit() 方法,所以每次文件中发生更改时,我们的连接器都会读取整个文件,然后将其推送到事件代理。 目前这似乎效率低下,但也许我们现在可以忽略它。 |
It is indeed a complex problem, and I feel that relying solely on offset does not seem to solve the problem of incrementally reading file changes. 确实是个复杂的问题,我觉得这单独靠一个偏移量似乎解决不了增量读取文件变更的问题。 |
* Implemented the functions of file source connector. * Implemented the functions of file source connector. * Implemented the functions of file source connector. * Implemented the functions of file source connector. * Implemented the functions of file source connector. * Implemented the functions of file source connector. * Implemented the functions of file source connector. * Implemented the functions of file source connector. * Implemented the functions of file source connector. * Implemented the functions of file source connector. * Implemented the functions of file source connector. * Implemented the functions of file source connector.
EventMesh will participate in at least one of GSoC/OSPP/GLCC each year. You don't need to worry too much because the registration period for these three events hasn't started yet. You can subscribe to our issues mailing list, where the subjects will be announced as issues. |
@Pil0tXia Thanks for the update! Exciting to hear that EventMesh is participating in GSoC/OSPP/GLCC annually. I'll stay tuned for the registration period and subscribe to the issues mailing list. Appreciate your guidance! |
Search before asking
Enhancement Request
At present, the File Source Connector is basically an empty implementation.
Describe the solution you'd like
Implement the function of File Source Connector.
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: