Skip to content

KAFKA-9859 / Add topics generated by KTable FK join to internal topic matching logic#8671

Merged
guozhangwang merged 1 commit intoapache:trunkfrom
lkokhreidze:KAFKA-9859-streams-resetter-fk-join-topics-fix
May 20, 2020
Merged

KAFKA-9859 / Add topics generated by KTable FK join to internal topic matching logic#8671
guozhangwang merged 1 commit intoapache:trunkfrom
lkokhreidze:KAFKA-9859-streams-resetter-fk-join-topics-fix

Conversation

@lkokhreidze
Copy link
Copy Markdown
Contributor

This PR fixes kafka-streams-application-reset tool. Before, kafka-streams-application-reset tool wasn't taking into account topics generated by KTable foreign key join operation.

Committer Checklist (excluded from commit message)

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

…ccount topics generated by KTable foreign key join operation
@lkokhreidze
Copy link
Copy Markdown
Contributor Author

Call for review @guozhangwang @mjsax @vvcephei

@guozhangwang
Copy link
Copy Markdown
Contributor

test this please

@guozhangwang guozhangwang requested a review from vvcephei May 16, 2020 16:39
Copy link
Copy Markdown
Contributor

@guozhangwang guozhangwang left a comment

Choose a reason for hiding this comment

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

LGTM, cc @vvcephei for a final review and merge.

// visible for testing
public boolean matchesInternalTopicFormat(final String topicName) {
return topicName.endsWith("-changelog") || topicName.endsWith("-repartition")
|| topicName.endsWith("-subscription-registration-topic")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Not a suggestion comment: now looking at this I think maybe we should not add the -topic suffix for those topics since we did not for repartition and changelog :)

Copy link
Copy Markdown
Member

@mjsax mjsax left a comment

Choose a reason for hiding this comment

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

LGTM.

@guozhangwang guozhangwang merged commit 6777007 into apache:trunk May 20, 2020
Kvicii pushed a commit to Kvicii/kafka that referenced this pull request May 21, 2020
* 'trunk' of github.com:apache/kafka:
  MINOR: Increase gradle daemon’s heap size to 2g (apache#8700)
  KAFKA-9603: Do not turn on bulk loading for segmented stores on stand-by tasks (apache#8661)
  KAFKA-9859 / kafka-streams-application-reset tool doesn't take into account topics generated by KTable foreign key join operation (apache#8671)
  MINOR: Fix redundant typos in comments and javadocs (apache#8693)
  KAFKA-10010: Should make state store registration idempotent (apache#8681)
  KAFKA-10011: Remove task id from lockedTaskDirectories during handleLostAll (apache#8682)
  KAFKA-9992: Eliminate JavaConverters in EmbeddedKafkaCluster (apache#8673)
  KAFKA-6145: Add unit tests to verify fix of bug KAFKA-9173 (apache#8689)
  MINOR: Update stream documentation (apache#8622)
  MINOR: Small fixes in the documentation (apache#8623)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants