public class KafkaUtilsTest
extends java.lang.Object
Constructor and Description |
---|
KafkaUtilsTest() |
Modifier and Type | Method and Description |
---|---|
void |
assignAllPartitionsToOneTask() |
void |
assignInvalidTask() |
void |
assignOnePartitionPerTask() |
void |
assignTwoPartitionsPerTask() |
void |
brokerIsDown() |
void |
fetchMessage() |
void |
fetchMessagesWithInvalidOffsetAndDefaultHandlingDisabled() |
void |
fetchMessagesWithInvalidOffsetAndDefaultHandlingEnabled() |
void |
generateTupelsWithValueScheme() |
void |
generateTuplesWithKeyAndKeyValueScheme() |
void |
generateTuplesWithMessageAndMetadataScheme() |
void |
generateTuplesWithoutKeyAndKeyValueScheme() |
void |
generateTuplesWithValueAndStringMultiSchemeWithTopic() |
void |
generateTuplesWithValueSchemeAndKeyValueMessage() |
void |
getOffsetFromConfigAndDontForceFromStart() |
void |
getOffsetFromConfigAndFroceFromStart() |
void |
moreTasksThanPartitions() |
void |
runPartitionToTaskMappingTest(int numPartitions,
int partitionsPerTask) |
void |
setup() |
void |
shutdown() |
void |
topicDoesNotExist() |
public void setup()
public void shutdown()
public void topicDoesNotExist() throws java.lang.Exception
java.lang.Exception
public void brokerIsDown() throws java.lang.Exception
java.lang.Exception
public void fetchMessage() throws java.lang.Exception
java.lang.Exception
public void fetchMessagesWithInvalidOffsetAndDefaultHandlingDisabled() throws java.lang.Exception
java.lang.Exception
public void fetchMessagesWithInvalidOffsetAndDefaultHandlingEnabled() throws java.lang.Exception
java.lang.Exception
public void getOffsetFromConfigAndDontForceFromStart()
public void getOffsetFromConfigAndFroceFromStart()
public void generateTuplesWithoutKeyAndKeyValueScheme()
public void generateTuplesWithKeyAndKeyValueScheme()
public void generateTupelsWithValueScheme()
public void generateTuplesWithValueAndStringMultiSchemeWithTopic()
public void generateTuplesWithValueSchemeAndKeyValueMessage()
public void generateTuplesWithMessageAndMetadataScheme()
public void assignOnePartitionPerTask()
public void assignTwoPartitionsPerTask()
public void assignAllPartitionsToOneTask()
public void runPartitionToTaskMappingTest(int numPartitions, int partitionsPerTask)
public void moreTasksThanPartitions()
public void assignInvalidTask()