fastiot_core_services.nats_logger.env module

class fastiot_core_services.nats_logger.env.NatsLoggerConstants[source]
property subject: str
FASTIOT_NATS_LOGGER_SUBJECT

Set the subject to listen to. It defaults to v1.> meaning everything below v1. For more details about how to specify (wildcard) subjects please refer to the nats.io documentation at https://docs.nats.io/nats-concepts/subjects

property filter_field: str | None
FASTIOT_NATS_LOGGER_FILTER_FIELD

Filter for a specific field, e.g. value to equal to FASTIOT_NATS_LOGGER_FILTER_VALUE.

property filter_value: str | None
FASTIOT_NATS_LOGGER_FILTER_VALUE

Set the value to filter for.