How To Apply Transform To Only One Destination #2055
-
I want to apply transform only to one of the destinations. How can I apply this transform (adding header) only to the What have I done; This works, but I will need more transformations specific to the some destinations. (like adding path suffix, query string etc.) Is there a way to improve this process? I guess I can do this with code, like creating conditions in the code and adding the header for only destination one, but it will require lots of customisation. Config of what I have done;
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Clusters are supposed to contain equivalent destinations that are all capable of handling the requests. How is it that one destination requires an auth header and the other doesn't? What else is different about these destinations? Some other ways to do this: A) Instead of load balancing, use separate clusters and select the cluster dynamically: B) Use direct forwarding to choose the destination and pass in the transforms required for each separately. |
Beta Was this translation helpful? Give feedback.
-
I took an alternative approach, I added metadata in destinations that require authentication. My config;
Transform;
|
Beta Was this translation helpful? Give feedback.
I took an alternative approach, I added metadata in destinations that require authentication.
And in a custom transformation, I added header values if there is a definition for selected destination.
My config;
Transform;