deduplicator

The deduplicator configuration is done through environment variables and command line flags. You can also use a deduplicator.yaml configuration file and find its default content here.

When configuring deduplicator, refer to the following parameters:

Command line flags

Type

Description

-collection-interval

duration

Group collection interval. Set to 0 if you don’t want groups themselves to expire (default 10s).

-collection-step

duration

Delay between collecting groups. 0 means no delay (default 10ms).

-config

string

Path to config file.

-config-template

Output config template and exit.

-debug

Enable debug logging.

-help

Print help information.

-listen

string

IP:port to listen on (default :18310).

The format of environment variable for flag -my-flag is CFG_MY_FLAG.

Priority:

  1. Defaults from source code (lowest priority).

  2. Configuration file.

  3. Environment variables.

  4. Command line.