Rancho-7 commented on PR #19347:
URL: https://github.com/apache/kafka/pull/19347#issuecomment-2786278465
I did a quick comparison based on different config combinations.
(1)If we keep all the configs, the output is like this:
```
(base) lansg:kafka/ (KAFKA-19027✗) $ start=$(date +%s)
[17:00:01]
N=3
I=0
while [ $I -lt $N ] && \
./gradlew cleanTest tools:test \
--tests "org.apache.kafka.tools.consumer.group.DeleteConsumerGroupsTest" \
--tests
"org.apache.kafka.tools.consumer.group.DeleteOffsetsConsumerGroupCommandIntegrationTest"
\
--tests "org.apache.kafka.tools.consumer.group.DescribeConsumerGroupTest" \
--tests "org.apache.kafka.tools.consumer.group.ListConsumerGroupTest" \
--tests
"org.apache.kafka.tools.consumer.group.ResetConsumerGroupOffsetTest" \
--parallel --max-workers 4 \
--daemon; do
(( I=I+1 ))
echo "Completed run: $I"
sleep 1
done
end=$(date +%s)
echo "Total time: $((end - start)) seconds"
> Configure project :
Starting build with version 4.1.0-SNAPSHOT (commit id d78fa2bd) using Gradle
8.10.2, Java 17 and Scala 2.13.15
Build properties: ignoreFailures=false, maxParallelForks=10,
maxScalacThreads=8, maxTestRetries=0
> Task :raft:processMessages
MessageGenerator: processed 1 Kafka message JSON files(s).
...
> Task :connect:runtime:compileTestJava
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
> Task :streams:compileTestJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
> Task :tools:test
Gradle Test Run :tools:test > Gradle Test Executor 245 >
DescribeConsumerGroupTest >
testDescribeMembersOfNonExistingGroup(ClusterInstance) >
testDescribeMembersOfNonExistingGroup [1] Type=Raft-Combined,
MetadataVersion=4.1-IV0,BrokerSecurityProtocol=PLAINTEXT,BrokerListenerName=ListenerName(EXTERNAL),ControllerSecurityProtocol=PLAINTEXT,ControllerListenerName=ListenerName(CONTROLLER)
PASSED
...
Gradle Test Run :tools:test > Gradle Test Executor 254 >
DescribeConsumerGroupTest > testDescribeWithStateValue() PASSED
Gradle Test Run :tools:test > Gradle Test Executor 251 >
ResetConsumerGroupOffsetTest >
testResetOffsetsToEarliestOnTopics(ClusterInstance) >
testResetOffsetsToEarliestOnTopics [1] Type=Raft-Combined,
MetadataVersion=4.1-IV0,BrokerSecurityProtocol=PLAINTEXT,BrokerListenerName=ListenerName(EXTERNAL),ControllerSecurityProtocol=PLAINTEXT,ControllerListenerName=ListenerName(CONTROLLER)
PASSED
BUILD SUCCESSFUL in 3m 1s
182 actionable tasks: 2 executed, 180 up-to-date
Completed run: 3
Total time: 596 seconds
```
--
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]