Skip to content
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

[FEATURE] onStatusChanged, onItemComplete and onItemFailed available from FlowRunner Java API #7914

Open
lukasz1234567890 opened this issue Jun 20, 2023 · 0 comments

Comments

@lukasz1234567890
Copy link

What gap would you like Data Hub Framework to address?

In previous versions and in the LegacyFlowRunner the Java API provided a way to execute some code when processing (harmonization) of item was done. Namely onItemComplete and onItemFailed. We were using this in our java code because some of our collectors are returning values that are concatenated URIs that we need to split to get the correct count (onItemComplete).

But in the process of migrating our flows from legacy 4.x to new Steps approach we found out that the functionality is no longer available. There still is (at least in v5.4.1) onStatusChanged but without access to the id/uri processed.

Describe the solution you'd like

Extend the java API in a way a user can add a custom onItemComplete and onItemFailed listeners to a flow/step.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants