Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-4286

FIWARE.Request.Tech.Data.BigData-Analysis.CygnusMySQLSink

    Details

      Description

      Created question in FIWARE Q/A platform on 29-07-2015 at 16:07
      Please, ANSWER this question AT http://stackoverflow.com/questions/31704141/how-to-configure-cygnus-to-save-in-mysql

      Question:
      How to configure Cygnus to save in mysql

      Description:
      I'm trying to configure Cygnus in order to persist Orion context data in a MySQL database. I have installed phpmyadmin, and I'm trying to use this database to save the data. The whole workflow is the following one: Orion recives some data, then it is sent to Cygnus, and finally Cygnus sends it to the SQL db.

      This is my configuration:

      1. OrionMySQLSink configuration
      2. channel name from where to read notification events
        cygnusagent.sinks.mysql-sink.channel = mysql-channel
      3. sink class, must not be changed
        cygnusagent.sinks.mysql-sink.type = com.telefonica.iot.cygnus.sinks.OrionMySQLSink
      4. the FQDN/IP address where the MySQL server runs
        cygnusagent.sinks.mysql-sink.mysql_host = x.y.z.w
      5. the port where the MySQL server listens for incomming connections
        cygnusagent.sinks.mysql-sink.mysql_port = 3306
      6. a valid user in the MySQL server
        cygnusagent.sinks.mysql-sink.mysql_username = root
      7. password for the user above
        cygnusagent.sinks.mysql-sink.mysql_password = xxxxxxxxxxxx
      8. how the attributes are stored, either per row either per column (row, column)
        cygnusagent.sinks.mysql-sink.attr_persistence = column

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        1s 1 Backlog Manager 23/Sep/15 10:05 AM
        In Progress In Progress Answered Answered
        1d 1m 1 Backlog Manager 24/Sep/15 10:06 AM
        Answered Answered Closed Closed
        6h 27m 1 Francisco Romero 24/Sep/15 4:33 PM

          People

          • Assignee:
            frb Francisco Romero
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: