NatsSubscriberConfig
faststream.nats.subscriber.config.NatsSubscriberConfig dataclass #
NatsSubscriberConfig(
*,
_outer_config: NatsBrokerConfig = NatsBrokerConfig(),
no_reply: bool = False,
_ack_policy: AckPolicy = (lambda: EMPTY)(),
subject: str,
sub_config: ConsumerConfig,
extra_options: dict[str, Any] | None = dict(),
_ack_first: bool = (lambda: EMPTY)(),
_no_ack: bool = (lambda: EMPTY)(),
)
Bases: SubscriberUsecaseConfig