Class ApplicationEventProcessorTest
java.lang.Object
org.apache.kafka.clients.consumer.internals.events.ApplicationEventProcessorTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidtestApplicationEventIsProcessed(org.apache.kafka.clients.consumer.internals.events.ApplicationEvent e) voidtestAssignmentChangeEvent(boolean withGroupId) voidvoidvoidvoidvoidvoidvoidvoidtestListOffsetsEventIsProcessed(boolean requireTimestamp) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
ApplicationEventProcessorTest
public ApplicationEventProcessorTest()
-
-
Method Details
-
testPrepClosingCommitEvents
@Test public void testPrepClosingCommitEvents() -
testProcessUnsubscribeEventWithGroupId
@Test public void testProcessUnsubscribeEventWithGroupId() -
testProcessUnsubscribeEventWithoutGroupId
@Test public void testProcessUnsubscribeEventWithoutGroupId() -
testApplicationEventIsProcessed
@ParameterizedTest @MethodSource("applicationEvents") public void testApplicationEventIsProcessed(org.apache.kafka.clients.consumer.internals.events.ApplicationEvent e) -
testListOffsetsEventIsProcessed
@ParameterizedTest @ValueSource(booleans={true,false}) public void testListOffsetsEventIsProcessed(boolean requireTimestamp) -
testAssignmentChangeEvent
@ParameterizedTest @ValueSource(booleans={true,false}) public void testAssignmentChangeEvent(boolean withGroupId) -
testAssignmentChangeEventWithException
@Test public void testAssignmentChangeEventWithException() -
testResetOffsetEvent
@Test public void testResetOffsetEvent() -
testSeekUnvalidatedEvent
@Test public void testSeekUnvalidatedEvent() -
testSeekUnvalidatedEventWithException
@Test public void testSeekUnvalidatedEventWithException() -
testAsyncPollEvent
@Test public void testAsyncPollEvent() -
testTopicSubscriptionChangeEvent
@Test public void testTopicSubscriptionChangeEvent() -
testFetchCommittedOffsetsEvent
@Test public void testFetchCommittedOffsetsEvent() -
testTopicSubscriptionChangeEventWithIllegalSubscriptionState
@Test public void testTopicSubscriptionChangeEventWithIllegalSubscriptionState() -
testTopicPatternSubscriptionChangeEvent
@Test public void testTopicPatternSubscriptionChangeEvent() -
testTopicPatternSubscriptionTriggersJoin
@Test public void testTopicPatternSubscriptionTriggersJoin() -
testTopicPatternSubscriptionChangeEventWithIllegalSubscriptionState
@Test public void testTopicPatternSubscriptionChangeEventWithIllegalSubscriptionState() -
testUpdatePatternSubscriptionEventOnlyTakesEffectWhenMetadataHasNewVersion
@Test public void testUpdatePatternSubscriptionEventOnlyTakesEffectWhenMetadataHasNewVersion() -
testR2JPatternSubscriptionEventSuccess
@Test public void testR2JPatternSubscriptionEventSuccess() -
testR2JPatternSubscriptionEventFailureWithMixedSubscriptionType
@Test public void testR2JPatternSubscriptionEventFailureWithMixedSubscriptionType() -
testSyncCommitEventWithEmptyOffsets
@Test public void testSyncCommitEventWithEmptyOffsets() -
testSyncCommitEvent
@Test public void testSyncCommitEvent() -
testSyncCommitEventWithoutCommitRequestManager
@Test public void testSyncCommitEventWithoutCommitRequestManager() -
testSyncCommitEventWithException
@Test public void testSyncCommitEventWithException() -
testAsyncCommitEventWithEmptyOffsets
@Test public void testAsyncCommitEventWithEmptyOffsets() -
testAsyncCommitEvent
@Test public void testAsyncCommitEvent() -
testAsyncCommitEventWithoutCommitRequestManager
@Test public void testAsyncCommitEventWithoutCommitRequestManager() -
testAsyncCommitEventWithException
@Test public void testAsyncCommitEventWithException() -
testStreamsOnTasksRevokedCallbackCompletedEvent
@Test public void testStreamsOnTasksRevokedCallbackCompletedEvent() -
testStreamsOnTasksRevokedCallbackCompletedEventWithoutStreamsMembershipManager
@Test public void testStreamsOnTasksRevokedCallbackCompletedEventWithoutStreamsMembershipManager() -
testStreamsOnTasksAssignedCallbackCompletedEvent
@Test public void testStreamsOnTasksAssignedCallbackCompletedEvent() -
testStreamsOnTasksAssignedCallbackCompletedEventWithoutStreamsMembershipManager
@Test public void testStreamsOnTasksAssignedCallbackCompletedEventWithoutStreamsMembershipManager() -
testStreamsOnAllTasksLostCallbackCompletedEvent
@Test public void testStreamsOnAllTasksLostCallbackCompletedEvent() -
testStreamsOnAllTasksLostCallbackCompletedEventWithoutStreamsMembershipManager
@Test public void testStreamsOnAllTasksLostCallbackCompletedEventWithoutStreamsMembershipManager() -
testUpdatePatternSubscriptionInvokedWhenMetadataUpdated
@Test public void testUpdatePatternSubscriptionInvokedWhenMetadataUpdated() -
testUpdatePatternSubscriptionNotInvokedWhenNotUsingPatternSubscription
@Test public void testUpdatePatternSubscriptionNotInvokedWhenNotUsingPatternSubscription() -
testUpdatePatternSubscriptionNotInvokedWhenMetadataNotUpdated
@Test public void testUpdatePatternSubscriptionNotInvokedWhenMetadataNotUpdated() -
testRefreshCommittedOffsetsShouldNotResetIfFailedWithTimeout
@Test public void testRefreshCommittedOffsetsShouldNotResetIfFailedWithTimeout() -
testRefreshCommittedOffsetsNotCalledIfNoGroupId
@Test public void testRefreshCommittedOffsetsNotCalledIfNoGroupId()
-