kafka: make the verify lightweight (#5617) - #5811
Conversation
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
|
@3AceShowHand This PR has conflicts, I have hold it. |
|
@ti-chi-bot: ## If you want to know how to resolve it, please read the guide in TiDB Dev Guide. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
…5617-to-release-8.5 # Conflicts: # downstreamadapter/sink/kafka/helper.go
|
Cherry-pick conflicts appear resolved; removing the |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…-to-release-8.5 # Conflicts: # downstreamadapter/sink/kafka/helper.go # downstreamadapter/sink/kafka/sink.go # downstreamadapter/sink/kafka/sink_test.go
…-to-release-8.5 # Conflicts: # downstreamadapter/sink/kafka/sink.go # downstreamadapter/sink/kafka/sink_test.go # downstreamadapter/sink/topicmanager/kafka_topic_manager_test.go # pkg/sink/kafka/options_test.go
…-to-release-8.5 # Conflicts: # downstreamadapter/sink/kafka/helper.go # downstreamadapter/sink/kafka/sink.go # downstreamadapter/sink/kafka/sink_test.go # downstreamadapter/sink/topicmanager/kafka_topic_manager.go # downstreamadapter/sink/topicmanager/kafka_topic_manager_test.go # pkg/sink/kafka/admin_test.go # pkg/sink/kafka/claimcheck/claim_check_test.go # pkg/sink/kafka/cluster_admin_client_mock.go # pkg/sink/kafka/options.go # pkg/sink/kafka/options_test.go # pkg/sink/kafka/sarama_sync_producer_test.go
|
/test all |
|
/test all |
|
/retest |
|
/test all |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: 3AceShowHand, nongfushanquan The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
1 similar comment
|
/retest |
This PR backports #5617 to
release-8.5.What problem does this PR solve?
Issue Number: close #5618, ref #5719, ref #5720, ref #5790
This PR brings a related set of Kafka fixes from
mastertorelease-8.5in one backport:replication-factorshould be validated when TiCDC needs to create a topic, not for an existing topic.pkg/errorsdefinitions and preserve the same error behavior asmaster.What is changed and how it works?
#5617 / #5811: lightweight Kafka verification
Additional cherry-picks carried by this PR
replication-factoragainst brokermin.insync.replicasonly when a topic needs to be created.pkg/errorsand updates the related error-path tests.Check List
Tests
Commands run locally:
Questions
Will it cause performance regression or break compatibility?
No performance regression is expected. Lightweight verification avoids startup-only work, and sharing one claim-check instance reduces duplicated resources. Kafka error classification is aligned with
master; no user-facing Kafka configuration or protocol format is changed by this PR.Do you need to update user documentation, design documentation or monitoring documentation?
No. These are internal Kafka sink verification, lifecycle, validation, and error-handling changes.
Release note