Method | Description | |
---|---|---|
Dispose ( ) : void |
Releases all unmanaged and managed resources
|
|
MultiSend ( IEnumerable |
Sends the data to a multiple topics on Kafka server synchronously
|
|
Send ( ProducerRequest request ) : void |
Sends request to Kafka server synchronously
|
|
Send ( string topic, int partition, IEnumerable |
Constructs producer request and sends it to given broker partition synchronously
|
|
SyncProducer ( SyncProducerConfiguration config ) : System |
Initializes a new instance of the SyncProducer class.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Method | Description | |
---|---|---|
EnsuresNotDisposed ( ) : void |
Ensures that object was not disposed
|
public MultiSend ( IEnumerable |
||
requests | IEnumerable |
/// The requests. /// |
return | void |
public Send ( ProducerRequest request ) : void | ||
request | ProducerRequest | /// The request. /// |
return | void |
public Send ( string topic, int partition, IEnumerable |
||
topic | string | /// The topic. /// |
partition | int | /// The partition. /// |
messages | IEnumerable |
/// The list of messages messages. /// |
return | void |
public SyncProducer ( SyncProducerConfiguration config ) : System | ||
config | SyncProducerConfiguration | /// The producer config. /// |
return | System |