MINIFI-63 MINIFI-87 - Introduce minifi.sh script which serves as a wrapper around the minifi binary and provides installation as a service.

This closes #8 and closes #9.
11 files changed
tree: 363ce1f8ca83e8caf2f0b61e66e7ce5eda978136
  1. bin/
  2. conf/
  3. inc/
  4. main/
  5. src/
  6. test/
  7. thirdparty/
  8. .gitignore
  9. LICENSE
  10. Makefile
  11. NOTICE
  12. README.md
README.md

Apache NiFi - MiNiFi - C++

MiNiFi is a child project effort of Apache NiFi. This repository is for a native implementation in C++.

Table of Contents

License

Except as otherwise noted this software is licensed under the Apache License, Version 2.0

Licensed 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.

Dependencies

Build instructions

Build application, it will build minifi exe under build and copy over to target directory

$ make

Clean

$ make clean

Running

Running application

$ ./target/minifi

The Native MiNiFi example flow.xml is in target/conf It show cases a Native MiNiFi client which can generate flowfile, log flowfile and push it to the NiFi server. Also it can pull flowfile from NiFi server and log the flowfile. The NiFi server config is target/conf/flow_Site2SiteServer.xml

For trial command control protocol between Native MiNiFi and NiFi Server, please see the example NiFi Server implementation in test/Server.cpp The command control protocol is not finalized yet.

Caveat: 1) Add new propery HostName and Port into RemoteProcessGroup InputOutput port for remote Site2Site hostname and port 8f3b248f-d493-4269-b317-36f85719f480 NiFi Flow http://localhost:8081/nifi 30 sec 1 sec true 471deef6-2a6e-4a7d-912a-81cc17e3a204 From Node A RUNNING 1 false Host Name localhost Port 10001 2) Add new proerties into minifi.properties for command control

MiNiFi Server for Command Control

nifi.server.name=localhost nifi.server.port=9000 nifi.server.report.interval=1000 ms