메소드 | 설명 | |
---|---|---|
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 |
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 |