Skip to content

Example file (example.py) uses process instead of thread #1563

Closed
@pengnam

Description

@pengnam

(https://github.com/dpkp/kafka-python/blob/master/example.py)

Consumer is a subclass of multiprocessing.Process.

The print statement in the run function will never print to the terminal as processes shares a different memory space.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions