Skip to content

When I set Python3.4, it will broke the kafka #12

@hongwei1

Description

@hongwei1

Exception: [Error 17] InvalidTopicError: b'Response'
This error as following, and there will not log on the console

/Users/zhanghongwei/python34/bin/python /Users/zhanghongwei/Documents/GitHub-Tower/OBP-Kafka-Python/server.py
Console output is saving to: /Users/zhanghongwei/Desktop/Apps/OBP-Kakfa-Python.log
Connecting to localhost:9092...
Connected to localhost:9092.
producer: OK
consumer: OK
Connected. Waiting for messages...
Request:0:0: key=b'b23fac91-1365-40c4-be66-ba3cda9c5642' value=b'{"username":"","messageFormat":"Mar2017","userId":"","bankId":"obp-bank-x-gh","action":"obp.get.Bank"}'
Mar2017
getBank
{'messageFormat': 'Mar2017', 'username': '', 'userId': '', 'bankId': 'obp-bank-x-gh'}
{"count": "", "data": [{"logo": "https://static.openbankproject.com/images/sandbox/bank_x.png", "errorCode": "OBPS-001: xxx.", "name": "The Bank of X", "bankId": "obp-bank-x-gh", "url": "https://www.example.com"}], "pager": "", "target": "bank", "state": ""}

Exception: [Error 17] InvalidTopicError: b'Response'
Info: Kafka disconnected. Reconnecting...
producer: OK

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions