Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DBZ-5457 Deprecate legacy topic selector for all connectors #3754

Merged
merged 1 commit into from Jul 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -14,7 +14,9 @@
* Factory for this connector's {@link TopicSelector}.
*
* @author Randall Hauch
* @deprecated Use {@link io.debezium.schema.DefaultTopicNamingStrategy} instead.
*/
@Deprecated
@ThreadSafe
public class MongoDbTopicSelector {

Expand Down
Expand Up @@ -18,6 +18,7 @@
* @author Randall Hauch
*
*/
@Deprecated
public class TopicSelectorTest {

private TopicSelector<CollectionId> noPrefix;
Expand Down
Expand Up @@ -13,7 +13,9 @@
* Factory for this connector's {@link TopicSelector}.
*
* @author Randall Hauch
* @deprecated Use {@link io.debezium.schema.DefaultTopicNamingStrategy} instead.
*/
@Deprecated
@ThreadSafe
public class MySqlTopicSelector {

Expand All @@ -26,7 +28,6 @@ public class MySqlTopicSelector {
* {@code delimiter}
* @return the topic selector; never null
*/
@Deprecated
public static TopicSelector<TableId> defaultSelector(String prefix, String heartbeatPrefix) {
return TopicSelector.defaultSelector(prefix, heartbeatPrefix, ".",
(t, pref, delimiter) -> String.join(delimiter, pref, t.catalog(), t.table()));
Expand Down
Expand Up @@ -8,6 +8,10 @@
import io.debezium.relational.TableId;
import io.debezium.schema.TopicSelector;

/**
* @deprecated Use {@link io.debezium.schema.SchemaTopicNamingStrategy} instead.
*/
@Deprecated
public class OracleTopicSelector {

public static TopicSelector<TableId> defaultSelector(OracleConnectorConfig connectorConfig) {
Expand Down
Expand Up @@ -13,7 +13,9 @@
* Factory for this connector's {@link TopicSelector}.
*
* @author Horia Chiorean (hchiorea@redhat.com)
* @deprecated Use {@link io.debezium.schema.SchemaTopicNamingStrategy} instead.
*/
@Deprecated
public class PostgresTopicSelector {

public static TopicSelector<TableId> create(PostgresConnectorConfig connectorConfig) {
Expand Down
Expand Up @@ -12,8 +12,9 @@
* The topic naming strategy based on connector configuration and table name
*
* @author Jiri Pechanec
*
* @deprecated Use {@link io.debezium.schema.SchemaTopicNamingStrategy} instead.
*/
@Deprecated
public class SqlServerTopicSelector {

public static TopicSelector<TableId> defaultSelector(SqlServerConnectorConfig connectorConfig) {
Expand Down
Expand Up @@ -22,7 +22,9 @@
*
* @param <I>
* The type of {@link DataCollectionId} used by a given implementation
* @deprecated Use {@link io.debezium.spi.topic.TopicNamingStrategy} instead.
*/
@Deprecated
public class TopicSelector<I extends DataCollectionId> {

private final String prefix;
Expand Down