Examples

IBMStreams com.ibm.streamsx.inet Toolkit > com.ibm.streamsx.inet 3.3.0 > com.ibm.streamsx.inet > InetSource > Examples

This example demonstrates how to use the InetSource operator:

stream <rstring metarObsRecord> WxObservations = InetSource () {
  param
    URIList:
    ["http://weather.noaa.gov/pub/data/observations/meta/cycles/07Z.TXT",
    "http://weather.noaa.gov/pub/data/observations/meta/cycles/08Z.TXT"];
    initDelay: 5.0;
    incrementalFetch: true;
    fetchIntervalSeconds: 60u;
}