Backend module configuration parameters

You have three possibilities to configure the backend module. You can include them in the code via the main function, provide them as command-line arguments or use environment variables.


Command line arguments take precedence over parameters to the main function which in turn takes precendece over environment variables!

Using the main function

When calling the main() function, you can pass provide various options to call for configuration (see the API reference).

Providing command line arguments

All parameters can also be provided via command line arguments.

Using environment variables

Parameters for the messaging config (i.e. for PulsarConfig and WebsocketURLConfig) can also be provided via environment variables. Add the following prefix to the exported parameter: DE_BACKEND_, e.g. DE_BACKEND_HOST to set the host parameter.