Skip to content

Instantly share code, notes, and snippets.

@tspannhw
Forked from phrocker/MQTT TO C2
Created May 3, 2018 16:42
Show Gist options
  • Select an option

  • Save tspannhw/365dfaa8b018f04a1e961663e4865831 to your computer and use it in GitHub Desktop.

Select an option

Save tspannhw/365dfaa8b018f04a1e961663e4865831 to your computer and use it in GitHub Desktop.
MiNiFi Config Version: 3
Flow Controller:
name: GetFile
comment: jsjlejgjkelkjgkalsjdgasetg
Core Properties:
flow controller graceful shutdown period: 10 sec
flow service write delay interval: 500 ms
administrative yield duration: 30 sec
bored yield duration: 10 millis
max concurrent threads: 1
variable registry properties: ''
FlowFile Repository:
partitions: 256
checkpoint interval: 2 mins
always sync: false
Swap:
threshold: 20000
in period: 5 sec
in threads: 1
out period: 5 sec
out threads: 4
Content Repository:
content claim max appendable size: 10 MB
content claim max flow files: 100
always sync: false
Provenance Repository:
provenance rollover time: 1 min
Component Status Repository:
buffer size: 1440
snapshot frequency: 1 min
Security Properties:
keystore: ''
keystore type: ''
keystore password: ''
key password: ''
truststore: ''
truststore type: ''
truststore password: ''
ssl protocol: ''
Sensitive Props:
key:
algorithm: PBEWITHMD5AND256BITAES-CBC-OPENSSL
provider: BC
Processors:
- id: 24493a28-015a-1000-0000-000000000000
name: convert
class: org.apache.nifi.processors.standard.ConvertHeartBeat
max concurrent tasks: 1
scheduling strategy: TIMER_DRIVEN
scheduling period: 10 msec
penalization period: 30 sec
yield period: 2 sec
run duration nanos: 10 msec
auto-terminated relationships list:
Properties:
MQTT Controller Service: mqttservice
Listening Topic: heartbeats
- id: 24493a28-015a-1000-0000-000000000006
name: convertJSON
class: org.apache.nifi.processors.standard.ConvertJSONAck
max concurrent tasks: 1
scheduling strategy: TIMER_DRIVEN
scheduling period: 10 msec
penalization period: 30 sec
yield period: 1 sec
run duration nanos: 10 msec
auto-terminated relationships list:
- success
Properties:
MQTT Controller Service: mqttservice
- id: 24493a28-015a-1000-0000-000000000007
name: convertupdate
class: org.apache.nifi.processors.standard.ConvertUpdate
max concurrent tasks: 1
scheduling strategy: TIMER_DRIVEN
scheduling period: 10 msec
penalization period: 30 sec
yield period: 1 sec
run duration nanos: 10 msec
auto-terminated relationships list:
- success
Properties:
MQTT Controller Service: mqttservice
Listening Topic: updates
- id: 24493a28-015a-1000-0000-000000000021
name: httpheartbeat
class: org.apache.nifi.processors.standard.InvokeHTTP
max concurrent tasks: 1
scheduling strategy: TIMER_DRIVEN
scheduling period: 10 msec
penalization period: 30 sec
yield period: 1 sec
run duration nanos: 10 msec
auto-terminated relationships list:
Properties:
HTTP Method: POST
Remote URL: http://localhost:10080/minifi-c2-api/c2-protocol/heartbeat
Content-type: application/json
- id: 24493a28-015a-1000-0000-000000000022
name: log
class: org.apache.nifi.processors.standard.LogAttribute
max concurrent tasks: 1
scheduling strategy: TIMER_DRIVEN
scheduling period: 100 msec
penalization period: 30 sec
yield period: 1 sec
run duration nanos: 1 msec
auto-terminated relationships list:
- success
Properties:
Controller Services:
- id: 94491a38-015a-1000-0000-000000000001
name: mqttservice
class: MQTTContextService
Properties:
Broker URI: localhost:1883
Client ID: hiblajl
Quality of Service: 2
Process Groups: []
Input Ports: []
Output Ports: []
Funnels: []
Connections:
- id: 1d09c015-015d-1000-0000-000000000000
name: convert/success/httpheartbeat
source id: 24493a28-015a-1000-0000-000000000000
source relationship name: success
destination id: 24493a28-015a-1000-0000-000000000021
max work queue size: 10000
max work queue data size: 1 GB
flowfile expiration: 0 sec
queue prioritizer class: org.apache.nifi.prioritizer.FirstInFirstOutPrioritizer
- id: 1d09c015-015d-1000-0000-000000000002
name: httpheartbeat/success/convertJSON
source id: 24493a28-015a-1000-0000-000000000021
source relationship name: success
destination id: 24493a28-015a-1000-0000-000000000006
max work queue size: 10000
max work queue data size: 1 GB
flowfile expiration: 0 sec
queue prioritizer class: org.apache.nifi.prioritizer.FirstInFirstOutPrioritizer
Remote Process Groups: []
NiFi Properties Overrides: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment