filter esms in sqs poller (#447)

This commit is contained in:
bkindersleytrulioo authored and GitHub committed 2026-04-14 22:23:05 -05:00
1 parent ecfef11b2f
commit bf67c61d60
1 file changed
+1 -1
@@ -73,7 +73,7 @@ public class SqsEventSourcePoller {
void init() {
List<EventSourceMapping> esms = esmStore.list();
for (EventSourceMapping esm : esms) {
if (esm.isEnabled()) {
if (esm.isEnabled() && esm.getEventSourceArn().contains(":sqs:")) {
startPolling(esm);
}
}