debezium/dbz

Unify include/exclude property validation

已關閉

#2,292 建立於 2026年7月25日

 (0 則留言) (0 個反應) (0 位負責人)HTML (6 個分叉)auto 404
component/core-librarygood first issuetype/task

倉庫指標

星標
 (3 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Across the code base there are places where we validate include/exclude for database, schema, table, SQL Server internal.capture.instance, Oracle usernames and client ids, PostgreSQL logical decoding message prefix, and MongoDB collection and databases.

I propose we introduce a ConnectorConfigValidationHelper in debezium-common-connector in io.debezium.config, where we'll pull the existing private static int validateExcludeList method in RelationalDatabaseConnectorConfig to this class. From here, we then unify all the call sites to use this helper method.

As additional follow-ups or as part of this, we could evaluate if there are other validation methods we can unify.

貢獻者指南