Skip to content

KAFKA-12436 KIP-720 Deprecate MirrorMaker v1#10805

Merged
mimaison merged 12 commits intoapache:trunkfrom
ryannedolan:KAFKA-12436
Jul 4, 2021
Merged

KAFKA-12436 KIP-720 Deprecate MirrorMaker v1#10805
mimaison merged 12 commits intoapache:trunkfrom
ryannedolan:KAFKA-12436

Conversation

@ryannedolan
Copy link
Copy Markdown
Contributor

Per KIP-720, add deprecation warnings to legacy mirror maker.

Copy link
Copy Markdown
Member

@showuon showuon left a comment

Choose a reason for hiding this comment

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

@ryannedolan , thanks for the PR. Left a comment. Thanks.

Comment thread core/src/main/scala/kafka/tools/MirrorMaker.scala Outdated
Copy link
Copy Markdown
Member

@showuon showuon left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks.

Comment thread core/src/main/scala/kafka/tools/MirrorMaker.scala Outdated
@mimaison
Copy link
Copy Markdown
Member

This KIP was adopted on the basis of having an IdentityReplicationPolicy which is in this PR: #10652

@ryannedolan
Copy link
Copy Markdown
Contributor Author

@ijuma can we merge this?


import scala.annotation.nowarn

@nowarn("cat=deprecation")
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.

Can we deprecate the test too instead of the warning suppression?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

good call, done!

Copy link
Copy Markdown
Member

@ijuma ijuma left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@ijuma
Copy link
Copy Markdown
Member

ijuma commented Jul 2, 2021

@mimaison were you planning to merge this?

@ryannedolan
Copy link
Copy Markdown
Contributor Author

I added a short note to the changelog.

Comment thread docs/upgrade.html Outdated
replication topology.
</li>
<li> The original MirrorMaker (MM1) and related classes have been deprecated. Please use the Connect-based
MirrorMaker (MM2), as described in <a href="/{{version}}/documentation/#georeplication">.
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.

<a href="/{{version}}/documentation/#georeplication"> should be the <a href="/{{version}}/documentation/#georeplication">Geo-Replication section</a>

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

lol whoops

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

fixed, thx

@mimaison mimaison merged commit 6d2f563 into apache:trunk Jul 4, 2021
xdgrulez pushed a commit to xdgrulez/kafka that referenced this pull request Dec 22, 2021
Reviewers: Luke Chen <showuon@gmail.com>, Ismael Juma <ismael@juma.me.uk>, Mickael Maison <mickael.maison@gmail.com>
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.

4 participants