Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hongwei1 opened this issue Mar 30, 2017 · 0 comments
Open

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

hongwei1 opened this issue Mar 30, 2017 · 0 comments

Comments

@hongwei1
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant