| <?xml version="1.0" ?> |
| <!-- |
| ~ Licensed to the Apache Software Foundation (ASF) under one or more |
| ~ contributor license agreements. See the NOTICE file distributed with |
| ~ this work for additional information regarding copyright ownership. |
| ~ The ASF licenses this file to You under the Apache License, Version 2.0 |
| ~ (the "License"); you may not use this file except in compliance with |
| ~ the License. You may obtain a copy of the License at |
| ~ |
| ~ http://www.apache.org/licenses/LICENSE-2.0 |
| ~ |
| ~ Unless required by applicable law or agreed to in writing, software |
| ~ distributed under the License is distributed on an "AS IS" BASIS, |
| ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| ~ See the License for the specific language governing permissions and |
| ~ limitations under the License. |
| --> |
| |
| <template encoding-version="1.0"> |
| <description></description> |
| <groupId>7c73bce2-0157-1000-1ea7-07d5d9c57c74</groupId> |
| <name>MultipleRelationships</name> |
| <snippet> |
| <connections> |
| <id>7c798ca3-0157-1000-0000-000000000000</id> |
| <parentGroupId>7c73bce2-0157-1000-0000-000000000000</parentGroupId> |
| <backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold> |
| <backPressureObjectThreshold>10000</backPressureObjectThreshold> |
| <destination> |
| <groupId>7c73bce2-0157-1000-0000-000000000000</groupId> |
| <id>7c75ab71-0157-1000-0000-000000000000</id> |
| <type>PROCESSOR</type> |
| </destination> |
| <flowFileExpiration>0 sec</flowFileExpiration> |
| <labelIndex>1</labelIndex> |
| <name></name> |
| <selectedRelationships>abc</selectedRelationships> |
| <selectedRelationships>unmatched</selectedRelationships> |
| <source> |
| <groupId>7c73bce2-0157-1000-0000-000000000000</groupId> |
| <id>7c768622-0157-1000-0000-000000000000</id> |
| <type>PROCESSOR</type> |
| </source> |
| <zIndex>0</zIndex> |
| </connections> |
| <connections> |
| <id>7c79cce3-0157-1000-0000-000000000000</id> |
| <parentGroupId>7c73bce2-0157-1000-0000-000000000000</parentGroupId> |
| <backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold> |
| <backPressureObjectThreshold>10000</backPressureObjectThreshold> |
| <destination> |
| <groupId>7c73bce2-0157-1000-0000-000000000000</groupId> |
| <id>7c79ba25-0157-1000-0000-000000000000</id> |
| <type>PROCESSOR</type> |
| </destination> |
| <flowFileExpiration>0 sec</flowFileExpiration> |
| <labelIndex>1</labelIndex> |
| <name></name> |
| <selectedRelationships>success</selectedRelationships> |
| <source> |
| <groupId>7c73bce2-0157-1000-0000-000000000000</groupId> |
| <id>7c755ed6-0157-1000-0000-000000000000</id> |
| <type>PROCESSOR</type> |
| </source> |
| <zIndex>0</zIndex> |
| </connections> |
| <connections> |
| <id>7c79d576-0157-1000-0000-000000000000</id> |
| <parentGroupId>7c73bce2-0157-1000-0000-000000000000</parentGroupId> |
| <backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold> |
| <backPressureObjectThreshold>10000</backPressureObjectThreshold> |
| <destination> |
| <groupId>7c73bce2-0157-1000-0000-000000000000</groupId> |
| <id>7c768622-0157-1000-0000-000000000000</id> |
| <type>PROCESSOR</type> |
| </destination> |
| <flowFileExpiration>0 sec</flowFileExpiration> |
| <labelIndex>1</labelIndex> |
| <name></name> |
| <selectedRelationships>success</selectedRelationships> |
| <source> |
| <groupId>7c73bce2-0157-1000-0000-000000000000</groupId> |
| <id>7c79ba25-0157-1000-0000-000000000000</id> |
| <type>PROCESSOR</type> |
| </source> |
| <zIndex>0</zIndex> |
| </connections> |
| <processors> |
| <id>7c755ed6-0157-1000-0000-000000000000</id> |
| <parentGroupId>7c73bce2-0157-1000-0000-000000000000</parentGroupId> |
| <position> |
| <x>0.0</x> |
| <y>0.0</y> |
| </position> |
| <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> |
| </descriptors> |
| <lossTolerant>false</lossTolerant> |
| <penaltyDuration>30 sec</penaltyDuration> |
| <properties> |
| <entry> |
| <key>File Size</key> |
| <value>0 B</value> |
| </entry> |
| <entry> |
| <key>Batch Size</key> |
| <value>1</value> |
| </entry> |
| <entry> |
| <key>Data Format</key> |
| <value>Binary</value> |
| </entry> |
| <entry> |
| <key>Unique FlowFiles</key> |
| <value>false</value> |
| </entry> |
| </properties> |
| <runDurationMillis>0</runDurationMillis> |
| <schedulingPeriod>0 sec</schedulingPeriod> |
| <schedulingStrategy>TIMER_DRIVEN</schedulingStrategy> |
| <yieldDuration>1 sec</yieldDuration> |
| </config> |
| <name>GenerateFlowFile</name> |
| <relationships> |
| <autoTerminate>false</autoTerminate> |
| <name>success</name> |
| </relationships> |
| <style></style> |
| <type>org.apache.nifi.processors.standard.GenerateFlowFile</type> |
| </processors> |
| <processors> |
| <id>7c75ab71-0157-1000-0000-000000000000</id> |
| <parentGroupId>7c73bce2-0157-1000-0000-000000000000</parentGroupId> |
| <position> |
| <x>3.10443115234375</x> |
| <y>580.1210327148438</y> |
| </position> |
| <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 Payload</key> |
| <value> |
| <name>Log Payload</name> |
| </value> |
| </entry> |
| <entry> |
| <key>Attributes to Log</key> |
| <value> |
| <name>Attributes to Log</name> |
| </value> |
| </entry> |
| <entry> |
| <key>Attributes to Ignore</key> |
| <value> |
| <name>Attributes to Ignore</name> |
| </value> |
| </entry> |
| <entry> |
| <key>Log prefix</key> |
| <value> |
| <name>Log prefix</name> |
| </value> |
| </entry> |
| </descriptors> |
| <lossTolerant>false</lossTolerant> |
| <penaltyDuration>30 sec</penaltyDuration> |
| <properties> |
| <entry> |
| <key>Log Level</key> |
| <value>info</value> |
| </entry> |
| <entry> |
| <key>Log Payload</key> |
| <value>false</value> |
| </entry> |
| <entry> |
| <key>Attributes to Log</key> |
| </entry> |
| <entry> |
| <key>Attributes to Ignore</key> |
| </entry> |
| <entry> |
| <key>Log prefix</key> |
| </entry> |
| </properties> |
| <runDurationMillis>0</runDurationMillis> |
| <schedulingPeriod>0 sec</schedulingPeriod> |
| <schedulingStrategy>TIMER_DRIVEN</schedulingStrategy> |
| <yieldDuration>1 sec</yieldDuration> |
| </config> |
| <name>LogAttribute</name> |
| <relationships> |
| <autoTerminate>true</autoTerminate> |
| <name>success</name> |
| </relationships> |
| <style></style> |
| <type>org.apache.nifi.processors.standard.LogAttribute</type> |
| </processors> |
| <processors> |
| <id>7c768622-0157-1000-0000-000000000000</id> |
| <parentGroupId>7c73bce2-0157-1000-0000-000000000000</parentGroupId> |
| <position> |
| <x>3.89630126953125</x> |
| <y>386.68919372558594</y> |
| </position> |
| <config> |
| <bulletinLevel>WARN</bulletinLevel> |
| <comments></comments> |
| <concurrentlySchedulableTaskCount>1</concurrentlySchedulableTaskCount> |
| <descriptors> |
| <entry> |
| <key>Routing Strategy</key> |
| <value> |
| <name>Routing Strategy</name> |
| </value> |
| </entry> |
| <entry> |
| <key>abc</key> |
| <value> |
| <name>abc</name> |
| </value> |
| </entry> |
| </descriptors> |
| <lossTolerant>false</lossTolerant> |
| <penaltyDuration>30 sec</penaltyDuration> |
| <properties> |
| <entry> |
| <key>Routing Strategy</key> |
| <value>Route to Property name</value> |
| </entry> |
| <entry> |
| <key>abc</key> |
| <value>${filename:equals('abc')}</value> |
| </entry> |
| </properties> |
| <runDurationMillis>0</runDurationMillis> |
| <schedulingPeriod>0 sec</schedulingPeriod> |
| <schedulingStrategy>TIMER_DRIVEN</schedulingStrategy> |
| <yieldDuration>1 sec</yieldDuration> |
| </config> |
| <name>RouteOnAttribute</name> |
| <relationships> |
| <autoTerminate>false</autoTerminate> |
| <name>abc</name> |
| </relationships> |
| <relationships> |
| <autoTerminate>false</autoTerminate> |
| <name>unmatched</name> |
| </relationships> |
| <style></style> |
| <type>org.apache.nifi.processors.standard.RouteOnAttribute</type> |
| </processors> |
| <processors> |
| <id>7c79ba25-0157-1000-0000-000000000000</id> |
| <parentGroupId>7c73bce2-0157-1000-0000-000000000000</parentGroupId> |
| <position> |
| <x>15.0</x> |
| <y>199.0</y> |
| </position> |
| <config> |
| <bulletinLevel>WARN</bulletinLevel> |
| <comments></comments> |
| <concurrentlySchedulableTaskCount>1</concurrentlySchedulableTaskCount> |
| <descriptors> |
| <entry> |
| <key>Delete Attributes Expression</key> |
| <value> |
| <name>Delete Attributes Expression</name> |
| </value> |
| </entry> |
| <entry> |
| <key>filename</key> |
| <value> |
| <name>filename</name> |
| </value> |
| </entry> |
| </descriptors> |
| <lossTolerant>false</lossTolerant> |
| <penaltyDuration>30 sec</penaltyDuration> |
| <properties> |
| <entry> |
| <key>Delete Attributes Expression</key> |
| </entry> |
| <entry> |
| <key>filename</key> |
| <value>abc</value> |
| </entry> |
| </properties> |
| <runDurationMillis>0</runDurationMillis> |
| <schedulingPeriod>0 sec</schedulingPeriod> |
| <schedulingStrategy>TIMER_DRIVEN</schedulingStrategy> |
| <yieldDuration>1 sec</yieldDuration> |
| </config> |
| <name>UpdateAttribute</name> |
| <relationships> |
| <autoTerminate>false</autoTerminate> |
| <name>success</name> |
| </relationships> |
| <style></style> |
| <type>org.apache.nifi.processors.attributes.UpdateAttribute</type> |
| </processors> |
| </snippet> |
| <timestamp>09/30/2016 15:03:09 EDT</timestamp> |
| </template> |