Skip to content

Commit

Permalink
Merge branch 'main' into pass-logger-to-confluent
Browse files Browse the repository at this point in the history
  • Loading branch information
kumaranvpl authored May 24, 2024
2 parents 93dacfb + 9505fad commit 09f72ec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion faststream/__about__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Simple and fast framework to create message brokers based microservices."""

__version__ = "0.5.8"
__version__ = "0.5.9"

SERVICE_NAME = f"faststream-{__version__}"

Expand Down
4 changes: 4 additions & 0 deletions faststream/redis/schemas/stream_sub.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,8 @@ def __init__(
self.max_records = max_records

def __hash__(self) -> int:
if self.group is not None:
return hash(
f"stream:{self.name} group:{self.group} consumer:{self.consumer}"
)
return hash(f"stream:{self.name}")

0 comments on commit 09f72ec

Please sign in to comment.