fix: updated topic configuration object data types#242
Conversation
e0cab70 to
194986a
Compare
dalelane
left a comment
There was a problem hiding this comment.
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