Suppose I have to design a rules engine , where depending on a static configuration rule, the chain of responsibility changes at runtime. What is the best design pattern for implementing this problem?
FOr e,g. depending on some configurations, a set of events in stream can be (1) filtered, (2) partitioned into subsets (3) modified
For each stream, customer can choose all of the 3 or some of the three or none of the three.
So, my assembly pipeline should be configured at runtime based on config for each stream.
WHich is the best design pattern to achieve this?