FrankYang0529 commented on code in PR #17150:
URL: https://github.com/apache/kafka/pull/17150#discussion_r1831246891
##########
clients/src/test/java/org/apache/kafka/clients/consumer/internals/events/ApplicationEventProcessorTest.java:
##########
@@ -72,6 +72,7 @@
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
+@SuppressWarnings("ClassDataAbstractionCoupling")
Review Comment:
Yes, we still need this line, or it shows following error.
```
[ant:checkstyle] [ERROR]
apache/kafka/clients/src/test/java/org/apache/kafka/clients/consumer/internals/events/ApplicationEventProcessorTest.java:75:1:
Class Data Abstraction Coupling is 27 (max allowed is 25) classes
[ApplicationEventProcessor, AssignmentChangeEvent, AsyncCommitEvent,
CheckAndUpdatePositionsEvent, CommitOnCloseEvent, CompletableFuture,
CreateFetchRequestsEvent, FetchCommittedOffsetsEvent, ListOffsetsEvent,
LogContext, MockRebalanceListener, MockTime, NetworkClientDelegate.PollResult,
OffsetAndMetadata, PollEvent, RequestManagers, ResetOffsetEvent,
SeekUnvalidatedEvent, SubscriptionState, SubscriptionState.FetchPosition,
SyncCommitEvent, TopicMetadataEvent, TopicPartition,
TopicPatternSubscriptionChangeEvent, TopicSubscriptionChangeEvent,
UnsubscribeEvent, UpdatePatternSubscriptionEvent].
[ClassDataAbstractionCoupling]
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]