Burrow icon indicating copy to clipboard operation
Burrow copied to clipboard

group-allowlist&group-denylist for notifier doesn't make impact

Open iMajna opened this issue 4 years ago • 0 comments

I'm trying to use different email notifier per consumer group prefix and therefore I have to use group-allowlist and group-denylist.

Problem description For the beginning this is my notifier configs:

[notifier.email-crmtgroup-1111]
class-name="email"
interval=60
threshold=3
send-close=true
send-once=true
group-allowlist="ˆ(crmgroup-1111|crmgroup2-1111).*$"
group-denylist=""
template-open="/path/to/template.tmpl"
template-close="/path/to/template.tmpl"
server="localhost"
port=25
from="test"
to="[email protected]"

Burrow version: 1.3.4

Now, I have tried multiple combinations for group-denylist and group-allowlist and these are:

  1. group-denylist="ˆ(?!crmgroup-1111|crmgroup2-1111).*$", group-allowlist=""
  2. group-denylist="", group-allowlist="ˆ(crmgroup-1111|crmgroup2-1111).*$"
  3. group-denylist="", group-allowlist="ˆcrmgroup-1111.*$"

and couple of more but these are most important. Whichever combination I used I get error email if consumer-group test-group is having a problems. I'm not sure whether I'm mistaking somewhere or these two configs have zero impact.

Anyone met with something similar?

iMajna avatar Nov 22 '20 15:11 iMajna