passing config to StreamListener