Метод | Описание | |
---|---|---|
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
|
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void |
Метод | Описание | |
---|---|---|
EnsuresNotDisposed ( ) : void |
Ensures that object was not disposed
|
public AsyncProducer ( AsyncProducerConfiguration config ) : System | ||
config | AsyncProducerConfiguration | /// The producer config. /// |
Результат | 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. /// |
Результат | System |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Результат | void |
public Send ( |
||
request | /// The request. /// | |
Результат | void |
public Send ( |
||
request | /// The request. /// | |
callback | MessageSent |
/// The callback invoked when a request is finished being sent. /// |
Результат | void |
public Send ( string topic, int partition, IEnumerable |
||
topic | string | /// The topic. /// |
partition | int | /// The partition. /// |
messages | IEnumerable |
/// The list of messages to sent. /// |
Результат | 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. /// |
Результат | void |