Add topic to trigger configuration

This patch adds topic trigger feature to trigger configuration and dynamic trigger configuration.

For backward compatibility, any topic is triggered if no topic configuration.