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-232 Removed the database and table name recommenders #229

Closed
wants to merge 2 commits into from

Conversation

rhauch
Copy link
Member

@rhauch rhauch commented May 11, 2017

It’s not clear how valuable these recommenders actually are. First, it’s not clear about the expected semantics: can the user use values that don’t appear in the recommended values? Second, the recommenders that return large numbers of values can be slow and can result in very large REST API responses.

Debezium was using recommenders to return the database and table/collection names, but these lists can be very large for large databases. Rather than cap the number of recommended values and have the recommender return a subset of all potential values, we will instead remove the recommenders altogether.

It’s not clear how valuable these recommenders actually are. First, it’s not clear about the expected semantics: can the user use values that don’t appear in the recommended values? Second, the recommenders that return large numbers of values can be slow and can result in very large REST API responses.

Debezium was using recommenders to return the database and table/collection names, but these lists can be very large for large databases. Rather than cap the number of recommended values and have the recommender return a subset of all potential values, we will instead remove the recommenders altogether.
@rhauch rhauch requested a review from gunnarmorling May 18, 2017 17:05
@@ -295,11 +287,10 @@ public static SecureConnectionMode parse(String value, String defaultValue) {
}
}

private static final int RECOMMENDER_LIMIT = 100;
Copy link
Member

Choose a reason for hiding this comment

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

That seems to be a left-over from the first commit. I'll remove it.

@gunnarmorling
Copy link
Member

Rebased and applied. Thanks, @rhauch. Added one more commit for removing the unused constant, too.

methodmissing added a commit to methodmissing/debezium that referenced this pull request Apr 6, 2024
* Rebuild in order to get latest cert_checker from CDC (debezium#220)

* Add the Pyroscope jar as a dependency

* Reference the correct pyroscope agent artefact

* Oust spurious tailing argument

---------

Co-authored-by: Dave Sugden <dave.sugden@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
2 participants