-
-
Notifications
You must be signed in to change notification settings - Fork 74
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
fix: updated topic configuration object data types #242
fix: updated topic configuration object data types #242
Conversation
e0cab70
to
194986a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm absolutely not a schema expert here, but I thought we're speaking the language of JSON schema here, which means we're restricted to "integer" as a way of describing whole numbers.
e.g. https://json-schema.org/understanding-json-schema/reference/numeric
Happy for you to explain why I'm wrong though :)
If we are dependent on JSON in this README.md file then you are right, we can not use long as a data type. But also it would be good to raise that developers should use long in their tooling otherwise they may end up having problems. |
That's a fair point - I'm perhaps being unhelpfully strict for a markdown file, and this is better thought of as an issue for https://github.com/asyncapi/spec-json-schemas only, where you do have them as integers. @smoya - what do you think? |
The issue is that you can't specify |
fair enough - this way round makes sense then - the formal json schema is only as precise as it can be (integer) but we give a more helpful/accurate description in the markdown doc here Thanks, both, for hearing me out :) |
194986a
to
f83867d
Compare
f83867d
to
963cbe6
Compare
/rtm |
Description
The following properties need to be updated as
long
:retention.ms
retention.bytes
delete.retention.ms
If you need further details about the configs you can check this documentation page: https://kafka.apache.org/documentation/#topicconfigs_retention.bytes
Change log