Skip to content

Commit

Permalink
fix #1959: propagate logger to Confluent (#1960)
Browse files Browse the repository at this point in the history
* fix #1959: propagate logger to Confluent

* lint: fix mypy
  • Loading branch information
Lancetnik authored Dec 4, 2024
1 parent b1c6fa2 commit f01bfcb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion faststream/__about__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""Simple and fast framework to create message brokers based microservices."""

__version__ = "0.5.31"
__version__ = "0.5.32"

SERVICE_NAME = f"faststream-{__version__}"
4 changes: 2 additions & 2 deletions faststream/confluent/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def __init__(
}
)

self.producer = Producer(final_config)
self.producer = Producer(final_config, logger=self.logger) # type: ignore[call-arg]

self.__running = True
self._poll_task = asyncio.create_task(self._poll_loop())
Expand Down Expand Up @@ -312,7 +312,7 @@ def __init__(
)

self.config = final_config
self.consumer = Consumer(final_config)
self.consumer = Consumer(final_config, logger=self.logger) # type: ignore[call-arg]

@property
def topics_to_create(self) -> List[str]:
Expand Down

0 comments on commit f01bfcb

Please sign in to comment.