-
Task
-
Resolution: Unresolved
-
Major
-
None
-
None
-
False
-
-
False
-
-
In some instances, some Debezium configurations need to be expressed in application.properties and they contain a pattern that MicroProfile treats are requiring substitution and expansion, such as
debezium.transforms.t1.route.topic.replacement=${routedByValue}
It's not well documented that Quarkus provides a way to use $$ (double dollar sign) to signal that the following pattern shouldn't be expanded and to treat the $$ as the escape sequence of a single $ character.
In other words, using this
debezium.transforms.t1.route.topic.replacement=$${routedByValue}
Will make sure the transform receives the value as
${routedByValue}
In this case the transform behaves as expected but without escaping the dollar sign in the configuration properties file, the transform does not properly work.