POC Nifi (cluster) and Zookeeper integration with Docker
This POC is using Docker image from nifi-docker-cluster.
Target
- Run Apche Nifi clustering mode (Zookeeper as discovery service) with docker/docker-compose.
Requirements
- Docker version 1.12.3
- Docker Compose version 1.8.1
Basic docker up
-
Up docker-compose
$ docker-compose up -d
-
Browse Web UI for components:
- Apache Nifi: http://localhost:8080/nifi/
- Template
- pull-from-twitter-farden-hose.xml: this flow demonstrates how to config twitter streaming.
- simple-httpget-route.xml: this flow demonstrates how to crawl a web server and save result to file.
Known Issues
- Cannot use docker-compose scale for nifi-nodes, assuming can solve this issue when deploy to multiple host.