Viewing 1 post (of 1 total)
  • bedwards
    Keymaster
    Post count: 0
    #4082 |

    To stream data to jKool follow the steps outlined below:

    1. Download the jKool event streaming library from https://www.jkoolcloud.com/jesl
    2. Copy the files tnt4j.properties and tnt4j-tokens.properties from the package and place in a location so that they are included in classpath.
    3. Edit tnt4j.properties and replace the stanza for “source: *” with the following:
    {
    source: *
    tracker.factory: com.nastel.jkool.tnt4j.tracker.DefaultTrackerFactory
    dump.sink.factory: com.nastel.jkool.tnt4j.dump.DefaultDumpSinkFactory
    event.sink.factory: com.nastel.jkool.tnt4j.sink.BufferedEventSinkFactory
    event.sink.factory.EventSinkFactory: com.nastel.jkool.gateway.sink.GatewayEventSinkFactory
    event.sink.factory.EventSinkFactory.Url: http://data.jkoolcloud.com:6580
    event.sink.factory.EventSinkFactory.Token: (INSERT YOUR ACCESS TOKEN HERE)
    event.formatter: com.nastel.jkool.tnt4j.format.JSONFormatter
    tracking.selector: com.nastel.jkool.tnt4j.selector.DefaultTrackingSelector
    tracking.selector.Repository: com.nastel.jkool.tnt4j.repository.FileTokenRepository
    }

Viewing 1 post (of 1 total)

The topic ‘How do I stream data to jKool?’ is closed to new replies.