We use proprietary and third party´s cookies to improve your experience and our services, identifying your Internet Browsing preferences on our website; develop analytic activities and display advertising based on your preferences. If you keep browsing, you accept its use. You can get more information on our Cookie Policy
Cookies Policy

First time here? Check out the FAQ!

Ask Your Question
2

NGSI and CartoDB integration

asked Oct 21 '16

ichulani gravatar image

updated Oct 21 '16

When searching about NGSI and CartoDB integration, I came across three different components:

  • an NGSI connector to CartoDB: ("https://github.com/telefonicaid/fiware-orion2cartodb")

  • A CartoDB backend for Cygnus: ("http://fiware-cygnus.readthedocs.io/en/latest/cygnus-common/backendscatalogue/cartodbbackend/index.html")

  • An NGSI CartoDB sink: ("http://fiware-cygnus.readthedocs.io/en/latest/cygnus-ngsi/flumeextensionscatalogue/ngsicartodbsink/index.html")

Which component is used in which case? Are they used together? or separately for different cases? etc..

And are they used for live NGSI data as well as historic data? or one of the two only?

Thanks in advance for any clarifications.

ilknur

edit

2 answers

Sort by » oldest newest most voted
2

answered Oct 24 '16

jmcantera gravatar image

https://github.com/telefonicaid/fiwar... has been depreciated in favour of the Cygnus CartoDB connector described by Paco. So please only use Cygnus when integrating CartoDB with NGSI datasources.

thanks!

edit link
1

answered Oct 24 '16

frb gravatar image

updated Oct 24 '16

AFAIK, the first option ("orion2cartodb") is a preliminary work done for a demo, which is not part of Cygnus.

Regarding Cygnus, first of all must be said from Cygnus 1.0.0 an important refactor was done: the code was split into cygnus-common, a suit of common classes and utilities for all kind of Cygnus agents; and cygnus-ngsi, containing the NGSI specific part of Cygnus, and known as "NGSI Cygnus agent". Other Cygnus agents can be added to Cygnus, such as "Twitter Cygnus agent", developed by Universidad Politécnica de Valencia; this Twitter agent uses cygnus-common as well.

Being said that, from Cygnus 1.0.0 a sink for CartoDB was included in cygnus-ngsi agent. This sink works as any other sink, i.e. it can be used in any cygnus-ngsi agent following the Apache Flume architecture. You can check for its documentation here.

And within cygnus-common, you can find CartoDB backend classes, a set of utility classes available for all Cygnus agents; CartoDB sink within cygnus-ngsi uses it.

edit link
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: Oct 21 '16

Seen: 61,882 times

Last updated: Oct 24 '16