Does AMQP_1 output support function interpolation for target_address ?
#3935
-
|
I need to send a stream of JSON events to an AMQP cluster where the topic is determined dynamically by the message content (value of a specific field). Will If that's not an option, any idea on how I could achieve the same result? (the high cardinality of field Thanks a lot 🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
|
Hey @AbelThorne 👋 Unfortunately, that field does not support interpolation (see here)... Looking at the code, I think maintaining a large pool of sender instances as opposed to one (see here) might lead to resource starvation and the code behind |
Beta Was this translation helpful? Give feedback.
I see, thank you for digging into that! Sounds like it wouldn’t require a lot of work, but I don’t have any cycles to spare right now. If you are happy to play around with Go, then you can copy / paste the existing implementation into a plugin and adjust it. Also, PRs are welcome!