C# Class EventHubWriter.Spout

A spout that generates random data and emits it as a JSON formatted string
Inheritance: ISCPSpout
显示文件 Open project: Azure-Samples/hdinsight-dotnet-java-storm-eventhub

Public Methods

Method Description
Ack ( long seqId, Object>.Dictionary parms ) : void
Fail ( long seqId, Object>.Dictionary parms ) : void
Get ( Context ctx, Object>.Dictionary parms ) : Spout

Gets a new instance of this component

NextTuple ( Object>.Dictionary parms ) : void

Emit data to the stream

Spout ( Context ctx ) : System

Constructor for the spout

Method Details

Ack() public method

public Ack ( long seqId, Object>.Dictionary parms ) : void
seqId long
parms Object>.Dictionary
return void

Fail() public method

public Fail ( long seqId, Object>.Dictionary parms ) : void
seqId long
parms Object>.Dictionary
return void

Get() public static method

Gets a new instance of this component
public static Get ( Context ctx, Object>.Dictionary parms ) : Spout
ctx Context Topology context
parms Object>.Dictionary Parameters
return Spout

NextTuple() public method

Emit data to the stream
public NextTuple ( Object>.Dictionary parms ) : void
parms Object>.Dictionary
return void

Spout() public method

Constructor for the spout
public Spout ( Context ctx ) : System
ctx Context Topology context
return System