-
Notifications
You must be signed in to change notification settings - Fork 4
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-8512 Support storages supported by Debezium operator for pipeline in Debezium platform #8
Conversation
Before merging the fix debezium/debezium-operator#81 must be released and the new operator helm chart version must be used. |
We should have a call about this.. I have a feeling that once again this is trying to replicate and allow absolutely all possible configurations. The main idea behind the UI is to provided opinionated means. Just looking at all the hard coded class and property names looks like an issue in making. |
I think that we talked about to use JDBC as default storage (per deployment) not the only supported one. Isn't it? We also have another feature in the backlog to let user choose at runtime the preferred storage. So with this PR the backend supports all the possible storage supported by the operator and on the other hand the helm chart offers an easy way to provide settings for the JDBC storage. More advanced user can still use another different storage by overriding conductor properties via envs.
This depends on the operator model. Honestly I would have avoided the use of the storage naming and just used the class and the list of generic config just as a pass-trough. This would have simplified the things also in that case. Am I loosing something? |
Sure, but the way to model (and implement it) should be different. It ties back to that "component registry" / "config schema". Storage should be added as a configurable entity -- similar how Transformations are intended to be in the end. Essentially there shouldn't be a hardcoded dependency on particular implementation. | It's fine to hardcode it for the JDBC for now but doing so for all of them just seems too much. |
This sounds good but then also the DS resource should be able to manage this flexibility. As of now this means to use the custom store from the DS resource in that way the type of storage and the configs can be passed without any logic. Was you thinking to this approach? This can be a solution but then why to not have the same simplification on the DS operator? |
I think we should have a call about this since e.g. I don't really follow the note about DS. I will ping you in second half of this week. |
@jcechace can you give another look? |
...src/main/java/io/debezium/platform/environment/operator/configuration/TableNameResolver.java
Outdated
Show resolved
Hide resolved
@mfvitale sorry for the delay, busy few days. Mostly LGTM except for the one thing I commented on. |
Signed-off-by: Fiore Mario Vitale <[email protected]>
closes: https://issues.redhat.com/browse/DBZ-8512