Revert "Moved main so imports are right both from the source directly and the package."
This reverts commit 52934f0190
.
This commit is contained in:
parent
52934f0190
commit
f8374cbc97
|
@ -36,7 +36,7 @@ notification twice than not at all.
|
|||
It is assumed the notification engine will be run by a process supervisor which will restart it in case of a failure.
|
||||
|
||||
# Operation
|
||||
Yaml config file by default is in '/etc/mon/notification.yaml', a sample is in this project.
|
||||
Yaml config file by default is in '/etc/mon/notification.yaml'. The daemon runs via an upstart script.
|
||||
|
||||
# Future Considerations
|
||||
- Currently I lock the topic rather than the partitions. This effectively means there is only one active notification
|
||||
|
|
|
@ -11,11 +11,11 @@ import signal
|
|||
import sys
|
||||
import yaml
|
||||
|
||||
from mon_notification.state_tracker import ZookeeperStateTracker
|
||||
from mon_notification.processors.kafka_consumer import KafkaConsumer
|
||||
from mon_notification.processors.alarm_processor import AlarmProcessor
|
||||
from mon_notification.processors.notification_processor import NotificationProcessor
|
||||
from mon_notification.processors.sent_notification_processor import SentNotificationProcessor
|
||||
from state_tracker import ZookeeperStateTracker
|
||||
from processors.kafka_consumer import KafkaConsumer
|
||||
from processors.alarm_processor import AlarmProcessor
|
||||
from processors.notification_processor import NotificationProcessor
|
||||
from processors.sent_notification_processor import SentNotificationProcessor
|
||||
|
||||
|
||||
log = logging.getLogger(__name__)
|
Loading…
Reference in New Issue