[
https://issues.apache.org/jira/browse/NIFI-1744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17603982#comment-17603982
]
Saumya Gurtu edited comment on NIFI-1744 at 9/14/22 11:47 AM:
--------------------------------------------------------------
Github PR: [https://github.com/apache/nifi/pull/6383]
was (Author: JIRAUSER295134):
Github PR: [https://github.com/apache/nifi/pull/6383]
[~jpercivall] Please update ticket status to "Patch Available", I don't have
the access.
> 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
> 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)