-
Notifications
You must be signed in to change notification settings - Fork 905
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
out of range schema id in avroProducer for IBM Event Streams #679
Comments
Do you know if IBM Event Streams Schema Registry uses the same wire format as Confluent's Schema Registry? The error message seems to indicate that the schema ID may not be an unsigned int. Does this happen to be a problem when using the 2.7 interpreter as well? Thanks, |
I don't know about the wire format or if it works with the 2.7 interpreter... pretty new here. Sorry. "it’s due to Event Streams returning a negative ID (which fits in a Java unsigned integer, but Pythons struct.pack call does not like)" |
Yeah it looks like technically the schema registry wire format uses a signed int. In practice no schema will ever be assigned a negative id as its indexed from 1. That said this is technically a bug even if the Confluent schema registry will never handout a negative id. |
Description
When working with IBM Event Streams and the
confluent_kafka.avro
library I get the following error:the schema id that IBM Event Streams produces is
avrotest-value-6cqbo6
Apparently, the Java client does not have such problem.
How to reproduce
Send a message to a topic in IBM Event Streams whose name is of some length (not much as you can see above).
Checklist
Please provide the following information:
confluent_kafka.version()
andconfluent_kafka.libversion()
):{...}
'debug': '..'
as necessary)The text was updated successfully, but these errors were encountered: