-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add broker.subscriber.get_one() (#1726)
* subscriber.get_one() * remove _prepare * ruff satisfied * fixes * fixes * fixes * fixes * Kafka subscriber.get_one() * Confluent subscriber.get_one() * refactor: polist RMQ get_one method * Small refactoring of get_one * Rabbit get_one error fix * Kafka get_one update * Confluent get_one update * Redis channel get_one * Redis list get_one draft * Redis batch list get_one draft * Redis channel get_one update and list get_one message decoding * Redis list batch get_one message decoding * Redis stream get_one * Redis batch stream get_one * Redis channel get_one fix * Update brokers start methods * remove unnecessary code * Nats CoreSubscriber.get_one * Nats CoreSubscriber.get_one timeout support * Nats PullStreamSubscriber get_one * Nats KeyValueWatchSubscriber get_one prototype * Nats ObjStoreWatchSubscriber get_one prototype * Add Nats additional get_one methods * refactor: polist RMQ get_one method * Rabbit subscriber get_one tests * Kafka subscriber get_one tests * Confluent subscriber get_one tests * Redis subscriber get_one tests * Nats core and JS get_one tests * Nats PoolSubscriber get_one tests * Nats batch pull get_one tests + fixes * Nats get_one with filter test * Nats CoreSubscriber.get_one small refactoring * refactor: polish get_one * lint: fix redis mypy * lint: fix rabbit mypy * lint: fix kafka mypy * lint: fix confluent mypy * lint: fix kafka mypy * lint: fix nats mypy * lint: fix precommit * refactor: fix nats unsub * fix: correct redis timeout * fix: correct redis channel sub * lint: fix precommit * tests: mv get_one tests to basic testcase * tests: mv get_one tests to real testcase * docs: generate API References * refactor: use process_msg everywhere * refactor: mv process_msg broker.utils * lint: fix mypy * Nats KV and Obj subscribers get_one tests * Nats KV and Obj subscribers get_one timeout tests * format fix * tests: tefactor timeout tests --------- Co-authored-by: Nikita Pastukhov <diementros@yandex.ru> Co-authored-by: Pastukhov Nikita <nikita@pastukhov-dev.ru> Co-authored-by: Lancetnik <Lancetnik@users.noreply.github.com>
- Loading branch information
1 parent
218ddcc
commit 7aaafdd
Showing
16 changed files
with
1,049 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
# 0.5 - API | ||
# 2 - Release | ||
# 3 - Contributing | ||
# 5 - Template Page | ||
# 10 - Default | ||
search: | ||
boost: 0.5 | ||
--- | ||
|
||
::: faststream.broker.utils.process_msg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.