I have two subjects that return the same schema id via subject/versions/latest API. This is very wrong. When I request the schema id via /schemas/ids/ API it returns the schema for one of the subjects.
https://www.dropbox.com/s/txwta0thoanrumj/Screenshot%202015-12-01%2001.22.39.png?dl=0
https://www.dropbox.com/s/0mddnjhruy5oo2s/Screenshot%202015-12-01%2001.23.06.png?dl=0
https://www.dropbox.com/s/wjhr56ec0ssmw43/Screenshot%202015-12-01%2001.23.23.png?dl=0
[2015-11-19 08:15:47,114] INFO Wait to catch up until the offset of the last message at 98 (io.confluent.kafka.schemaregistry.storage.KafkaStore:221)
[2015-11-19 11:43:14,657] ERROR [ConsumerFetcherThread-schema-registry-1442611704002-6fe37829-0-3], Current offset 100 for partition [_schemas,0] out of range; reset offset to 0 (kafka.consumer.ConsumerFetcherThread:97)
[2015-11-19 11:43:14,657] ERROR [ConsumerFetcherThread-schema-registry-1442611704002-6fe37829-0-3], Current offset 100 for partition [_schemas,0] out of range; reset offset to 0 (kafka.consumer.ConsumerFetcherThread:97)
I then started getting other errors, eg:
[2015-11-19 12:45:58,007] INFO 172.31.26.108 - - [19/Nov/2015:12:45:57 -0500] "GET /schemas/ids/208 HTTP/1.1" 404 49 17 (io.confluent.rest-utils.requests:77)
[2015-11-19 15:54:46,094] INFO Wait to catch up until the offset of the last message at 99 (io.confluent.kafka.schemaregistry.storage.KafkaStore:221)
[2015-11-19 21:34:46,305] INFO 54.164.41.97 - - [19/Nov/2015:21:34:45 -0500] "POST /subjects/SessionEvent-value/versions HTTP/1.1" 500 61 502 (io.confluent.rest-utils.requests:77)
I restarted the problematic node and things looked to heal, but now I have underlying data that is inconsistent as mentioned above.
Currently, all my events being encoded with the corrupted subject cannot be decoded.
Please let me know if there are any details I can provide that can help debug the issue.
Also, let me know if there is a recommended way to fix. For the currently corrupted messages, the only option I know if is to create a custom decoder to hack around the corruption.
Thanks,
Paul