[
https://issues.apache.org/jira/browse/NIFI-1744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Saumya Gurtu updated NIFI-1744:
-------------------------------
Assignee: Saumya Gurtu
Status: Patch Available (was: Open)
> Reporting Task ConfigurationContext doesn't expose state
> --------------------------------------------------------
>
> Key: NIFI-1744
> URL: https://issues.apache.org/jira/browse/NIFI-1744
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Joe Percivall
> Assignee: Saumya Gurtu
> Priority: Minor
> Labels: beginner
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Reporting tasks are able to access state via the ReportingContext in the
> onTrigger method but the parameter for the OnScheduled methods is
> ConfigurationContext which doesn't offer the ability to get the state manager.
> This could be used if the Reporting task needed to resume from a set point
> after restart.
> All that needs to be done is to expose the state manager in the
> ConfigurationContext.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)