Method | Description | |
---|---|---|
AsyncProducer ( AsyncProducerConfiguration config ) : System |
Initializes a new instance of the AsyncProducer class.
|
|
AsyncProducer ( AsyncProducerConfiguration config, ICallbackHandler callbackHandler ) : System |
Initializes a new instance of the AsyncProducer class.
|
|
Dispose ( ) : void |
Releases all unmanaged and managed resources
|
|
Send ( |
Sends request to Kafka server asynchronously
|
|
Send ( |
Sends request to Kafka server asynchronously
|
|
Send ( string topic, int partition, IEnumerable |
Constructs request and sent it to Kafka server asynchronously
|
|
Send ( string topic, int partition, IEnumerable |
Constructs request and sent it to Kafka server asynchronously
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Method | Description | |
---|---|---|
EnsuresNotDisposed ( ) : void |
Ensures that object was not disposed
|
public AsyncProducer ( AsyncProducerConfiguration config ) : System | ||
config | AsyncProducerConfiguration | /// The producer config. /// |
return | System |
public AsyncProducer ( AsyncProducerConfiguration config, ICallbackHandler callbackHandler ) : System | ||
config | AsyncProducerConfiguration | /// The producer config. /// |
callbackHandler | ICallbackHandler | /// The callback invoked when a request is finished being sent. /// |
return | System |
public Send ( |
||
request | /// The request. /// | |
return | void |
public Send ( |
||
request | /// The request. /// | |
callback | MessageSent |
/// The callback invoked when a request is finished being sent. /// |
return | void |
public Send ( string topic, int partition, IEnumerable |
||
topic | string | /// The topic. /// |
partition | int | /// The partition. /// |
messages | IEnumerable |
/// The list of messages to sent. /// |
return | void |
public Send ( string topic, int partition, IEnumerable |
||
topic | string | /// The topic. /// |
partition | int | /// The partition. /// |
messages | IEnumerable |
/// The list of messages to sent. /// |
callback | MessageSent |
/// The callback invoked when a request is finished being sent. /// |
return | void |