Coder Social home page Coder Social logo

clgy15 / geomesa-nifi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from geomesa/geomesa-nifi

0.0 1.0 0.0 109 KB

Nifi Processors for ingesting and converting geo data using GeoMesa and GeoTools

License: Apache License 2.0

Java 12.84% HTML 7.89% Scala 79.27%

geomesa-nifi's Introduction

GeoMesa Ingest with Nifi

This project contains three processors:

  • PutGeoMesa - Ingest data into GeoMesa with a GeoMesa converter or from geoavro
  • PutGeoTools - Ingest data into an arbitrary GeoTools Datastore based on parameters using a GeoMesa converter or avro
  • ConvertToGeoAvro - Use a GeoMesa converter to create geoavro

To Setup...

Download and untar nifi 0.4.1 from the nifi website... https://www.apache.org/dyn/closer.lua?path=/nifi/0.4.1/nifi-0.4.1-bin.tar.gz

clone and build this repo...

Copy the nar file (niagara files archive) geomesa-nifi/geomesa-nifi-nar/target/geomesa-nifi-nar-0.4.0-SNAPSHOT.nar into the $NIFI_HOME/lib/ directory

For geomesa SFTs and configs install the gm-data-all resource bundle from the geomesa/gm-data project. It contains converters and SFT specs for common types such as twitter, geolife, osm-gpx, etc.

start up nifi cd $NIFI_HOME bin/nifi.sh start

tail -f logs/nifi-app.log

Go to http://localhost:8080/nifi

Drag a GeoMesaIngestProcessor down...fill out the accumulo instance, etc...for sft and converter try "example-csv" and copy an example csv from the geomesa-tools/examples/ingest/csv folder into a temp dir...use the getfile processor to pick it up and route it to the PutGeoMesa...

GeoMesa Kafka Processor

The GeoMesa kafka processor allows for live layers. To use it you'll need a kafka broker set up...for localhost testing just download it and do this:

tar xvf kafka_2.11-0.9.0.1.tgz cd kafka_2.11-0.9.0.1/ bin/zookeeper-server-start.sh config/zookeeper.properties & bin/kafka-server-start.sh config/server.properties &

Then you can use localhost:9092 and localhost:2181 as your brokers and zookeeper config string, respectively in your kafka nifi ingest processor.

geomesa-nifi's People

Contributors

jahhulbert-ccri avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.