Skip to content

Outputs

The outputs determine what happens at the end of the extraction process.

You can configure more than one active plugin, if you wanted to output the content to more than one place.

Outputs are loaded as named entry points with the namespace: stac_generator.outputs

Example Configuration

.. code-block:: yaml

outputs:
  - name: json_out
    conf:
      dirpath: location_to_destination_file
      filename_term: item_id

The outputs determine what happens at the end of the extraction process.

Bulk outputs store collect a configured number of message before outputting and output any remaining message after the input has finished.

You can configure more than one active plugin, if you wanted to output the content to more than one place.

Bulk Outputs are loaded with standard outputs as named entry points with the namespace: stac_generator.outputs

Example Configuration

.. code-block:: yaml

outputs:
    - name: elasticsearch_bulk
      conf:
        client_kwargs:
          hosts: ['host1','host2']
          index:
            name: 'assets-2021-06-02'