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

Issue in offset fetch #21

Closed
mahendra opened this issue May 27, 2013 · 2 comments
Closed

Issue in offset fetch #21

mahendra opened this issue May 27, 2013 · 2 comments

Comments

@mahendra
Copy link
Collaborator

In consumer.py, if you un-comment the lines (for 0.8.1) to enable OffsetFetchRequest on consumer init, the following error occurs at the broker

kafka.common.KafkaException: Wrong request type 7
    at kafka.api.RequestKeys$.deserializerForKey(RequestKeys.scala:51)
    at kafka.network.RequestChannel$Request.<init>(RequestChannel.scala:49)
    at kafka.network.Processor.read(SocketServer.scala:345)
    at kafka.network.Processor.run(SocketServer.scala:245)
    at java.lang.Thread.run(Unknown Source)

and kafka-python raises an exception

Noticed this in kafka trunk as well as 0.8

@mahendra
Copy link
Collaborator Author

Sorry, this is my mistake. It is working fine once I compile kafka from trunk and run it (had messed up my configuration while switching between 0.8 and trunk earlier)

@mumrah
Copy link
Collaborator

mumrah commented May 28, 2013

Yea, this happens to me all the time. I really just wish they had pulled these new offset APIs into 0.8 - would have made life easier

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

2 participants