All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.zeebe.broker.system.SystemServiceNames Maven / Gradle / Ivy

/*
 * Zeebe Broker Core
 * Copyright © 2017 camunda services GmbH ([email protected])
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see .
 */
package io.zeebe.broker.system;

import io.zeebe.broker.clustering.management.PartitionManager;
import io.zeebe.broker.system.deployment.handler.WorkflowRequestMessageHandler;
import io.zeebe.broker.system.deployment.service.DeploymentManager;
import io.zeebe.broker.system.log.SystemPartitionManager;
import io.zeebe.broker.system.metrics.MetricsFileWriter;
import io.zeebe.logstreams.processor.StreamProcessorController;
import io.zeebe.servicecontainer.ServiceName;

public class SystemServiceNames
{
    public static final ServiceName METRICS_FILE_WRITER = ServiceName.newServiceName("broker.metricsFileWriter", MetricsFileWriter.class);

    public static final ServiceName SYSTEM_LOG_MANAGER = ServiceName.newServiceName("broker.system.log", SystemPartitionManager.class);

    public static final ServiceName PARTITION_MANAGER_SERVICE = ServiceName.newServiceName("broker.system.partition.manager", PartitionManager.class);

    public static final ServiceName WORKFLOW_REQUEST_MESSAGE_HANDLER_SERVICE = ServiceName.newServiceName("broker.system.workflow.handler", WorkflowRequestMessageHandler.class);
    public static final ServiceName DEPLOYMENT_MANAGER_SERVICE = ServiceName.newServiceName("broker.system.deployment.manager", DeploymentManager.class);
    public static final ServiceName DEPLOYMENT_PROCESSOR = ServiceName.newServiceName("broker.system.deployment.processor", StreamProcessorController.class);

    public static ServiceName systemProcessorName(String processorName)
    {
        return ServiceName.newServiceName("broker.system.log.processor." + processorName, StreamProcessorController.class);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy