Currently routing key configuration support only constants assigned at the initialization time. In case of topic exchange it would be beneficial to build different routing keys at a runtime.
For instance routing key specified in configuration as logs.{level} might be resolved at runtime to logs.warning, logs.debug, etc. depending on actual log entry.
Currently routing key configuration support only constants assigned at the initialization time. In case of topic exchange it would be beneficial to build different routing keys at a runtime.
For instance routing key specified in configuration as
logs.{level}
might be resolved at runtime tologs.warning
,logs.debug
, etc. depending on actual log entry.