|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> |
|
<template encoding-version="1.2"> |
|
<description></description> |
|
<groupId>d7c4c25b-0169-1000-0cfc-5f21945da132</groupId> |
|
<name>Wait Notify Example</name> |
|
<snippet> |
|
<processGroups> |
|
<id>49da925c-3ec1-330f-0000-000000000000</id> |
|
<parentGroupId>f61b36df-0ab8-3842-0000-000000000000</parentGroupId> |
|
<position> |
|
<x>0.0</x> |
|
<y>0.0</y> |
|
</position> |
|
<comments></comments> |
|
<contents> |
|
<connections> |
|
<id>1a81bb99-8172-3385-0000-000000000000</id> |
|
<parentGroupId>49da925c-3ec1-330f-0000-000000000000</parentGroupId> |
|
<backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold> |
|
<backPressureObjectThreshold>10000</backPressureObjectThreshold> |
|
<destination> |
|
<groupId>49da925c-3ec1-330f-0000-000000000000</groupId> |
|
<id>68297f86-7809-31fc-0000-000000000000</id> |
|
<type>PROCESSOR</type> |
|
</destination> |
|
<flowFileExpiration>0 sec</flowFileExpiration> |
|
<labelIndex>1</labelIndex> |
|
<loadBalanceCompression>DO_NOT_COMPRESS</loadBalanceCompression> |
|
<loadBalancePartitionAttribute></loadBalancePartitionAttribute> |
|
<loadBalanceStatus>LOAD_BALANCE_NOT_CONFIGURED</loadBalanceStatus> |
|
<loadBalanceStrategy>DO_NOT_LOAD_BALANCE</loadBalanceStrategy> |
|
<name></name> |
|
<selectedRelationships>splits</selectedRelationships> |
|
<source> |
|
<groupId>49da925c-3ec1-330f-0000-000000000000</groupId> |
|
<id>e55eec90-06c0-3d97-0000-000000000000</id> |
|
<type>PROCESSOR</type> |
|
</source> |
|
<zIndex>0</zIndex> |
|
</connections> |
|
<connections> |
|
<id>221a1532-374c-3c13-0000-000000000000</id> |
|
<parentGroupId>49da925c-3ec1-330f-0000-000000000000</parentGroupId> |
|
<backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold> |
|
<backPressureObjectThreshold>10000</backPressureObjectThreshold> |
|
<destination> |
|
<groupId>49da925c-3ec1-330f-0000-000000000000</groupId> |
|
<id>6793e9ff-ba20-374a-0000-000000000000</id> |
|
<type>PROCESSOR</type> |
|
</destination> |
|
<flowFileExpiration>0 sec</flowFileExpiration> |
|
<labelIndex>1</labelIndex> |
|
<loadBalanceCompression>DO_NOT_COMPRESS</loadBalanceCompression> |
|
<loadBalancePartitionAttribute></loadBalancePartitionAttribute> |
|
<loadBalanceStatus>LOAD_BALANCE_NOT_CONFIGURED</loadBalanceStatus> |
|
<loadBalanceStrategy>DO_NOT_LOAD_BALANCE</loadBalanceStrategy> |
|
<name></name> |
|
<selectedRelationships>original</selectedRelationships> |
|
<source> |
|
<groupId>49da925c-3ec1-330f-0000-000000000000</groupId> |
|
<id>e55eec90-06c0-3d97-0000-000000000000</id> |
|
<type>PROCESSOR</type> |
|
</source> |
|
<zIndex>0</zIndex> |
|
</connections> |
|
<connections> |
|
<id>32810546-1278-308c-0000-000000000000</id> |
|
<parentGroupId>49da925c-3ec1-330f-0000-000000000000</parentGroupId> |
|
<backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold> |
|
<backPressureObjectThreshold>10000</backPressureObjectThreshold> |
|
<destination> |
|
<groupId>49da925c-3ec1-330f-0000-000000000000</groupId> |
|
<id>1240a7d6-ef8b-3faf-0000-000000000000</id> |
|
<type>PROCESSOR</type> |
|
</destination> |
|
<flowFileExpiration>0 sec</flowFileExpiration> |
|
<labelIndex>1</labelIndex> |
|
<loadBalanceCompression>DO_NOT_COMPRESS</loadBalanceCompression> |
|
<loadBalancePartitionAttribute></loadBalancePartitionAttribute> |
|
<loadBalanceStatus>LOAD_BALANCE_NOT_CONFIGURED</loadBalanceStatus> |
|
<loadBalanceStrategy>DO_NOT_LOAD_BALANCE</loadBalanceStrategy> |
|
<name></name> |
|
<selectedRelationships>success</selectedRelationships> |
|
<source> |
|
<groupId>49da925c-3ec1-330f-0000-000000000000</groupId> |
|
<id>6793e9ff-ba20-374a-0000-000000000000</id> |
|
<type>PROCESSOR</type> |
|
</source> |
|
<zIndex>0</zIndex> |
|
</connections> |
|
<connections> |
|
<id>64dbafac-5bf6-39fd-0000-000000000000</id> |
|
<parentGroupId>49da925c-3ec1-330f-0000-000000000000</parentGroupId> |
|
<backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold> |
|
<backPressureObjectThreshold>10000</backPressureObjectThreshold> |
|
<destination> |
|
<groupId>49da925c-3ec1-330f-0000-000000000000</groupId> |
|
<id>da92b7ed-d967-3f5a-0000-000000000000</id> |
|
<type>PROCESSOR</type> |
|
</destination> |
|
<flowFileExpiration>0 sec</flowFileExpiration> |
|
<labelIndex>0</labelIndex> |
|
<loadBalanceCompression>DO_NOT_COMPRESS</loadBalanceCompression> |
|
<loadBalancePartitionAttribute></loadBalancePartitionAttribute> |
|
<loadBalanceStatus>LOAD_BALANCE_NOT_CONFIGURED</loadBalanceStatus> |
|
<loadBalanceStrategy>DO_NOT_LOAD_BALANCE</loadBalanceStrategy> |
|
<name></name> |
|
<selectedRelationships>success</selectedRelationships> |
|
<source> |
|
<groupId>49da925c-3ec1-330f-0000-000000000000</groupId> |
|
<id>68297f86-7809-31fc-0000-000000000000</id> |
|
<type>PROCESSOR</type> |
|
</source> |
|
<zIndex>0</zIndex> |
|
</connections> |
|
<connections> |
|
<id>813507f5-9c25-3161-0000-000000000000</id> |
|
<parentGroupId>49da925c-3ec1-330f-0000-000000000000</parentGroupId> |
|
<backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold> |
|
<backPressureObjectThreshold>10000</backPressureObjectThreshold> |
|
<bends> |
|
<x>621.0</x> |
|
<y>623.0</y> |
|
</bends> |
|
<bends> |
|
<x>621.0</x> |
|
<y>673.0</y> |
|
</bends> |
|
<destination> |
|
<groupId>49da925c-3ec1-330f-0000-000000000000</groupId> |
|
<id>6793e9ff-ba20-374a-0000-000000000000</id> |
|
<type>PROCESSOR</type> |
|
</destination> |
|
<flowFileExpiration>0 sec</flowFileExpiration> |
|
<labelIndex>1</labelIndex> |
|
<loadBalanceCompression>DO_NOT_COMPRESS</loadBalanceCompression> |
|
<loadBalancePartitionAttribute></loadBalancePartitionAttribute> |
|
<loadBalanceStatus>LOAD_BALANCE_NOT_CONFIGURED</loadBalanceStatus> |
|
<loadBalanceStrategy>DO_NOT_LOAD_BALANCE</loadBalanceStrategy> |
|
<name></name> |
|
<selectedRelationships>wait</selectedRelationships> |
|
<source> |
|
<groupId>49da925c-3ec1-330f-0000-000000000000</groupId> |
|
<id>6793e9ff-ba20-374a-0000-000000000000</id> |
|
<type>PROCESSOR</type> |
|
</source> |
|
<zIndex>0</zIndex> |
|
</connections> |
|
<connections> |
|
<id>de99ad71-5934-3da6-0000-000000000000</id> |
|
<parentGroupId>49da925c-3ec1-330f-0000-000000000000</parentGroupId> |
|
<backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold> |
|
<backPressureObjectThreshold>10000</backPressureObjectThreshold> |
|
<bends> |
|
<x>944.0</x> |
|
<y>312.0</y> |
|
</bends> |
|
<destination> |
|
<groupId>49da925c-3ec1-330f-0000-000000000000</groupId> |
|
<id>e55eec90-06c0-3d97-0000-000000000000</id> |
|
<type>PROCESSOR</type> |
|
</destination> |
|
<flowFileExpiration>0 sec</flowFileExpiration> |
|
<labelIndex>0</labelIndex> |
|
<loadBalanceCompression>DO_NOT_COMPRESS</loadBalanceCompression> |
|
<loadBalancePartitionAttribute></loadBalancePartitionAttribute> |
|
<loadBalanceStatus>LOAD_BALANCE_NOT_CONFIGURED</loadBalanceStatus> |
|
<loadBalanceStrategy>DO_NOT_LOAD_BALANCE</loadBalanceStrategy> |
|
<name></name> |
|
<selectedRelationships>success</selectedRelationships> |
|
<source> |
|
<groupId>49da925c-3ec1-330f-0000-000000000000</groupId> |
|
<id>62ec3f1f-25a7-3eeb-0000-000000000000</id> |
|
<type>PROCESSOR</type> |
|
</source> |
|
<zIndex>0</zIndex> |
|
</connections> |
|
<connections> |
|
<id>ea6d7732-77b5-3436-0000-000000000000</id> |
|
<parentGroupId>49da925c-3ec1-330f-0000-000000000000</parentGroupId> |
|
<backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold> |
|
<backPressureObjectThreshold>10000</backPressureObjectThreshold> |
|
<bends> |
|
<x>584.0</x> |
|
<y>760.0</y> |
|
</bends> |
|
<destination> |
|
<groupId>49da925c-3ec1-330f-0000-000000000000</groupId> |
|
<id>1240a7d6-ef8b-3faf-0000-000000000000</id> |
|
<type>PROCESSOR</type> |
|
</destination> |
|
<flowFileExpiration>0 sec</flowFileExpiration> |
|
<labelIndex>1</labelIndex> |
|
<loadBalanceCompression>DO_NOT_COMPRESS</loadBalanceCompression> |
|
<loadBalancePartitionAttribute></loadBalancePartitionAttribute> |
|
<loadBalanceStatus>LOAD_BALANCE_NOT_CONFIGURED</loadBalanceStatus> |
|
<loadBalanceStrategy>DO_NOT_LOAD_BALANCE</loadBalanceStrategy> |
|
<name></name> |
|
<selectedRelationships>expired</selectedRelationships> |
|
<selectedRelationships>failure</selectedRelationships> |
|
<source> |
|
<groupId>49da925c-3ec1-330f-0000-000000000000</groupId> |
|
<id>6793e9ff-ba20-374a-0000-000000000000</id> |
|
<type>PROCESSOR</type> |
|
</source> |
|
<zIndex>0</zIndex> |
|
</connections> |
|
<controllerServices> |
|
<id>096a854f-8c85-3a92-0000-000000000000</id> |
|
<parentGroupId>49da925c-3ec1-330f-0000-000000000000</parentGroupId> |
|
<bundle> |
|
<artifact>nifi-distributed-cache-services-nar</artifact> |
|
<group>org.apache.nifi</group> |
|
<version>1.10.0-SNAPSHOT</version> |
|
</bundle> |
|
<comments></comments> |
|
<descriptors> |
|
<entry> |
|
<key>Server Hostname</key> |
|
<value> |
|
<name>Server Hostname</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>Server Port</key> |
|
<value> |
|
<name>Server Port</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>SSL Context Service</key> |
|
<value> |
|
<identifiesControllerService>org.apache.nifi.ssl.SSLContextService</identifiesControllerService> |
|
<name>SSL Context Service</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>Communications Timeout</key> |
|
<value> |
|
<name>Communications Timeout</name> |
|
</value> |
|
</entry> |
|
</descriptors> |
|
<name>DistributedMapCacheClientService</name> |
|
<persistsState>false</persistsState> |
|
<properties> |
|
<entry> |
|
<key>Server Hostname</key> |
|
<value>localhost</value> |
|
</entry> |
|
<entry> |
|
<key>Server Port</key> |
|
</entry> |
|
<entry> |
|
<key>SSL Context Service</key> |
|
</entry> |
|
<entry> |
|
<key>Communications Timeout</key> |
|
</entry> |
|
</properties> |
|
<state>ENABLED</state> |
|
<type>org.apache.nifi.distributed.cache.client.DistributedMapCacheClientService</type> |
|
</controllerServices> |
|
<labels> |
|
<id>7534115f-a4ad-3d9f-0000-000000000000</id> |
|
<parentGroupId>49da925c-3ec1-330f-0000-000000000000</parentGroupId> |
|
<position> |
|
<x>80.0</x> |
|
<y>552.0</y> |
|
</position> |
|
<height>184.0</height> |
|
<label>Wait is useful to wait something happening at other part of flow.</label> |
|
<style> |
|
<entry> |
|
<key>font-size</key> |
|
<value>12px</value> |
|
</entry> |
|
</style> |
|
<width>432.0</width> |
|
</labels> |
|
<processors> |
|
<id>1240a7d6-ef8b-3faf-0000-000000000000</id> |
|
<parentGroupId>49da925c-3ec1-330f-0000-000000000000</parentGroupId> |
|
<position> |
|
<x>152.0</x> |
|
<y>808.0</y> |
|
</position> |
|
<bundle> |
|
<artifact>nifi-standard-nar</artifact> |
|
<group>org.apache.nifi</group> |
|
<version>1.10.0-SNAPSHOT</version> |
|
</bundle> |
|
<config> |
|
<bulletinLevel>WARN</bulletinLevel> |
|
<comments></comments> |
|
<concurrentlySchedulableTaskCount>1</concurrentlySchedulableTaskCount> |
|
<descriptors> |
|
<entry> |
|
<key>log-level</key> |
|
<value> |
|
<name>log-level</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>log-prefix</key> |
|
<value> |
|
<name>log-prefix</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>log-message</key> |
|
<value> |
|
<name>log-message</name> |
|
</value> |
|
</entry> |
|
</descriptors> |
|
<executionNode>ALL</executionNode> |
|
<lossTolerant>false</lossTolerant> |
|
<penaltyDuration>30 sec</penaltyDuration> |
|
<properties> |
|
<entry> |
|
<key>log-level</key> |
|
<value>info</value> |
|
</entry> |
|
<entry> |
|
<key>log-prefix</key> |
|
</entry> |
|
<entry> |
|
<key>log-message</key> |
|
<value>Finished waiting for subtask completion of ${fragment.identifier}</value> |
|
</entry> |
|
</properties> |
|
<runDurationMillis>0</runDurationMillis> |
|
<schedulingPeriod>0 sec</schedulingPeriod> |
|
<schedulingStrategy>TIMER_DRIVEN</schedulingStrategy> |
|
<yieldDuration>1 sec</yieldDuration> |
|
</config> |
|
<executionNodeRestricted>false</executionNodeRestricted> |
|
<name>LogMessage</name> |
|
<relationships> |
|
<autoTerminate>true</autoTerminate> |
|
<name>success</name> |
|
</relationships> |
|
<state>RUNNING</state> |
|
<style/> |
|
<type>org.apache.nifi.processors.standard.LogMessage</type> |
|
</processors> |
|
<processors> |
|
<id>62ec3f1f-25a7-3eeb-0000-000000000000</id> |
|
<parentGroupId>49da925c-3ec1-330f-0000-000000000000</parentGroupId> |
|
<position> |
|
<x>456.0</x> |
|
<y>192.0</y> |
|
</position> |
|
<bundle> |
|
<artifact>nifi-standard-nar</artifact> |
|
<group>org.apache.nifi</group> |
|
<version>1.10.0-SNAPSHOT</version> |
|
</bundle> |
|
<config> |
|
<bulletinLevel>WARN</bulletinLevel> |
|
<comments></comments> |
|
<concurrentlySchedulableTaskCount>1</concurrentlySchedulableTaskCount> |
|
<descriptors> |
|
<entry> |
|
<key>File Size</key> |
|
<value> |
|
<name>File Size</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>Batch Size</key> |
|
<value> |
|
<name>Batch Size</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>Data Format</key> |
|
<value> |
|
<name>Data Format</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>Unique FlowFiles</key> |
|
<value> |
|
<name>Unique FlowFiles</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>generate-ff-custom-text</key> |
|
<value> |
|
<name>generate-ff-custom-text</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>character-set</key> |
|
<value> |
|
<name>character-set</name> |
|
</value> |
|
</entry> |
|
</descriptors> |
|
<executionNode>ALL</executionNode> |
|
<lossTolerant>false</lossTolerant> |
|
<penaltyDuration>30 sec</penaltyDuration> |
|
<properties> |
|
<entry> |
|
<key>File Size</key> |
|
<value>0B</value> |
|
</entry> |
|
<entry> |
|
<key>Batch Size</key> |
|
<value>1</value> |
|
</entry> |
|
<entry> |
|
<key>Data Format</key> |
|
<value>Text</value> |
|
</entry> |
|
<entry> |
|
<key>Unique FlowFiles</key> |
|
<value>false</value> |
|
</entry> |
|
<entry> |
|
<key>generate-ff-custom-text</key> |
|
<value>1 |
|
2 |
|
3 |
|
4 |
|
5</value> |
|
</entry> |
|
<entry> |
|
<key>character-set</key> |
|
<value>UTF-8</value> |
|
</entry> |
|
</properties> |
|
<runDurationMillis>0</runDurationMillis> |
|
<schedulingPeriod>1d</schedulingPeriod> |
|
<schedulingStrategy>TIMER_DRIVEN</schedulingStrategy> |
|
<yieldDuration>1 sec</yieldDuration> |
|
</config> |
|
<executionNodeRestricted>false</executionNodeRestricted> |
|
<name>GenerateFlowFile</name> |
|
<relationships> |
|
<autoTerminate>false</autoTerminate> |
|
<name>success</name> |
|
</relationships> |
|
<state>RUNNING</state> |
|
<style/> |
|
<type>org.apache.nifi.processors.standard.GenerateFlowFile</type> |
|
</processors> |
|
<processors> |
|
<id>6793e9ff-ba20-374a-0000-000000000000</id> |
|
<parentGroupId>49da925c-3ec1-330f-0000-000000000000</parentGroupId> |
|
<position> |
|
<x>152.0</x> |
|
<y>584.0</y> |
|
</position> |
|
<bundle> |
|
<artifact>nifi-standard-nar</artifact> |
|
<group>org.apache.nifi</group> |
|
<version>1.10.0-SNAPSHOT</version> |
|
</bundle> |
|
<config> |
|
<bulletinLevel>WARN</bulletinLevel> |
|
<comments></comments> |
|
<concurrentlySchedulableTaskCount>1</concurrentlySchedulableTaskCount> |
|
<descriptors> |
|
<entry> |
|
<key>release-signal-id</key> |
|
<value> |
|
<name>release-signal-id</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>target-signal-count</key> |
|
<value> |
|
<name>target-signal-count</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>signal-counter-name</key> |
|
<value> |
|
<name>signal-counter-name</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>wait-buffer-count</key> |
|
<value> |
|
<name>wait-buffer-count</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>releasable-flowfile-count</key> |
|
<value> |
|
<name>releasable-flowfile-count</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>expiration-duration</key> |
|
<value> |
|
<name>expiration-duration</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>distributed-cache-service</key> |
|
<value> |
|
<identifiesControllerService>org.apache.nifi.distributed.cache.client.AtomicDistributedMapCacheClient</identifiesControllerService> |
|
<name>distributed-cache-service</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>attribute-copy-mode</key> |
|
<value> |
|
<name>attribute-copy-mode</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>wait-mode</key> |
|
<value> |
|
<name>wait-mode</name> |
|
</value> |
|
</entry> |
|
</descriptors> |
|
<executionNode>ALL</executionNode> |
|
<lossTolerant>false</lossTolerant> |
|
<penaltyDuration>30 sec</penaltyDuration> |
|
<properties> |
|
<entry> |
|
<key>release-signal-id</key> |
|
<value>${fragment.identifier}</value> |
|
</entry> |
|
<entry> |
|
<key>target-signal-count</key> |
|
<value>${fragment.count}</value> |
|
</entry> |
|
<entry> |
|
<key>signal-counter-name</key> |
|
</entry> |
|
<entry> |
|
<key>wait-buffer-count</key> |
|
<value>1</value> |
|
</entry> |
|
<entry> |
|
<key>releasable-flowfile-count</key> |
|
<value>1</value> |
|
</entry> |
|
<entry> |
|
<key>expiration-duration</key> |
|
<value>10 min</value> |
|
</entry> |
|
<entry> |
|
<key>distributed-cache-service</key> |
|
<value>096a854f-8c85-3a92-0000-000000000000</value> |
|
</entry> |
|
<entry> |
|
<key>attribute-copy-mode</key> |
|
<value>keeporiginal</value> |
|
</entry> |
|
<entry> |
|
<key>wait-mode</key> |
|
<value>wait</value> |
|
</entry> |
|
</properties> |
|
<runDurationMillis>0</runDurationMillis> |
|
<schedulingPeriod>0 sec</schedulingPeriod> |
|
<schedulingStrategy>TIMER_DRIVEN</schedulingStrategy> |
|
<yieldDuration>1 sec</yieldDuration> |
|
</config> |
|
<executionNodeRestricted>false</executionNodeRestricted> |
|
<name>Wait</name> |
|
<relationships> |
|
<autoTerminate>false</autoTerminate> |
|
<name>expired</name> |
|
</relationships> |
|
<relationships> |
|
<autoTerminate>false</autoTerminate> |
|
<name>failure</name> |
|
</relationships> |
|
<relationships> |
|
<autoTerminate>false</autoTerminate> |
|
<name>success</name> |
|
</relationships> |
|
<relationships> |
|
<autoTerminate>false</autoTerminate> |
|
<name>wait</name> |
|
</relationships> |
|
<state>RUNNING</state> |
|
<style/> |
|
<type>org.apache.nifi.processors.standard.Wait</type> |
|
</processors> |
|
<processors> |
|
<id>68297f86-7809-31fc-0000-000000000000</id> |
|
<parentGroupId>49da925c-3ec1-330f-0000-000000000000</parentGroupId> |
|
<position> |
|
<x>752.0</x> |
|
<y>592.0</y> |
|
</position> |
|
<bundle> |
|
<artifact>nifi-standard-nar</artifact> |
|
<group>org.apache.nifi</group> |
|
<version>1.10.0-SNAPSHOT</version> |
|
</bundle> |
|
<config> |
|
<bulletinLevel>WARN</bulletinLevel> |
|
<comments></comments> |
|
<concurrentlySchedulableTaskCount>1</concurrentlySchedulableTaskCount> |
|
<descriptors> |
|
<entry> |
|
<key>log-level</key> |
|
<value> |
|
<name>log-level</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>log-prefix</key> |
|
<value> |
|
<name>log-prefix</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>log-message</key> |
|
<value> |
|
<name>log-message</name> |
|
</value> |
|
</entry> |
|
</descriptors> |
|
<executionNode>ALL</executionNode> |
|
<lossTolerant>false</lossTolerant> |
|
<penaltyDuration>30 sec</penaltyDuration> |
|
<properties> |
|
<entry> |
|
<key>log-level</key> |
|
<value>info</value> |
|
</entry> |
|
<entry> |
|
<key>log-prefix</key> |
|
</entry> |
|
<entry> |
|
<key>log-message</key> |
|
<value>Processing ${fragment.index}/${fragment.count} message for ${fragment.identifier}</value> |
|
</entry> |
|
</properties> |
|
<runDurationMillis>0</runDurationMillis> |
|
<schedulingPeriod>0 sec</schedulingPeriod> |
|
<schedulingStrategy>TIMER_DRIVEN</schedulingStrategy> |
|
<yieldDuration>1 sec</yieldDuration> |
|
</config> |
|
<executionNodeRestricted>false</executionNodeRestricted> |
|
<name>LogMessage</name> |
|
<relationships> |
|
<autoTerminate>false</autoTerminate> |
|
<name>success</name> |
|
</relationships> |
|
<state>RUNNING</state> |
|
<style/> |
|
<type>org.apache.nifi.processors.standard.LogMessage</type> |
|
</processors> |
|
<processors> |
|
<id>da92b7ed-d967-3f5a-0000-000000000000</id> |
|
<parentGroupId>49da925c-3ec1-330f-0000-000000000000</parentGroupId> |
|
<position> |
|
<x>752.0</x> |
|
<y>800.0</y> |
|
</position> |
|
<bundle> |
|
<artifact>nifi-standard-nar</artifact> |
|
<group>org.apache.nifi</group> |
|
<version>1.10.0-SNAPSHOT</version> |
|
</bundle> |
|
<config> |
|
<bulletinLevel>WARN</bulletinLevel> |
|
<comments></comments> |
|
<concurrentlySchedulableTaskCount>1</concurrentlySchedulableTaskCount> |
|
<descriptors> |
|
<entry> |
|
<key>release-signal-id</key> |
|
<value> |
|
<name>release-signal-id</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>signal-counter-name</key> |
|
<value> |
|
<name>signal-counter-name</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>signal-counter-delta</key> |
|
<value> |
|
<name>signal-counter-delta</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>signal-buffer-count</key> |
|
<value> |
|
<name>signal-buffer-count</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>distributed-cache-service</key> |
|
<value> |
|
<identifiesControllerService>org.apache.nifi.distributed.cache.client.AtomicDistributedMapCacheClient</identifiesControllerService> |
|
<name>distributed-cache-service</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>attribute-cache-regex</key> |
|
<value> |
|
<name>attribute-cache-regex</name> |
|
</value> |
|
</entry> |
|
</descriptors> |
|
<executionNode>ALL</executionNode> |
|
<lossTolerant>false</lossTolerant> |
|
<penaltyDuration>30 sec</penaltyDuration> |
|
<properties> |
|
<entry> |
|
<key>release-signal-id</key> |
|
<value>${fragment.identifier}</value> |
|
</entry> |
|
<entry> |
|
<key>signal-counter-name</key> |
|
<value>default</value> |
|
</entry> |
|
<entry> |
|
<key>signal-counter-delta</key> |
|
<value>1</value> |
|
</entry> |
|
<entry> |
|
<key>signal-buffer-count</key> |
|
<value>1</value> |
|
</entry> |
|
<entry> |
|
<key>distributed-cache-service</key> |
|
<value>096a854f-8c85-3a92-0000-000000000000</value> |
|
</entry> |
|
<entry> |
|
<key>attribute-cache-regex</key> |
|
</entry> |
|
</properties> |
|
<runDurationMillis>0</runDurationMillis> |
|
<schedulingPeriod>0 sec</schedulingPeriod> |
|
<schedulingStrategy>TIMER_DRIVEN</schedulingStrategy> |
|
<yieldDuration>1 sec</yieldDuration> |
|
</config> |
|
<executionNodeRestricted>false</executionNodeRestricted> |
|
<name>Notify</name> |
|
<relationships> |
|
<autoTerminate>true</autoTerminate> |
|
<name>failure</name> |
|
</relationships> |
|
<relationships> |
|
<autoTerminate>true</autoTerminate> |
|
<name>success</name> |
|
</relationships> |
|
<state>RUNNING</state> |
|
<style/> |
|
<type>org.apache.nifi.processors.standard.Notify</type> |
|
</processors> |
|
<processors> |
|
<id>e55eec90-06c0-3d97-0000-000000000000</id> |
|
<parentGroupId>49da925c-3ec1-330f-0000-000000000000</parentGroupId> |
|
<position> |
|
<x>448.0</x> |
|
<y>344.0</y> |
|
</position> |
|
<bundle> |
|
<artifact>nifi-standard-nar</artifact> |
|
<group>org.apache.nifi</group> |
|
<version>1.10.0-SNAPSHOT</version> |
|
</bundle> |
|
<config> |
|
<bulletinLevel>WARN</bulletinLevel> |
|
<comments></comments> |
|
<concurrentlySchedulableTaskCount>1</concurrentlySchedulableTaskCount> |
|
<descriptors> |
|
<entry> |
|
<key>Line Split Count</key> |
|
<value> |
|
<name>Line Split Count</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>Maximum Fragment Size</key> |
|
<value> |
|
<name>Maximum Fragment Size</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>Header Line Count</key> |
|
<value> |
|
<name>Header Line Count</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>Header Line Marker Characters</key> |
|
<value> |
|
<name>Header Line Marker Characters</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>Remove Trailing Newlines</key> |
|
<value> |
|
<name>Remove Trailing Newlines</name> |
|
</value> |
|
</entry> |
|
</descriptors> |
|
<executionNode>ALL</executionNode> |
|
<lossTolerant>false</lossTolerant> |
|
<penaltyDuration>30 sec</penaltyDuration> |
|
<properties> |
|
<entry> |
|
<key>Line Split Count</key> |
|
<value>1</value> |
|
</entry> |
|
<entry> |
|
<key>Maximum Fragment Size</key> |
|
</entry> |
|
<entry> |
|
<key>Header Line Count</key> |
|
<value>0</value> |
|
</entry> |
|
<entry> |
|
<key>Header Line Marker Characters</key> |
|
</entry> |
|
<entry> |
|
<key>Remove Trailing Newlines</key> |
|
<value>true</value> |
|
</entry> |
|
</properties> |
|
<runDurationMillis>0</runDurationMillis> |
|
<schedulingPeriod>0 sec</schedulingPeriod> |
|
<schedulingStrategy>TIMER_DRIVEN</schedulingStrategy> |
|
<yieldDuration>1 sec</yieldDuration> |
|
</config> |
|
<executionNodeRestricted>false</executionNodeRestricted> |
|
<name>SplitText</name> |
|
<relationships> |
|
<autoTerminate>true</autoTerminate> |
|
<name>failure</name> |
|
</relationships> |
|
<relationships> |
|
<autoTerminate>false</autoTerminate> |
|
<name>original</name> |
|
</relationships> |
|
<relationships> |
|
<autoTerminate>false</autoTerminate> |
|
<name>splits</name> |
|
</relationships> |
|
<state>RUNNING</state> |
|
<style/> |
|
<type>org.apache.nifi.processors.standard.SplitText</type> |
|
</processors> |
|
</contents> |
|
<name>Wait Notify Example</name> |
|
<variables/> |
|
</processGroups> |
|
</snippet> |
|
<timestamp>04/05/2019 10:07:41 JST</timestamp> |
|
</template> |
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> |
|
<template encoding-version="1.2"> |
|
<description></description> |
|
<groupId>d7c4c25b-0169-1000-0cfc-5f21945da132</groupId> |
|
<name>Wait Notify Example</name> |
|
<snippet> |
|
<processGroups> |
|
<id>49da925c-3ec1-330f-0000-000000000000</id> |
|
<parentGroupId>f61b36df-0ab8-3842-0000-000000000000</parentGroupId> |
|
<position> |
|
<x>0.0</x> |
|
<y>0.0</y> |
|
</position> |
|
<comments></comments> |
|
<contents> |
|
<connections> |
|
<id>1a81bb99-8172-3385-0000-000000000000</id> |
|
<parentGroupId>49da925c-3ec1-330f-0000-000000000000</parentGroupId> |
|
<backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold> |
|
<backPressureObjectThreshold>10000</backPressureObjectThreshold> |
|
<destination> |
|
<groupId>49da925c-3ec1-330f-0000-000000000000</groupId> |
|
<id>68297f86-7809-31fc-0000-000000000000</id> |
|
<type>PROCESSOR</type> |
|
</destination> |
|
<flowFileExpiration>0 sec</flowFileExpiration> |
|
<labelIndex>1</labelIndex> |
|
<loadBalanceCompression>DO_NOT_COMPRESS</loadBalanceCompression> |
|
<loadBalancePartitionAttribute></loadBalancePartitionAttribute> |
|
<loadBalanceStatus>LOAD_BALANCE_NOT_CONFIGURED</loadBalanceStatus> |
|
<loadBalanceStrategy>DO_NOT_LOAD_BALANCE</loadBalanceStrategy> |
|
<name></name> |
|
<selectedRelationships>splits</selectedRelationships> |
|
<source> |
|
<groupId>49da925c-3ec1-330f-0000-000000000000</groupId> |
|
<id>e55eec90-06c0-3d97-0000-000000000000</id> |
|
<type>PROCESSOR</type> |
|
</source> |
|
<zIndex>0</zIndex> |
|
</connections> |
|
<connections> |
|
<id>221a1532-374c-3c13-0000-000000000000</id> |
|
<parentGroupId>49da925c-3ec1-330f-0000-000000000000</parentGroupId> |
|
<backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold> |
|
<backPressureObjectThreshold>10000</backPressureObjectThreshold> |
|
<destination> |
|
<groupId>49da925c-3ec1-330f-0000-000000000000</groupId> |
|
<id>6793e9ff-ba20-374a-0000-000000000000</id> |
|
<type>PROCESSOR</type> |
|
</destination> |
|
<flowFileExpiration>0 sec</flowFileExpiration> |
|
<labelIndex>1</labelIndex> |
|
<loadBalanceCompression>DO_NOT_COMPRESS</loadBalanceCompression> |
|
<loadBalancePartitionAttribute></loadBalancePartitionAttribute> |
|
<loadBalanceStatus>LOAD_BALANCE_NOT_CONFIGURED</loadBalanceStatus> |
|
<loadBalanceStrategy>DO_NOT_LOAD_BALANCE</loadBalanceStrategy> |
|
<name></name> |
|
<selectedRelationships>original</selectedRelationships> |
|
<source> |
|
<groupId>49da925c-3ec1-330f-0000-000000000000</groupId> |
|
<id>e55eec90-06c0-3d97-0000-000000000000</id> |
|
<type>PROCESSOR</type> |
|
</source> |
|
<zIndex>0</zIndex> |
|
</connections> |
|
<connections> |
|
<id>32810546-1278-308c-0000-000000000000</id> |
|
<parentGroupId>49da925c-3ec1-330f-0000-000000000000</parentGroupId> |
|
<backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold> |
|
<backPressureObjectThreshold>10000</backPressureObjectThreshold> |
|
<destination> |
|
<groupId>49da925c-3ec1-330f-0000-000000000000</groupId> |
|
<id>1240a7d6-ef8b-3faf-0000-000000000000</id> |
|
<type>PROCESSOR</type> |
|
</destination> |
|
<flowFileExpiration>0 sec</flowFileExpiration> |
|
<labelIndex>1</labelIndex> |
|
<loadBalanceCompression>DO_NOT_COMPRESS</loadBalanceCompression> |
|
<loadBalancePartitionAttribute></loadBalancePartitionAttribute> |
|
<loadBalanceStatus>LOAD_BALANCE_NOT_CONFIGURED</loadBalanceStatus> |
|
<loadBalanceStrategy>DO_NOT_LOAD_BALANCE</loadBalanceStrategy> |
|
<name></name> |
|
<selectedRelationships>success</selectedRelationships> |
|
<source> |
|
<groupId>49da925c-3ec1-330f-0000-000000000000</groupId> |
|
<id>6793e9ff-ba20-374a-0000-000000000000</id> |
|
<type>PROCESSOR</type> |
|
</source> |
|
<zIndex>0</zIndex> |
|
</connections> |
|
<connections> |
|
<id>64dbafac-5bf6-39fd-0000-000000000000</id> |
|
<parentGroupId>49da925c-3ec1-330f-0000-000000000000</parentGroupId> |
|
<backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold> |
|
<backPressureObjectThreshold>10000</backPressureObjectThreshold> |
|
<destination> |
|
<groupId>49da925c-3ec1-330f-0000-000000000000</groupId> |
|
<id>da92b7ed-d967-3f5a-0000-000000000000</id> |
|
<type>PROCESSOR</type> |
|
</destination> |
|
<flowFileExpiration>0 sec</flowFileExpiration> |
|
<labelIndex>0</labelIndex> |
|
<loadBalanceCompression>DO_NOT_COMPRESS</loadBalanceCompression> |
|
<loadBalancePartitionAttribute></loadBalancePartitionAttribute> |
|
<loadBalanceStatus>LOAD_BALANCE_NOT_CONFIGURED</loadBalanceStatus> |
|
<loadBalanceStrategy>DO_NOT_LOAD_BALANCE</loadBalanceStrategy> |
|
<name></name> |
|
<selectedRelationships>success</selectedRelationships> |
|
<source> |
|
<groupId>49da925c-3ec1-330f-0000-000000000000</groupId> |
|
<id>68297f86-7809-31fc-0000-000000000000</id> |
|
<type>PROCESSOR</type> |
|
</source> |
|
<zIndex>0</zIndex> |
|
</connections> |
|
<connections> |
|
<id>813507f5-9c25-3161-0000-000000000000</id> |
|
<parentGroupId>49da925c-3ec1-330f-0000-000000000000</parentGroupId> |
|
<backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold> |
|
<backPressureObjectThreshold>10000</backPressureObjectThreshold> |
|
<bends> |
|
<x>621.0</x> |
|
<y>623.0</y> |
|
</bends> |
|
<bends> |
|
<x>621.0</x> |
|
<y>673.0</y> |
|
</bends> |
|
<destination> |
|
<groupId>49da925c-3ec1-330f-0000-000000000000</groupId> |
|
<id>6793e9ff-ba20-374a-0000-000000000000</id> |
|
<type>PROCESSOR</type> |
|
</destination> |
|
<flowFileExpiration>0 sec</flowFileExpiration> |
|
<labelIndex>1</labelIndex> |
|
<loadBalanceCompression>DO_NOT_COMPRESS</loadBalanceCompression> |
|
<loadBalancePartitionAttribute></loadBalancePartitionAttribute> |
|
<loadBalanceStatus>LOAD_BALANCE_NOT_CONFIGURED</loadBalanceStatus> |
|
<loadBalanceStrategy>DO_NOT_LOAD_BALANCE</loadBalanceStrategy> |
|
<name></name> |
|
<selectedRelationships>wait</selectedRelationships> |
|
<source> |
|
<groupId>49da925c-3ec1-330f-0000-000000000000</groupId> |
|
<id>6793e9ff-ba20-374a-0000-000000000000</id> |
|
<type>PROCESSOR</type> |
|
</source> |
|
<zIndex>0</zIndex> |
|
</connections> |
|
<connections> |
|
<id>de99ad71-5934-3da6-0000-000000000000</id> |
|
<parentGroupId>49da925c-3ec1-330f-0000-000000000000</parentGroupId> |
|
<backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold> |
|
<backPressureObjectThreshold>10000</backPressureObjectThreshold> |
|
<bends> |
|
<x>944.0</x> |
|
<y>312.0</y> |
|
</bends> |
|
<destination> |
|
<groupId>49da925c-3ec1-330f-0000-000000000000</groupId> |
|
<id>e55eec90-06c0-3d97-0000-000000000000</id> |
|
<type>PROCESSOR</type> |
|
</destination> |
|
<flowFileExpiration>0 sec</flowFileExpiration> |
|
<labelIndex>0</labelIndex> |
|
<loadBalanceCompression>DO_NOT_COMPRESS</loadBalanceCompression> |
|
<loadBalancePartitionAttribute></loadBalancePartitionAttribute> |
|
<loadBalanceStatus>LOAD_BALANCE_NOT_CONFIGURED</loadBalanceStatus> |
|
<loadBalanceStrategy>DO_NOT_LOAD_BALANCE</loadBalanceStrategy> |
|
<name></name> |
|
<selectedRelationships>success</selectedRelationships> |
|
<source> |
|
<groupId>49da925c-3ec1-330f-0000-000000000000</groupId> |
|
<id>62ec3f1f-25a7-3eeb-0000-000000000000</id> |
|
<type>PROCESSOR</type> |
|
</source> |
|
<zIndex>0</zIndex> |
|
</connections> |
|
<connections> |
|
<id>ea6d7732-77b5-3436-0000-000000000000</id> |
|
<parentGroupId>49da925c-3ec1-330f-0000-000000000000</parentGroupId> |
|
<backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold> |
|
<backPressureObjectThreshold>10000</backPressureObjectThreshold> |
|
<bends> |
|
<x>584.0</x> |
|
<y>760.0</y> |
|
</bends> |
|
<destination> |
|
<groupId>49da925c-3ec1-330f-0000-000000000000</groupId> |
|
<id>1240a7d6-ef8b-3faf-0000-000000000000</id> |
|
<type>PROCESSOR</type> |
|
</destination> |
|
<flowFileExpiration>0 sec</flowFileExpiration> |
|
<labelIndex>1</labelIndex> |
|
<loadBalanceCompression>DO_NOT_COMPRESS</loadBalanceCompression> |
|
<loadBalancePartitionAttribute></loadBalancePartitionAttribute> |
|
<loadBalanceStatus>LOAD_BALANCE_NOT_CONFIGURED</loadBalanceStatus> |
|
<loadBalanceStrategy>DO_NOT_LOAD_BALANCE</loadBalanceStrategy> |
|
<name></name> |
|
<selectedRelationships>expired</selectedRelationships> |
|
<selectedRelationships>failure</selectedRelationships> |
|
<source> |
|
<groupId>49da925c-3ec1-330f-0000-000000000000</groupId> |
|
<id>6793e9ff-ba20-374a-0000-000000000000</id> |
|
<type>PROCESSOR</type> |
|
</source> |
|
<zIndex>0</zIndex> |
|
</connections> |
|
<controllerServices> |
|
<id>096a854f-8c85-3a92-0000-000000000000</id> |
|
<parentGroupId>49da925c-3ec1-330f-0000-000000000000</parentGroupId> |
|
<bundle> |
|
<artifact>nifi-distributed-cache-services-nar</artifact> |
|
<group>org.apache.nifi</group> |
|
<version>1.10.0-SNAPSHOT</version> |
|
</bundle> |
|
<comments></comments> |
|
<descriptors> |
|
<entry> |
|
<key>Server Hostname</key> |
|
<value> |
|
<name>Server Hostname</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>Server Port</key> |
|
<value> |
|
<name>Server Port</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>SSL Context Service</key> |
|
<value> |
|
<identifiesControllerService>org.apache.nifi.ssl.SSLContextService</identifiesControllerService> |
|
<name>SSL Context Service</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>Communications Timeout</key> |
|
<value> |
|
<name>Communications Timeout</name> |
|
</value> |
|
</entry> |
|
</descriptors> |
|
<name>DistributedMapCacheClientService</name> |
|
<persistsState>false</persistsState> |
|
<properties> |
|
<entry> |
|
<key>Server Hostname</key> |
|
<value>localhost</value> |
|
</entry> |
|
<entry> |
|
<key>Server Port</key> |
|
</entry> |
|
<entry> |
|
<key>SSL Context Service</key> |
|
</entry> |
|
<entry> |
|
<key>Communications Timeout</key> |
|
</entry> |
|
</properties> |
|
<state>ENABLED</state> |
|
<type>org.apache.nifi.distributed.cache.client.DistributedMapCacheClientService</type> |
|
</controllerServices> |
|
<labels> |
|
<id>7534115f-a4ad-3d9f-0000-000000000000</id> |
|
<parentGroupId>49da925c-3ec1-330f-0000-000000000000</parentGroupId> |
|
<position> |
|
<x>80.0</x> |
|
<y>552.0</y> |
|
</position> |
|
<height>184.0</height> |
|
<label>Wait is useful to wait something happening at other part of flow.</label> |
|
<style> |
|
<entry> |
|
<key>font-size</key> |
|
<value>12px</value> |
|
</entry> |
|
</style> |
|
<width>432.0</width> |
|
</labels> |
|
<processors> |
|
<id>1240a7d6-ef8b-3faf-0000-000000000000</id> |
|
<parentGroupId>49da925c-3ec1-330f-0000-000000000000</parentGroupId> |
|
<position> |
|
<x>152.0</x> |
|
<y>808.0</y> |
|
</position> |
|
<bundle> |
|
<artifact>nifi-standard-nar</artifact> |
|
<group>org.apache.nifi</group> |
|
<version>1.10.0-SNAPSHOT</version> |
|
</bundle> |
|
<config> |
|
<bulletinLevel>WARN</bulletinLevel> |
|
<comments></comments> |
|
<concurrentlySchedulableTaskCount>1</concurrentlySchedulableTaskCount> |
|
<descriptors> |
|
<entry> |
|
<key>log-level</key> |
|
<value> |
|
<name>log-level</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>log-prefix</key> |
|
<value> |
|
<name>log-prefix</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>log-message</key> |
|
<value> |
|
<name>log-message</name> |
|
</value> |
|
</entry> |
|
</descriptors> |
|
<executionNode>ALL</executionNode> |
|
<lossTolerant>false</lossTolerant> |
|
<penaltyDuration>30 sec</penaltyDuration> |
|
<properties> |
|
<entry> |
|
<key>log-level</key> |
|
<value>info</value> |
|
</entry> |
|
<entry> |
|
<key>log-prefix</key> |
|
</entry> |
|
<entry> |
|
<key>log-message</key> |
|
<value>Finished waiting for subtask completion of ${fragment.identifier}</value> |
|
</entry> |
|
</properties> |
|
<runDurationMillis>0</runDurationMillis> |
|
<schedulingPeriod>0 sec</schedulingPeriod> |
|
<schedulingStrategy>TIMER_DRIVEN</schedulingStrategy> |
|
<yieldDuration>1 sec</yieldDuration> |
|
</config> |
|
<executionNodeRestricted>false</executionNodeRestricted> |
|
<name>LogMessage</name> |
|
<relationships> |
|
<autoTerminate>true</autoTerminate> |
|
<name>success</name> |
|
</relationships> |
|
<state>RUNNING</state> |
|
<style/> |
|
<type>org.apache.nifi.processors.standard.LogMessage</type> |
|
</processors> |
|
<processors> |
|
<id>62ec3f1f-25a7-3eeb-0000-000000000000</id> |
|
<parentGroupId>49da925c-3ec1-330f-0000-000000000000</parentGroupId> |
|
<position> |
|
<x>456.0</x> |
|
<y>192.0</y> |
|
</position> |
|
<bundle> |
|
<artifact>nifi-standard-nar</artifact> |
|
<group>org.apache.nifi</group> |
|
<version>1.10.0-SNAPSHOT</version> |
|
</bundle> |
|
<config> |
|
<bulletinLevel>WARN</bulletinLevel> |
|
<comments></comments> |
|
<concurrentlySchedulableTaskCount>1</concurrentlySchedulableTaskCount> |
|
<descriptors> |
|
<entry> |
|
<key>File Size</key> |
|
<value> |
|
<name>File Size</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>Batch Size</key> |
|
<value> |
|
<name>Batch Size</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>Data Format</key> |
|
<value> |
|
<name>Data Format</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>Unique FlowFiles</key> |
|
<value> |
|
<name>Unique FlowFiles</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>generate-ff-custom-text</key> |
|
<value> |
|
<name>generate-ff-custom-text</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>character-set</key> |
|
<value> |
|
<name>character-set</name> |
|
</value> |
|
</entry> |
|
</descriptors> |
|
<executionNode>ALL</executionNode> |
|
<lossTolerant>false</lossTolerant> |
|
<penaltyDuration>30 sec</penaltyDuration> |
|
<properties> |
|
<entry> |
|
<key>File Size</key> |
|
<value>0B</value> |
|
</entry> |
|
<entry> |
|
<key>Batch Size</key> |
|
<value>1</value> |
|
</entry> |
|
<entry> |
|
<key>Data Format</key> |
|
<value>Text</value> |
|
</entry> |
|
<entry> |
|
<key>Unique FlowFiles</key> |
|
<value>false</value> |
|
</entry> |
|
<entry> |
|
<key>generate-ff-custom-text</key> |
|
<value>1 |
|
2 |
|
3 |
|
4 |
|
5</value> |
|
</entry> |
|
<entry> |
|
<key>character-set</key> |
|
<value>UTF-8</value> |
|
</entry> |
|
</properties> |
|
<runDurationMillis>0</runDurationMillis> |
|
<schedulingPeriod>1d</schedulingPeriod> |
|
<schedulingStrategy>TIMER_DRIVEN</schedulingStrategy> |
|
<yieldDuration>1 sec</yieldDuration> |
|
</config> |
|
<executionNodeRestricted>false</executionNodeRestricted> |
|
<name>GenerateFlowFile</name> |
|
<relationships> |
|
<autoTerminate>false</autoTerminate> |
|
<name>success</name> |
|
</relationships> |
|
<state>RUNNING</state> |
|
<style/> |
|
<type>org.apache.nifi.processors.standard.GenerateFlowFile</type> |
|
</processors> |
|
<processors> |
|
<id>6793e9ff-ba20-374a-0000-000000000000</id> |
|
<parentGroupId>49da925c-3ec1-330f-0000-000000000000</parentGroupId> |
|
<position> |
|
<x>152.0</x> |
|
<y>584.0</y> |
|
</position> |
|
<bundle> |
|
<artifact>nifi-standard-nar</artifact> |
|
<group>org.apache.nifi</group> |
|
<version>1.10.0-SNAPSHOT</version> |
|
</bundle> |
|
<config> |
|
<bulletinLevel>WARN</bulletinLevel> |
|
<comments></comments> |
|
<concurrentlySchedulableTaskCount>1</concurrentlySchedulableTaskCount> |
|
<descriptors> |
|
<entry> |
|
<key>release-signal-id</key> |
|
<value> |
|
<name>release-signal-id</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>target-signal-count</key> |
|
<value> |
|
<name>target-signal-count</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>signal-counter-name</key> |
|
<value> |
|
<name>signal-counter-name</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>wait-buffer-count</key> |
|
<value> |
|
<name>wait-buffer-count</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>releasable-flowfile-count</key> |
|
<value> |
|
<name>releasable-flowfile-count</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>expiration-duration</key> |
|
<value> |
|
<name>expiration-duration</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>distributed-cache-service</key> |
|
<value> |
|
<identifiesControllerService>org.apache.nifi.distributed.cache.client.AtomicDistributedMapCacheClient</identifiesControllerService> |
|
<name>distributed-cache-service</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>attribute-copy-mode</key> |
|
<value> |
|
<name>attribute-copy-mode</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>wait-mode</key> |
|
<value> |
|
<name>wait-mode</name> |
|
</value> |
|
</entry> |
|
</descriptors> |
|
<executionNode>ALL</executionNode> |
|
<lossTolerant>false</lossTolerant> |
|
<penaltyDuration>30 sec</penaltyDuration> |
|
<properties> |
|
<entry> |
|
<key>release-signal-id</key> |
|
<value>${fragment.identifier}</value> |
|
</entry> |
|
<entry> |
|
<key>target-signal-count</key> |
|
<value>${fragment.count}</value> |
|
</entry> |
|
<entry> |
|
<key>signal-counter-name</key> |
|
</entry> |
|
<entry> |
|
<key>wait-buffer-count</key> |
|
<value>1</value> |
|
</entry> |
|
<entry> |
|
<key>releasable-flowfile-count</key> |
|
<value>1</value> |
|
</entry> |
|
<entry> |
|
<key>expiration-duration</key> |
|
<value>10 min</value> |
|
</entry> |
|
<entry> |
|
<key>distributed-cache-service</key> |
|
<value>096a854f-8c85-3a92-0000-000000000000</value> |
|
</entry> |
|
<entry> |
|
<key>attribute-copy-mode</key> |
|
<value>keeporiginal</value> |
|
</entry> |
|
<entry> |
|
<key>wait-mode</key> |
|
<value>wait</value> |
|
</entry> |
|
</properties> |
|
<runDurationMillis>0</runDurationMillis> |
|
<schedulingPeriod>0 sec</schedulingPeriod> |
|
<schedulingStrategy>TIMER_DRIVEN</schedulingStrategy> |
|
<yieldDuration>1 sec</yieldDuration> |
|
</config> |
|
<executionNodeRestricted>false</executionNodeRestricted> |
|
<name>Wait</name> |
|
<relationships> |
|
<autoTerminate>false</autoTerminate> |
|
<name>expired</name> |
|
</relationships> |
|
<relationships> |
|
<autoTerminate>false</autoTerminate> |
|
<name>failure</name> |
|
</relationships> |
|
<relationships> |
|
<autoTerminate>false</autoTerminate> |
|
<name>success</name> |
|
</relationships> |
|
<relationships> |
|
<autoTerminate>false</autoTerminate> |
|
<name>wait</name> |
|
</relationships> |
|
<state>RUNNING</state> |
|
<style/> |
|
<type>org.apache.nifi.processors.standard.Wait</type> |
|
</processors> |
|
<processors> |
|
<id>68297f86-7809-31fc-0000-000000000000</id> |
|
<parentGroupId>49da925c-3ec1-330f-0000-000000000000</parentGroupId> |
|
<position> |
|
<x>752.0</x> |
|
<y>592.0</y> |
|
</position> |
|
<bundle> |
|
<artifact>nifi-standard-nar</artifact> |
|
<group>org.apache.nifi</group> |
|
<version>1.10.0-SNAPSHOT</version> |
|
</bundle> |
|
<config> |
|
<bulletinLevel>WARN</bulletinLevel> |
|
<comments></comments> |
|
<concurrentlySchedulableTaskCount>1</concurrentlySchedulableTaskCount> |
|
<descriptors> |
|
<entry> |
|
<key>log-level</key> |
|
<value> |
|
<name>log-level</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>log-prefix</key> |
|
<value> |
|
<name>log-prefix</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>log-message</key> |
|
<value> |
|
<name>log-message</name> |
|
</value> |
|
</entry> |
|
</descriptors> |
|
<executionNode>ALL</executionNode> |
|
<lossTolerant>false</lossTolerant> |
|
<penaltyDuration>30 sec</penaltyDuration> |
|
<properties> |
|
<entry> |
|
<key>log-level</key> |
|
<value>info</value> |
|
</entry> |
|
<entry> |
|
<key>log-prefix</key> |
|
</entry> |
|
<entry> |
|
<key>log-message</key> |
|
<value>Processing ${fragment.index}/${fragment.count} message for ${fragment.identifier}</value> |
|
</entry> |
|
</properties> |
|
<runDurationMillis>0</runDurationMillis> |
|
<schedulingPeriod>0 sec</schedulingPeriod> |
|
<schedulingStrategy>TIMER_DRIVEN</schedulingStrategy> |
|
<yieldDuration>1 sec</yieldDuration> |
|
</config> |
|
<executionNodeRestricted>false</executionNodeRestricted> |
|
<name>LogMessage</name> |
|
<relationships> |
|
<autoTerminate>false</autoTerminate> |
|
<name>success</name> |
|
</relationships> |
|
<state>RUNNING</state> |
|
<style/> |
|
<type>org.apache.nifi.processors.standard.LogMessage</type> |
|
</processors> |
|
<processors> |
|
<id>da92b7ed-d967-3f5a-0000-000000000000</id> |
|
<parentGroupId>49da925c-3ec1-330f-0000-000000000000</parentGroupId> |
|
<position> |
|
<x>752.0</x> |
|
<y>800.0</y> |
|
</position> |
|
<bundle> |
|
<artifact>nifi-standard-nar</artifact> |
|
<group>org.apache.nifi</group> |
|
<version>1.10.0-SNAPSHOT</version> |
|
</bundle> |
|
<config> |
|
<bulletinLevel>WARN</bulletinLevel> |
|
<comments></comments> |
|
<concurrentlySchedulableTaskCount>1</concurrentlySchedulableTaskCount> |
|
<descriptors> |
|
<entry> |
|
<key>release-signal-id</key> |
|
<value> |
|
<name>release-signal-id</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>signal-counter-name</key> |
|
<value> |
|
<name>signal-counter-name</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>signal-counter-delta</key> |
|
<value> |
|
<name>signal-counter-delta</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>signal-buffer-count</key> |
|
<value> |
|
<name>signal-buffer-count</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>distributed-cache-service</key> |
|
<value> |
|
<identifiesControllerService>org.apache.nifi.distributed.cache.client.AtomicDistributedMapCacheClient</identifiesControllerService> |
|
<name>distributed-cache-service</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>attribute-cache-regex</key> |
|
<value> |
|
<name>attribute-cache-regex</name> |
|
</value> |
|
</entry> |
|
</descriptors> |
|
<executionNode>ALL</executionNode> |
|
<lossTolerant>false</lossTolerant> |
|
<penaltyDuration>30 sec</penaltyDuration> |
|
<properties> |
|
<entry> |
|
<key>release-signal-id</key> |
|
<value>${fragment.identifier}</value> |
|
</entry> |
|
<entry> |
|
<key>signal-counter-name</key> |
|
<value>default</value> |
|
</entry> |
|
<entry> |
|
<key>signal-counter-delta</key> |
|
<value>1</value> |
|
</entry> |
|
<entry> |
|
<key>signal-buffer-count</key> |
|
<value>1</value> |
|
</entry> |
|
<entry> |
|
<key>distributed-cache-service</key> |
|
<value>096a854f-8c85-3a92-0000-000000000000</value> |
|
</entry> |
|
<entry> |
|
<key>attribute-cache-regex</key> |
|
</entry> |
|
</properties> |
|
<runDurationMillis>0</runDurationMillis> |
|
<schedulingPeriod>0 sec</schedulingPeriod> |
|
<schedulingStrategy>TIMER_DRIVEN</schedulingStrategy> |
|
<yieldDuration>1 sec</yieldDuration> |
|
</config> |
|
<executionNodeRestricted>false</executionNodeRestricted> |
|
<name>Notify</name> |
|
<relationships> |
|
<autoTerminate>true</autoTerminate> |
|
<name>failure</name> |
|
</relationships> |
|
<relationships> |
|
<autoTerminate>true</autoTerminate> |
|
<name>success</name> |
|
</relationships> |
|
<state>RUNNING</state> |
|
<style/> |
|
<type>org.apache.nifi.processors.standard.Notify</type> |
|
</processors> |
|
<processors> |
|
<id>e55eec90-06c0-3d97-0000-000000000000</id> |
|
<parentGroupId>49da925c-3ec1-330f-0000-000000000000</parentGroupId> |
|
<position> |
|
<x>448.0</x> |
|
<y>344.0</y> |
|
</position> |
|
<bundle> |
|
<artifact>nifi-standard-nar</artifact> |
|
<group>org.apache.nifi</group> |
|
<version>1.10.0-SNAPSHOT</version> |
|
</bundle> |
|
<config> |
|
<bulletinLevel>WARN</bulletinLevel> |
|
<comments></comments> |
|
<concurrentlySchedulableTaskCount>1</concurrentlySchedulableTaskCount> |
|
<descriptors> |
|
<entry> |
|
<key>Line Split Count</key> |
|
<value> |
|
<name>Line Split Count</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>Maximum Fragment Size</key> |
|
<value> |
|
<name>Maximum Fragment Size</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>Header Line Count</key> |
|
<value> |
|
<name>Header Line Count</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>Header Line Marker Characters</key> |
|
<value> |
|
<name>Header Line Marker Characters</name> |
|
</value> |
|
</entry> |
|
<entry> |
|
<key>Remove Trailing Newlines</key> |
|
<value> |
|
<name>Remove Trailing Newlines</name> |
|
</value> |
|
</entry> |
|
</descriptors> |
|
<executionNode>ALL</executionNode> |
|
<lossTolerant>false</lossTolerant> |
|
<penaltyDuration>30 sec</penaltyDuration> |
|
<properties> |
|
<entry> |
|
<key>Line Split Count</key> |
|
<value>1</value> |
|
</entry> |
|
<entry> |
|
<key>Maximum Fragment Size</key> |
|
</entry> |
|
<entry> |
|
<key>Header Line Count</key> |
|
<value>0</value> |
|
</entry> |
|
<entry> |
|
<key>Header Line Marker Characters</key> |
|
</entry> |
|
<entry> |
|
<key>Remove Trailing Newlines</key> |
|
<value>true</value> |
|
</entry> |
|
</properties> |
|
<runDurationMillis>0</runDurationMillis> |
|
<schedulingPeriod>0 sec</schedulingPeriod> |
|
<schedulingStrategy>TIMER_DRIVEN</schedulingStrategy> |
|
<yieldDuration>1 sec</yieldDuration> |
|
</config> |
|
<executionNodeRestricted>false</executionNodeRestricted> |
|
<name>SplitText</name> |
|
<relationships> |
|
<autoTerminate>true</autoTerminate> |
|
<name>failure</name> |
|
</relationships> |
|
<relationships> |
|
<autoTerminate>false</autoTerminate> |
|
<name>original</name> |
|
</relationships> |
|
<relationships> |
|
<autoTerminate>false</autoTerminate> |
|
<name>splits</name> |
|
</relationships> |
|
<state>RUNNING</state> |
|
<style/> |
|
<type>org.apache.nifi.processors.standard.SplitText</type> |
|
</processors> |
|
</contents> |
|
<name>Wait Notify Example</name> |
|
<variables/> |
|
</processGroups> |
|
</snippet> |
|
<timestamp>04/05/2019 10:07:41 JST</timestamp> |
|
</template> |
I have received this error please help
failed to process session due to Unable to communicate with cache when processing 5 due to java.net.ConnectException: Connection refused: no further information; Processor Administratively Yielded for 1 sec: java.lang.RuntimeException: Unable to communicate with cache when processing 5 due to java.net.ConnectException: Connection refused: no further information