-
Task
-
Resolution: Done
-
Low
-
None
-
None
-
None
Current design of Topic factories in policy-common module is at least bad.
There are tons of copy-pasted code. The code is copy-pasted not only between the factories (for example UepTopicSourceFactory vs DmaapTopicSourceFactory) but also inside methods (build() function in every factory is a great example here).
I would like to rework this whole structure by:
1) Implementing a common Factory class and move all generic code there
2) Rework the way that we handle properties today by removing a common properties interface and creating suitable enums in responsible classes
1.
|
Remove constant from Topic interface | Closed | kopasiak |