How to deactivate a pipeline

In some cases, e. g. if a custom process is necessary, it’ll be useful to deactivate the default pipelines that’ll be provided by the modules

  • TechDivision_PacemakerImportCatalog

  • TechDivision_PacemakerImportInventory

  • TechDivision_PacemakerImportPrice

which are part of the Pacemaker distribution.

Usage

To deactivate the default Pipelines, simple disable the appropriate modules, assuming that you’re in the magento root directory, from the commandline with

<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Store:etc/config.xsd">
    <default>
        <process_pipelines>
            <mini_heartbeat>
                <enabled>1</enabled>
            </mini_heartbeat>
        </process_pipelines>
        <techdivision_pacemaker_import>
            <general>
                <source_directory>../import</source_directory>
                <media_source_directory>../import/media</media_source_directory>
            </general>
            <catalog>
                <!-- Disable default pacemaker pipeline -->
                <enabled>0</enabled>
                <!-- Enable project specific import pipeline -->
                <my_project_pipeline_enabled>1</my_project_pipeline_enabled>
                <ready_file_name>import.ok</ready_file_name>
            </catalog>
            <price>
                <enabled>0</enabled>
            </price>
            <inventory>
                <enabled>0</enabled>
            </inventory>
        </techdivision_pacemaker_import>
    </default>
</config>

and invoke bin/magento setup:upgrade again.