C# Class Kafka.Client.Requests.MultiProducerRequest

Constructs a request containing multiple producer requests to send to Kafka.
Inheritance: AbstractRequest, IWritable
Exibir arquivo Open project: precog/kafka Class Usage Examples

Public Methods

Method Description
GetBufferLength ( IEnumerable requests ) : int
MultiProducerRequest ( IEnumerable requests ) : System

Initializes a new instance of the MultiProducerRequest class.

ToString ( ) : string
WriteTo ( KafkaBinaryWriter writer ) : void

Writes content into given writer

WriteTo ( MemoryStream output ) : void

Writes content into given stream

Method Details

GetBufferLength() public static method

public static GetBufferLength ( IEnumerable requests ) : int
requests IEnumerable
return int

MultiProducerRequest() public method

Initializes a new instance of the MultiProducerRequest class.
public MultiProducerRequest ( IEnumerable requests ) : System
requests IEnumerable /// The list of individual producer requests to send in this request. ///
return System

ToString() public method

public ToString ( ) : string
return string

WriteTo() public method

Writes content into given writer
public WriteTo ( KafkaBinaryWriter writer ) : void
writer Kafka.Client.Serialization.KafkaBinaryWriter /// The writer. ///
return void

WriteTo() public method

Writes content into given stream
public WriteTo ( MemoryStream output ) : void
output System.IO.MemoryStream /// The output stream. ///
return void