Viewing 2 posts - 1 through 2 (of 2 total)
  • Pari Margu
    Participant
    Post count: 0
    #9122 |

    I have created jKool instance in IBM Bluemix, my application data is stored in Cloudant DB. I want to load my application data into jKool cloud(repository) using Apache Spark. Could you please suggest me the better way to load my application data into jKool cloud(repository). My application is not java based application. Help would be much appreciated. Thanks.

    Albert Mavashev
    Keymaster
    Post count: 7
    #9188 |

    jKool works on streaming data, so you would have to get the data from Cloudant using whatever mechanism and then stream it to jKool. You have several options:

    1) JESL (jKool Event Streaming Library), but is is in java (https://github.com/Nastel/JESL)
    2) Restful API — you get the data and stream using REST (https://github.com/Nastel/jKoolRestClients)
    3) Post data to MQTT/JMS and then have tnt4j-streams read off MQTT/JMS and stream to jKool.
    See (https://github.com/Nastel/tnt4j-streams).
    4) Load data into a file (structured, CSV etc), then use tnt4j-streams (using file parsers) (https://github.com/Nastel/tnt4j-streams) to stream file into jKool.

    tnt4j-streams frameworks allows you to connect data source (called a stream), apply parsers and stream jKool.

    Let us know if that helps.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.