An open API service indexing awesome lists of open source software.

https://github.com/fiware/tutorials.historic-context-flume

:blue_book: FIWARE 301: Persisting Context Data using Apache Flume
https://github.com/fiware/tutorials.historic-context-flume

apache-flume contextual-data data-persistence database elasticsearch fiware fiware-cygnus historical-data mongo-db mysql postgresql tutorial

Last synced: 8 months ago
JSON representation

:blue_book: FIWARE 301: Persisting Context Data using Apache Flume

Awesome Lists containing this project

README

          

[![FIWARE Banner](https://fiware.github.io/tutorials.Historic-Context-Flume/img/fiware.png)](https://www.fiware.org/developers)

[![FIWARE Core Context Management](https://nexus.lab.fiware.org/repository/raw/public/badges/chapters/core.svg)](https://github.com/FIWARE/catalogue/blob/master/core/README.md)
[![License: MIT](https://img.shields.io/github/license/fiware/tutorials.Historic-Context-Flume.svg)](https://opensource.org/licenses/MIT)
[![Support badge](https://img.shields.io/badge/tag-fiware-orange.svg?logo=stackoverflow)](https://stackoverflow.com/questions/tagged/fiware-cygnus)

This tutorial is an introduction to
[FIWARE Cygnus](https://fiware-cygnus.readthedocs.io/en/latest/) - a generic
enabler which is used to persist context data into third-party databases using [Apache Flume](https://flume.apache.org)
creating a historical view of the context. The tutorial activates the IoT
sensors connected in the
[previous tutorial](https://github.com/FIWARE/tutorials.IoT-Agent) and persists
measurements from those sensors into a database for further analysis.

The tutorial uses [cUrl](https://ec.haxx.se/) commands throughout, but is also available as
[Postman documentation](https://www.postman.com/downloads/).

# Start-Up

## NGSI-v2 Smart Supermarket

**NGSI-v2** offers JSON based interoperability used in individual Smart Systems. To run this tutorial with **NGSI-v2**, use the `NGSI-v2` branch.

```console
git clone https://github.com/FIWARE/tutorials.Historic-Context-Flume.git
cd tutorials.Historic-Context-Flume
git checkout NGSI-v2

./services create
./services start
```

| [![NGSI v2](https://img.shields.io/badge/NGSI-v2-5dc0cf.svg)](https://fiware-ges.github.io/orion/api/v2/stable/) | :books: [Documentation](https://github.com/FIWARE/tutorials.Historic-Context-Flume/tree/NGSI-v2) | [Postman Collection](https://fiware.github.io/tutorials.Historic-Context-Flume/) | ![](https://img.shields.io/github/last-commit/fiware/tutorials.Historic-Context-Flume/NGSI-v2)
| --- | --- | --- | ---

---

## License

[MIT](LICENSE) © 2018-2024 FIWARE Foundation e.V.