-
Notifications
You must be signed in to change notification settings - Fork 93
/
getfile_putfile_config.yml
50 lines (49 loc) · 1.82 KB
/
getfile_putfile_config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# 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.
MiNiFi Config Version: 3
Flow Controller:
name: MiNiFi Flow
Processors:
- name: Get files from /tmp/getfile_dir
id: 2f2a3b47-f5ba-49f6-82b5-bc1c86b96e27
class: org.apache.nifi.minifi.processors.GetFile
scheduling strategy: TIMER_DRIVEN
scheduling period: 1000 ms
Properties:
Input Directory: /tmp/getfile_dir
Keep Source File: 'true'
Recurse Subdirectories: 'true'
Ignore Hidden Files: 'false'
Minimum File Size: '1 MB'
- name: Put files to /tmp/out_dir
id: e143601d-de4f-44ba-a6ec-d1f97d77ec94
class: org.apache.nifi.minifi.processors.PutFile
scheduling strategy: EVENT_DRIVEN
auto-terminated relationships list:
- failure
- success
Properties:
Conflict Resolution Strategy: fail
Create Missing Directories: 'true'
Directory: /tmp/out_dir
Connections:
- name: GetFile/success/PutFile
id: 098a56ba-f4bf-4323-a3f3-6f8a5e3586bf
source id: 2f2a3b47-f5ba-49f6-82b5-bc1c86b96e27
source relationship names:
- success
destination id: e143601d-de4f-44ba-a6ec-d1f97d77ec94
Controller Services: []
Remote Process Groups: []