public class HubspotStreamingUtil extends Object
HubspotStreamingSource, so
that validation does not fail loading spark classes.| Constructor and Description |
|---|
HubspotStreamingUtil() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.spark.streaming.api.java.JavaDStream<io.cdap.cdap.api.data.format.StructuredRecord> |
getStream(HubspotStreamingSourceConfig config,
io.cdap.cdap.etl.api.streaming.StreamingContext streamingContext)
Returns the JavaDStream.
|
public static org.apache.spark.streaming.api.java.JavaDStream<io.cdap.cdap.api.data.format.StructuredRecord> getStream(HubspotStreamingSourceConfig config, io.cdap.cdap.etl.api.streaming.StreamingContext streamingContext) throws IOException
config - the hubspot streaming source configstreamingContext - the streaming contextIOException - on issues with data readingCopyright © 2022. All rights reserved.