Class RecordSendTest
java.lang.Object
org.apache.kafka.clients.producer.RecordSendTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.kafka.clients.producer.internals.ProduceRequestResultasyncRequest(long baseOffset, RuntimeException error, long timeout) voidTest that an asynchronous request will eventually return the right offsetvoidTest that an asynchronous request will eventually throw the right exceptionvoidTest that waiting on a request that never completes times out
-
Constructor Details
-
RecordSendTest
public RecordSendTest()
-
-
Method Details
-
testTimeout
-
testError
@Test public void testError()Test that an asynchronous request will eventually throw the right exception -
testBlocking
-
asyncRequest
public org.apache.kafka.clients.producer.internals.ProduceRequestResult asyncRequest(long baseOffset, RuntimeException error, long timeout)
-