kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vignesh <vignesh.v...@gmail.com>
Subject In which scenarios would "INVALID_REQUEST" be returned for "Offset Request"
Date Fri, 22 Sep 2017 23:09:37 GMT
Hi,

In which scenarios would we get "INVALID_REQUEST" for a Version 1 "Offset
Request"  (https://kafka.apache.org/protocol#The_Messages_Offsets)  ?

I searched for INVALID_REQUEST in https://github.com/apache/kafka and below
is the only file that seems related.

https://github.com/apache/kafka/blob/96ba21e0dfb1a564d5349179d844f020abf1e08b/clients/src/main/java/org/apache/kafka/common/protocol/Errors.java

Here, I see that invalid request is returned only on duplicate topic
partition. Is that the only reason?

The description for the error is broader though.

"
This most likely occurs because of a request being malformed by the client
library or the message was sent to an incompatible broker. See the broker
logs for more details.

"

Thanks,
Vignesh.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message