Skip to content

Bug: assert self._producer, NOT_CONNECTED_YET. Please, connect() the broker first. #2013

Closed
@JohnConnor123

Description

@JohnConnor123

Version faststream[kafka]==0.5.33 does not work when connected to a server. 5 hours of work in the debugger with the whole team and, as a result, the error below was resolved by rolling back to version 0.5.29

  File "E:\Poetry\virtualenvs\audioserver-E3nwuXL0-py3.12\Lib\site-packages\faststream\kafka\publisher\usecase.py", line 291, in publish
    assert self._producer, NOT_CONNECTED_YET  # nosec B101
           ^^^^^^^^^^^^^^
AssertionError: Please, `connect()` the broker first.

Metadata

Metadata

Assignees

No one assigned

    Labels

    AioKafkaIssues related to `faststream.kafka` modulebugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions