KAFKA-5235: GetOffsetShell: support for multiple topics and consumer configuration override#9430
Conversation
|
@urbandan Thanks for the PR. I haven't looked at it yet but I have already noticed that there are no unit/integration tests. We need some. You can look at how other commands are tested. Having ducktape tests is very good but not enough to catch bugs and regressions. |
|
@dajac Thanks for the reminder, pushed a bunch of unit tests covering the GetOffsetShell tool. |
c8f317e to
512461e
Compare
|
@dajac Thank you for your review. Managed to work on this, and addressed your points. |
|
@urbandan Thanks for the update. I will make another pass on it this week. It seems that there are compilation error. Could you take a look please? |
a9f7eaf to
446a9bf
Compare
|
@dajac Fixed the compilation issues - there is a test failure, but I don't think those are related to the change |
|
Could you rebase the PR as well? |
446a9bf to
d5b6f5e
Compare
|
@dajac Thank you for your comments, finally managed to address them. Also rebased the branch. |
d5b6f5e to
2b1cc08
Compare
|
Launched system tests: https://jenkins.confluent.io/job/system-test-kafka-branch-builder/4362/ |
8e69e1d to
d3d8115
Compare
|
@dajac Really appreciate your review, fixed the last couple of comments. |
|
@urbandan It seems that most of the get offset system tests failed: http://confluent-kafka-branch-builder-system-test-results.s3-us-west-2.amazonaws.com/2021-02-09--001.1612926625--urbandan--KIP-635_GetOffsetShell--8e69e1dc5/report.html. Could you take a look to see what went wrong? |
…configuration override Implements KIP-635
…orized topics are scanned
d3d8115 to
324810b
Compare
324810b to
fabd539
Compare
|
@dajac I think I found the issue, pushed the fix. There was a typo in the command arg names. Could not get to execute the tests locally yet. |
|
Triggered another system test: https://jenkins.confluent.io/job/system-test-kafka-branch-builder/4364/ |
|
All the |
|
Failed tests are not related. Merging to trunk. |
…e-allocations-lz4 * apache-github/trunk: (118 commits) KAFKA-12327: Remove MethodHandle usage in CompressionType (apache#10123) KAFKA-12297: Make MockProducer return RecordMetadata with values as per contract MINOR: Update zstd and use classes with no finalizers (apache#10120) KAFKA-12326: Corrected regresion in MirrorMaker 2 executable introduced with KAFKA-10021 (apache#10122) KAFKA-12321 the comparison function for uuid type should be 'equals' rather than '==' (apache#10098) MINOR: Add FetchSnapshot API doc in KafkaRaftClient (apache#10097) MINOR: KIP-631 KafkaConfig fixes and improvements (apache#10114) KAFKA-12272: Fix commit-interval metrics (apache#10102) MINOR: Improve confusing admin client shutdown logging (apache#10107) MINOR: Add BrokerMetadataListener (apache#10111) MINOR: Support Raft-based metadata quorums in system tests (apache#10093) MINOR: add the MetaLogListener, LocalLogManager, and Controller interface. (apache#10106) MINOR: Introduce the KIP-500 Broker lifecycle manager (apache#10095) MINOR: Remove always-passing validation in TestRecordTest#testProducerRecord (apache#9930) KAFKA-5235: GetOffsetShell: Support for multiple topics and consumer configuration override (KIP-635) (apache#9430) MINOR: Prevent creating partition.metadata until ID can be written (apache#10041) MINOR: Add RaftReplicaManager (apache#10069) MINOR: Add ClientQuotaMetadataManager for processing QuotaRecord (apache#10101) MINOR: Rename DecommissionBrokers to UnregisterBrokers (apache#10084) MINOR: KafkaBroker.brokerState should be volatile instead of AtomicReference (apache#10080) ... clients/src/main/java/org/apache/kafka/common/record/CompressionType.java core/src/test/scala/unit/kafka/coordinator/group/GroupMetadataManagerTest.scala
Implements KIP-635
Changes:
Testing done: added new ducktape tests for the tool.
Committer Checklist (excluded from commit message)