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
[FLINK-9592][flink-connector-filesystem] added ability to hook file state changing #6824
Conversation
… file state changing
Hi @kent2171 , I had a look at the PR. I also wrote the same comment at the associated JIRA but I also include it here. In general, as I said earlier, I like the idea of having Callbacks to notify when a file changes state.
Given the above, I would suggest that the function should have an
Let me know what you think about the above! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I expressed my concerns in the comment above.
Hi @kl0u , thx for your time
Also I got a question, in the latest releases we got a StreamingFileSink, does it mean, that BucketingSink will be deprecated soon, and if we need any hooks, we should implement them in StreamingFileSink instead of BucketingSink ? thx ! |
Hi @kent2171 ! I am not so sure if the But specifically for this new feature, I would say to implement it on top of the new |
ok, will return with the proposal, thx @kl0u |
Perfect @kent2171 ! Looking forward to your design proposal. |
What is the purpose of the change:
This pull-request adds ability to hook the moment of file state changing
Brief change log:
Verifying this change:
The following tests verify that hooks are called in proper time:
Does this pull request potentially affect one of the following parts:
Documentation: