Skip to content
Discussion options

You must be logged in to vote

Hello @sandeep2rawat,

By default FastStream consumes single message from the Redis Stream before consuming the next message. If you want to process multiple messages at once there are few ways to do it.

  1. Use Batch subscription to consume multiple messages at once.
  2. While running the faststream application you can use --workers flag for scaling.

You can combine 1 and 2 to consume multiple messages at the same time.

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@sandeep2rawat
Comment options

Answer selected by sandeep2rawat
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@sandeep2rawat
Comment options

@vvanglro
Comment options

@sandeep2rawat
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants