def configure(self, env, upgrade_type=None, config_dir=None): from params import params env.set_params(params) metron_service.load_global_config(params) commands = ParserCommands(params) if not commands.is_configured(): commands.init_parsers() commands.init_kafka_topics() commands.set_configured()
def configure(self, env, upgrade_type=None, config_dir=None): from params import params env.set_params(params) metron_service.load_global_config(params) commands = ParserCommands(params) if not commands.is_configured(): commands.init_parsers() commands.init_kafka_topics() commands.set_configured()
def configure(self, env, upgrade_type=None, config_dir=None): from params import params env.set_params(params) metron_service.load_global_config(params) commands = ParserCommands(params) if not commands.is_configured(): commands.init_parsers() commands.init_kafka_topics() commands.set_configured() if params.security_enabled and not commands.is_acl_configured(): commands.init_kafka_acls() commands.set_acl_configured() Logger.info("Calling security setup") storm_security_setup(params)
def configure(self, env, upgrade_type=None, config_dir=None): from params import params env.set_params(params) if not metron_service.is_zk_configured(params): metron_service.init_zk_config(params) metron_service.set_zk_configured(params) metron_service.refresh_configs(params) commands = ParserCommands(params) if not commands.is_configured(): commands.init_parsers() commands.init_kafka_topics() commands.set_configured() if params.security_enabled and not commands.is_acl_configured(): commands.init_kafka_acls() commands.set_acl_configured() Logger.info("Calling security setup") storm_security_setup(params)