Skip to content

Example of usage? #3

@scheung38

Description

@scheung38

Started python producer.py and python consumer.py but typing on the CLI I don't see anything returned?

Also using 2.7.15

$ brew installed zookeeper
$ brew installed kafka

$ brew services start zookeeper
$ brew services start kafka

$ python producer.py
$ python consumer.py

But no output afterward, typed items in both terminals after starting? What should I expect to see?
Also PyCharm warns that legacy

KAFKA = KafkaClient('localhost:9092')

The legacy KafkaClient interface has been moved to kafka.SimpleClient - this import will break in a future release more... (⌘F1)

What should I do?

Is it anyone of these

https://stackoverflow.com/questions/49504062/kafka-consumer-is-not-able-to-produce-output

MacOSX 10.14.2

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