airtai / faststream

FastStream is a powerful and easy-to-use Python framework for building asynchronous services interacting with event streams such as Apache Kafka, RabbitMQ, NATS and Redis.
https://faststream.airt.ai/latest/
Apache License 2.0
3.15k stars 161 forks source link

Feature: add NatsMessage ack_sync method #1906 #1909

Closed wpn10 closed 1 week ago

wpn10 commented 1 week ago

Description Added the ack_sync method to NatsMessage to support synchronous acknowledgment functionality.

Fixes #1906

Type of Change New feature (a non-breaking change that adds functionality) Checklist My code adheres to the style guidelines of this project (scripts/lint.sh shows no errors) I have conducted a self-review of my own code I have ensured that static analysis tests are passing by running scripts/static-analysis.sh

Lancetnik commented 1 week ago

@wpn10 thank you a lot! Great job, you will see your changes in a next release 😄