def init_kafka_acls(self): Logger.info('Creating Kafka ACls for enrichment') metron_service.init_kafka_acls(self.__params, self.__get_topics()) # Enrichment topic names matches group metron_service.init_kafka_acl_groups(self.__params, self.__get_kafka_acl_groups()) self.set_kafka_acl_configured()
def init_kafka_acls(self): Logger.info('Creating Kafka ACLs for rest') # The following topics must be permissioned for the rest application list operation topics = self.__get_topics() + [self.__params.ambari_kafka_service_check_topic, self.__params.consumer_offsets_topic] metron_service.init_kafka_acls(self.__params, topics) groups = ['metron-rest'] metron_service.init_kafka_acl_groups(self.__params, groups)
def init_kafka_acls(self): Logger.info('Creating Kafka ACLs for rest') # The following topics must be permissioned for the rest application list operation topics = [ self.__params.ambari_kafka_service_check_topic, self.__params.consumer_offsets_topic, self.__params.metron_escalation_topic ] metron_service.init_kafka_acls(self.__params, topics, ['metron-rest'])
def init_kafka_acls(self): Logger.info('Creating Kafka ACls for enrichment') # Enrichment topic names matches group metron_service.init_kafka_acls( self.__params, [self.__enrichment_topic, self.__params.enrichment_error_topic], [self.__enrichment_topic]) self.set_kafka_acl_configured()
def init_kafka_acls(self): Logger.info('Creating Kafka ACLs for parsers') # Getting topics this way is a bit awkward, but I don't want to modify the actual list, so copy it topics = list(self.get_parser_list()) topics.append(self.__params.enrichment_error_topic) # Parser group is the parser name + '_parser' metron_service.init_kafka_acls( self.__params, topics, [parser + '_parser' for parser in self.get_parser_list()])
def init_kafka_acls(self): Logger.info('Creating Kafka ACls for profiler') metron_service.init_kafka_acls(self.__params, [self.__profiler_topic], ['profiler'])
def init_kafka_acls(self): Logger.info('Creating Kafka ACLs for indexing') metron_service.init_kafka_acls(self.__params, self.__get_topics()) metron_service.init_kafka_acl_groups(self.__params, self.__get_kafka_acl_groups())
def init_kafka_acls(self): Logger.info('Creating Kafka ACLs') # Indexed topic names matches the group metron_service.init_kafka_acls(self.__params, [self.__indexing_topic], [self.__indexing_topic])