-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.6.0 #1779
Draft
Lancetnik
wants to merge
213
commits into
main
Choose a base branch
from
0.6.0
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
* refactor: use CMD to call publisher * fix: add missing pre-commit changes * refactor: add an ability to check RPC response * refactor: use PublishType * refactor: new NatsFakePublisher * refactor: use PublishCmd in request * fix: correct publisher.publish * fix: correct Nats JS request * lint: polish annotations * feat: add RabbitPublishCommand * refactor: add basic publish & request publisher methods * refactor: remove add_header Response method * refactor: add KafkaPublishCommand * refactor: pass context to middleware directly * refactor: Confluent, Redis publish commands * refactor: break ISP, add publish_batch to ProducerProto * refactor: create basic fake publisher * refactor: do not call LoggingMiddleware for RPC responses * refactor: new NatsOtelMiddleware * refactor: new RabbitOtelMiddleware * refactor: new RedisOtelMiddleware * refactor: new KafkaOtelMiddleware * refactor: new ConfluentOtelMiddleware * feat: add PublishCmd add_headers method * refactor: actual PrometheusMiddleware * fix: correct AsyncAPI * fix: add missing pre-commit changes * chore: remove 3.8 from CI * docs: generate API References * chore: fix CI * chore: fix CI * fix: set miltilock at start only --------- Co-authored-by: Lancetnik <[email protected]>
* refactor: make context not-global * docs: generate API References * tests: refactor context tests * chore: merge main * fix: correct Context propogation from App to Broker * docs: generate API References * tests: in-memory cli * chore: use python3.9 compatible FastDepends * chore: revert FD version --------- Co-authored-by: Lancetnik <[email protected]>
* fixing metrics for rpc * == -> is
* tests on MetricsSettingsProvider for all brokers * chore: fix tests * chore: remove loguru usage --------- Co-authored-by: Nikita Pastukhov <[email protected]>
* feat/ack_middleware added ack middleware * tests: fix FastAPI tests * feat/ack_middleware added ack middleware * ack_middleware fixed redis stream * tests: fix FastAPI tests * ack_middleware fixed redis stream * chore: remove conflicts * chore: refactor AckMiddleware * docs: generate API References --------- Co-authored-by: Nikita Pastukhov <[email protected]> Co-authored-by: Pastukhov Nikita <[email protected]> Co-authored-by: Lancetnik <[email protected]>
* refactor: add ack handling for brokers * fix: warnings arguments and is_manual flag * refactor: complete NATS * docs: generate API References * fix: update ack_policy * refactor: new tests * refactor: move ack_policy reject outside of return functions * tests: fix NATS tests * refactor: validate warnings * chore: remove loguru usage * chore: remove deprecated type option * chore: correct warnings stacklevel --------- Co-authored-by: vectorvp <[email protected]> Co-authored-by: Pastukhov Nikita <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Core
Issues related to core FastStream functionality and affects to all brokers
enhancement
New feature or request
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Please include a summary of the change and specify which issue is being addressed. Additionally, provide relevant motivation and context.
fixes #1742, close #1308, close #1228, close #980, fixes #1742, #1895 feature
Breaking changes:
@broker.subscriber(..., filters=...)
removedmessage.decoded_body
removed, useawait message.decode()
insteadpublish(..., rpc=True)
removed, usebroker.request()
instead@broker.subscriber(..., reply_config=...)
removed, useResponse
insteadContext("broker")
andContext("logger")
moved to local context. They can not be accessed in lifespan hooks anymoreFastStream(broker)
is positional-only argument now (preparing toFastStream(*brokers)
support)FastStream(**asyncapi_options)
doesn't work anymore. Now, you have to create specialAsyncAPI(broker, **asyncapi_options)
to render documentationFastStream(broker)
is POSITIONAL-ONLY option now.FastStream(broker=broker)
doesn't work anymorebroker.subscriber(..., retry=True)
removed, useack_policy
instead