Stargate.Reader.QueryParams.build_params

You're seeing just the function build_params, go back to Stargate.Reader.QueryParams module for more information.

Specs

build_params(map() | nil) :: String.t()

Generates a query parameter string to apped to the URL and path parameters when creating a Stargate.Receiver reader connection.

Stargate does not generate explicit query parameters for default values when not supplied by the calling application as Pulsar itself assumes default values when not supplied.

Query parameters with nil values are removed from the resulting connection string so only those with explicit values will be passed to Pulsar when creating a connection.