Class AbstractCoordinatorTest
java.lang.Object
org.apache.kafka.clients.consumer.internals.AbstractCoordinatorTest
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidtestLeaveGroupSentWithGroupInstanceIdUnSetAndDifferentGroupMembershipOperation(Optional<String> groupInstanceId, org.apache.kafka.clients.consumer.CloseOptions.GroupMembershipOperation operation) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
AbstractCoordinatorTest
public AbstractCoordinatorTest()
-
-
Method Details
-
closeCoordinator
@AfterEach public void closeCoordinator() -
testMetrics
@Test public void testMetrics() -
testCoordinatorDiscoveryExponentialBackoff
@Test public void testCoordinatorDiscoveryExponentialBackoff() -
testWakeupFromEnsureCoordinatorReady
@Test public void testWakeupFromEnsureCoordinatorReady() -
testNoWakeupFromAsyncCoordinatorReadyOnRetriableError
@Test public void testNoWakeupFromAsyncCoordinatorReadyOnRetriableError() -
testTimeoutAndRetryJoinGroupIfNeeded
-
testGroupMaxSizeExceptionIsFatal
@Test public void testGroupMaxSizeExceptionIsFatal() -
testJoinGroupRequestTimeout
@Test public void testJoinGroupRequestTimeout() -
testJoinGroupRequestTimeoutLowerBoundedByDefaultRequestTimeout
@Test public void testJoinGroupRequestTimeoutLowerBoundedByDefaultRequestTimeout() -
testJoinGroupRequestMaxTimeout
@Test public void testJoinGroupRequestMaxTimeout() -
testJoinGroupRequestWithMemberIdRequired
@Test public void testJoinGroupRequestWithMemberIdRequired() -
testJoinGroupRequestWithFencedInstanceIdException
@Test public void testJoinGroupRequestWithFencedInstanceIdException() -
testJoinGroupProtocolTypeAndName
@Test public void testJoinGroupProtocolTypeAndName() -
testRetainMemberIdAfterJoinGroupDisconnect
@Test public void testRetainMemberIdAfterJoinGroupDisconnect() -
testRetainMemberIdAfterSyncGroupDisconnect
@Test public void testRetainMemberIdAfterSyncGroupDisconnect() -
testRejoinReason
@Test public void testRejoinReason() -
testNoGenerationWillNotTriggerProtocolNameCheck
@Test public void testNoGenerationWillNotTriggerProtocolNameCheck() -
testSyncGroupRequestWithFencedInstanceIdException
@Test public void testSyncGroupRequestWithFencedInstanceIdException() -
testJoinGroupUnknownMemberResponseWithOldGeneration
- Throws:
InterruptedException
-
testSyncGroupUnknownMemberResponseWithOldGeneration
- Throws:
InterruptedException
-
testSyncGroupIllegalGenerationResponseWithOldGeneration
@Test public void testSyncGroupIllegalGenerationResponseWithOldGeneration() throws InterruptedException- Throws:
InterruptedException
-
testHeartbeatSentWhenCompletingRebalance
-
testHeartbeatIllegalGenerationResponseWithOldGeneration
@Test public void testHeartbeatIllegalGenerationResponseWithOldGeneration() throws InterruptedException- Throws:
InterruptedException
-
testHeartbeatUnknownMemberResponseWithOldGeneration
- Throws:
InterruptedException
-
testHeartbeatRebalanceInProgressResponseDuringRebalancing
@Test public void testHeartbeatRebalanceInProgressResponseDuringRebalancing() throws InterruptedException- Throws:
InterruptedException
-
testHeartbeatInstanceFencedResponseWithOldGeneration
@Test public void testHeartbeatInstanceFencedResponseWithOldGeneration() throws InterruptedException- Throws:
InterruptedException
-
testHeartbeatRequestWithFencedInstanceIdException
@Test public void testHeartbeatRequestWithFencedInstanceIdException() -
testJoinGroupRequestWithGroupInstanceIdNotFound
@Test public void testJoinGroupRequestWithGroupInstanceIdNotFound() -
testJoinGroupRequestWithRebalanceInProgress
@Test public void testJoinGroupRequestWithRebalanceInProgress() -
testLeaveGroupSentWithGroupInstanceIdUnSet
@Test public void testLeaveGroupSentWithGroupInstanceIdUnSet() -
testLeaveGroupSentWithGroupInstanceIdUnSetAndDifferentGroupMembershipOperation
-
testHandleNormalLeaveGroupResponse
@Test public void testHandleNormalLeaveGroupResponse() -
testHandleMultipleMembersLeaveGroupResponse
@Test public void testHandleMultipleMembersLeaveGroupResponse() -
testHandleLeaveGroupResponseWithEmptyMemberResponse
@Test public void testHandleLeaveGroupResponseWithEmptyMemberResponse() -
testHandleLeaveGroupResponseWithException
@Test public void testHandleLeaveGroupResponseWithException() -
testUncaughtExceptionInHeartbeatThread
-
testAuthenticationErrorInHeartbeatThreadTriggersRejoin
-
testPollHeartbeatAwakesHeartbeatThread
-
testLookupCoordinator
@Test public void testLookupCoordinator() -
testWakeupAfterJoinGroupSent
-
testWakeupAfterJoinGroupSentExternalCompletion
-
testWakeupAfterJoinGroupReceived
-
testWakeupAfterJoinGroupReceivedExternalCompletion
-
testWakeupAfterSyncGroupSentExternalCompletion
-
testWakeupAfterSyncGroupReceived
@Test public void testWakeupAfterSyncGroupReceived() -
testWakeupAfterSyncGroupReceivedExternalCompletion
@Test public void testWakeupAfterSyncGroupReceivedExternalCompletion() -
testWakeupInOnJoinComplete
-
testAuthenticationErrorInEnsureCoordinatorReady
@Test public void testAuthenticationErrorInEnsureCoordinatorReady() -
testBackoffAndRetryUponRetriableError
@Test public void testBackoffAndRetryUponRetriableError() -
testReturnUponRetriableErrorAndExpiredTimer
- Throws:
InterruptedException
-