You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a situation that I'd like to address in the best way possible. I've got an AWS SQS queue, and each message has a "type". For a select few types, we'd like to spin up a job to process the information contained in the message. For all other types, we want to forward these messages to another SQS queue.
I have some questions:
First, it looks like I cannot have all of this happen in one sensor - from what I can tell, I can't tie a dependency directly to a trigger. Please confirm.
Second, I have determined that I can use a regex data filter to check for the "type" (I have to use ^ and & anchors for an exact match). However, I'm not sure how I can create a data filter to exclude anything that matches any of the given values ("everything but" the values specified). I tried using the != comparator, but it's not working - maybe it doesn't work for multiple values? I'd like to be able to have a list of values in my Helm values.yaml that I can just pop into the value list in the dependency filter.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi all,
I have a situation that I'd like to address in the best way possible. I've got an AWS SQS queue, and each message has a "type". For a select few types, we'd like to spin up a job to process the information contained in the message. For all other types, we want to forward these messages to another SQS queue.
I have some questions:
First, it looks like I cannot have all of this happen in one sensor - from what I can tell, I can't tie a dependency directly to a trigger. Please confirm.
Second, I have determined that I can use a regex data filter to check for the "type" (I have to use
^
and&
anchors for an exact match). However, I'm not sure how I can create a data filter to exclude anything that matches any of the given values ("everything but" the values specified). I tried using the!=
comparator, but it's not working - maybe it doesn't work for multiple values? I'd like to be able to have a list of values in my Helm values.yaml that I can just pop into thevalue
list in the dependency filter.Any advice is appreciated!
Beta Was this translation helpful? Give feedback.
All reactions