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
Ask Your Question
2

NGSI and CartoDB integration

asked 2016-10-21 14:36:36 +0100

ichulani gravatar image

updated 2016-10-21 14:41:36 +0100

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 retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
2

answered 2016-10-24 11:10:37 +0100

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 flag offensive delete link more
1

answered 2016-10-24 11:04:50 +0100

frb gravatar image

updated 2016-10-24 11:06:14 +0100

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 flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2016-10-21 14:36:36 +0100

Seen: 61,801 times

Last updated: Oct 24 '16