Skip to content

KAFKA-10060 GroupMetadataManager should not log if there are no offse…#8767

Merged
ijuma merged 1 commit into
apache:trunkfrom
chia7712:KAFKA-10060-1
May 31, 2020
Merged

KAFKA-10060 GroupMetadataManager should not log if there are no offse…#8767
ijuma merged 1 commit into
apache:trunkfrom
chia7712:KAFKA-10060-1

Conversation

@chia7712

Copy link
Copy Markdown
Member

address @ijuma comment

I think the expired offsets one can be removed if there are no offsets to expire.

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

create another GroupMetadataManager to override the methods we want to verify

@ijuma ijuma left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good generally, just a couple of nits.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: no need for braces.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: we don't use private[this] for tests. It's mostly a micro-optimization is not particularly useful for tests (private provides good enough semantics).

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@ijuma

ijuma commented May 31, 2020

Copy link
Copy Markdown
Member

Unrelated flaky test failure:

kafka.api.PlaintextAdminIntegrationTest.testAlterReplicaLogDirs

@ijuma ijuma left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks.

@ijuma
ijuma merged commit 36aa366 into apache:trunk May 31, 2020
@chia7712
chia7712 deleted the KAFKA-10060-1 branch March 25, 2024 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants