Hey everyone, I will be sharing how you can run NIFI via docker-compose. Before starting let me tell you about NIFI, it is a software developed by Apache and available under open source license helps in data-flow, i.e. fetching data and sending data. It is like the processor of data, that takes input, process and give output, and vice versa.
The data processing be like getting data from some rest API, converting the fields to fields required, fetching specific fields or getting a single field. You can do this easily.
Applications of NIFI can be :
- Fetching data from API and pushing to API.
- Reading from a file and saving to file and vice versa.
- Processing data like renaming, ordering, sorting.
- Filtering data, converting, extracting data
- Execute scripts and much more.
- Pushing to the database like Cassandra, elastic and minio storage.
The applications are countless and very helpful for solving Big Data issues, also I forgot to tell if you are in Big data or just started, this is for you. The more you can know from the official site :
So now,for running it, you just need to have a compose file, that I am sharing below. Just copy paste the code and save as nifi.yml.
This is all you need to know to run NIFI as a docker-compose service. You can access it on address 0.0.0.0:32768/nifi . If that not work , you can get address and port where nifi is running by command in terminal:
sudo docker ps
Output will be like
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
068e48ded408 apache/nifi:latest "../scripts/start.sh" 47 seconds ago Up 34 seconds 8443/tcp, 10000/tcp, 0.0.0.0:32768->8080/tcp nifi_nifi_1
62cb2f91685d bitnami/zookeeper:latest "/app-entrypoint.sh …" 47 seconds ago Up 38 seconds 2181/tcp, 2888/tcp, 3888/tcp zookeeper
so you can see, the highlighted bold text , is address with port where NIFI is running . So this is all for now, stay connected for more posts on NIFI as i will work along on NIFI. Also visit for more posts at Tekraze: