예제 #1
0
 def init_kafka_topics(self):
     Logger.info('Creating Kafka topics for parsers')
     # All errors go to indexing topics, so create it here if it's not already
     # Getting topics this way is a bit awkward, but I don't want to append to actual list, so copy it
     topics = list(self.get_parser_list())
     topics.append(self.__params.enrichment_error_topic)
     metron_service.init_kafka_topics(self.__params, topics)
예제 #2
0
 def init_kafka_topics(self):
     Logger.info('Creating Kafka topics for enrichment')
     # All errors go to indexing topics, so create it here if it's not already
     metron_service.init_kafka_topics(
         self.__params,
         [self.__enrichment_topic, self.__params.enrichment_error_topic])
     self.set_kafka_configured()
예제 #3
0
 def init_kafka_topics(self):
     Logger.info('Creating Kafka topics for rest')
     metron_service.init_kafka_topics(self.__params, self.__get_topics())
예제 #4
0
 def init_kafka_topics(self):
     Logger.info('Creating Kafka topics for rest')
     metron_service.init_kafka_topics(self.__params, self.__get_topics())
예제 #5
0
 def init_kafka_topics(self):
     Logger.info('Creating Kafka topics for indexing')
     metron_service.init_kafka_topics(self.__params,
                                      [self.__indexing_topic])
 def init_kafka_topics(self):
     Logger.info('Creating Kafka topics for enrichment')
     # All errors go to indexing topics, so create it here if it's not already
     metron_service.init_kafka_topics(self.__params, self.__get_topics())
     self.set_kafka_configured()
예제 #7
0
 def init_kafka_topics(self):
     Logger.info('Creating Kafka topics for rest')
     topics = [self.__params.metron_escalation_topic]
     metron_service.init_kafka_topics(self.__params, topics)