|
|
@ -32,22 +32,22 @@ public class TopicService { |
|
|
@Value("${queue.prefix:}") |
|
|
@Value("${queue.prefix:}") |
|
|
private String prefix; |
|
|
private String prefix; |
|
|
|
|
|
|
|
|
@Value("${queue.core.notifications_topic:tb_core.notifications}") |
|
|
@Value("${queue.core.notifications-topic:tb_core.notifications}") |
|
|
private String tbCoreNotificationsTopic; |
|
|
private String tbCoreNotificationsTopic; |
|
|
|
|
|
|
|
|
@Value("${queue.rule-engine.notifications_topic:tb_rule_engine.notifications}") |
|
|
@Value("${queue.rule-engine.notifications-topic:tb_rule_engine.notifications}") |
|
|
private String tbRuleEngineNotificationsTopic; |
|
|
private String tbRuleEngineNotificationsTopic; |
|
|
|
|
|
|
|
|
@Value("${queue.transport.notifications_topics:tb_transport.notifications}") |
|
|
@Value("${queue.transport.notifications-topic:tb_transport.notifications}") |
|
|
private String tbTransportNotificationsTopic; |
|
|
private String tbTransportNotificationsTopic; |
|
|
|
|
|
|
|
|
@Value("${queue.edge.notifications_topic:tb_edge.notifications}") |
|
|
@Value("${queue.edge.notifications-topic:tb_edge.notifications}") |
|
|
private String tbEdgeNotificationsTopic; |
|
|
private String tbEdgeNotificationsTopic; |
|
|
|
|
|
|
|
|
@Value("${queue.edge.event_notifications_topic:tb_edge_event.notifications}") |
|
|
@Value("${queue.edge.event-notifications-topic:tb_edge_event.notifications}") |
|
|
private String tbEdgeEventNotificationsTopic; |
|
|
private String tbEdgeEventNotificationsTopic; |
|
|
|
|
|
|
|
|
@Value("${queue.calculated-fields.notifications_topic:calculated_field.notifications}") |
|
|
@Value("${queue.calculated-fields.notifications-topic:calculated_field.notifications}") |
|
|
private String tbCalculatedFieldNotificationsTopic; |
|
|
private String tbCalculatedFieldNotificationsTopic; |
|
|
|
|
|
|
|
|
private final ConcurrentMap<String, TopicPartitionInfo> tbCoreNotificationTopics = new ConcurrentHashMap<>(); |
|
|
private final ConcurrentMap<String, TopicPartitionInfo> tbCoreNotificationTopics = new ConcurrentHashMap<>(); |
|
|
|