Skip to content

Commit

Permalink
Add poll in confluent producer to fix BufferError (#1277)
Browse files Browse the repository at this point in the history
* Add poll in confluent producer to fix BufferError

* Bump version
  • Loading branch information
kumaranvpl authored Mar 1, 2024
1 parent 4e61b94 commit fd644b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
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.4.5"
__version__ = "0.4.6"


INSTALL_YAML = """
Expand Down
1 change: 1 addition & 0 deletions faststream/confluent/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ async def send(
# on_delivery=ack,
**kwargs,
)
self.producer.poll(0)
# return result

def create_batch(self) -> BatchBuilder:
Expand Down

0 comments on commit fd644b4

Please sign in to comment.