Skip to content

trinityXmontoya/geomesa-quickstart-kafka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GeoMesa Kafka Quick Start - Clojure

This tutorial will show you how to:

  1. Write custom Clojure code to produce and consume messages in Apache Kafka using GeoMesa.
  2. Query the data and replay the messages in a Kafka topic to achieve an earlier state.
  3. Visualize the changes being made in Kafka with GeoServer.

Background

Apache Kafka is

publish-subscribe messaging rethought as a distributed commit log.

In the context of GeoMesa, Kafka is a useful tool for working with streams of geospatial data. Interaction with Kafka in GeoMesa occurs with the KafkaDataStore which implements the GeoTools DataStore interface.

Prerequisites

  • basic knowledge of GeoTools, GeoServer, and Kafka
  • an instance of Kafka 0.8.2.x with (an) appropriate Zookeeper instance(s)
  • an instance of GeoServer version 2.8.1 with the GeoMesa Kafka plugin installed
  • Java JDK 8
  • Apache Maven 3.2.2 or better
  • a git client

In order to install the GeoMesa Kafka GeoServer plugin, follow the instructions here.

Ensure your Kafka and Zookeeper instances are running. You can use Kafka's quickstart to get Kafka/Zookeeper instances up and running quickly.

Download and Build the Tutorial

Pick a reasonable directory on your machine, and run:

$ git clone https://github.com/trinityXmontoya/geomesa-quickstart-kafka.git
$ cd geomesa-quickstart-kafka

To build, run

java -jar geomesa-quickstart-kafka-0.1.0-standalone.jar [args]

⚠️ Note: ensure that you are running Kafka 0.8.2.1 and Zookeeper 3.4.6

Current Status

  • Quickstart
  • Listener
  • Load Tester
  • Tests

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published