timeabarna commented on a change in pull request #4824:
URL: https://github.com/apache/nifi/pull/4824#discussion_r589361101
##########
File path:
nifi-nar-bundles/nifi-splunk-bundle/nifi-splunk-processors/src/main/java/org/apache/nifi/processors/splunk/QuerySplunkIndexingStatus.java
##########
@@ -54,9 +56,13 @@
@ReadsAttributes({
@ReadsAttribute(attribute = "splunk.acknowledgement.id", description =
"The indexing acknowledgement id provided by Splunk."),
@ReadsAttribute(attribute = "splunk.responded.at", description = "The
time of the response of put request for Splunk.")})
+@WritesAttributes({
+ @WritesAttribute(attribute = "ack.checked.at.splunk", description =
"Contains a boolean value representing whether Splunk acknowledgement check has
happened. If not set considered as false.")
+})
@SeeAlso(PutSplunkHTTP.class)
public class QuerySplunkIndexingStatus extends SplunkAPICall {
private static final String ENDPOINT = "/services/collector/ack";
+ private static final String ACK_CHECKED_ATTRIBUTE =
"ack.checked.at.splunk";
Review comment:
Thanks @tpalfy for your help, refactored based on your recommendation.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]