You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to show our AVRO-based configuration topic under System topics in the UI. Initially, I thought it would be sufficient to name my topic _configuration (like _schemas), but unfortunately, this did not work. To make matters even worse, by preceding my topic with an underscore, the AVRO _configuration-key, and _configuration-value schemas were ignored, and my topic was displayed as binary. I will log this as a separate issue.
When browsing through the source code, however, I noticed that you treat certain topics as system topics if they start with a certain string prefix such as connect-status. And indeed, by renaming my topic to connect-status-configuration, it became a system topic and AVRO deserializing worked again.
So my question is, is it possible to add an option to treat certain topics as system topics, e.g. by prefixing it with an underscore, or 'system-topic'? Or could you include an underscore in your topics.config.js (I can create a pull request for that, if you like...).
The text was updated successfully, but these errors were encountered:
So you can pull the latest code, add your topic-name in that list of system/topic/names
and build the project. Whatever is there in CONTROL_TOPICS we do a if (topicName.startsWith(_))
Yeah, sure, but that also means that every time you add a new feature, I would have to merge the source code again. Wouldn't it be better if you define an environment variable for it?
I would like to show our AVRO-based configuration topic under System topics in the UI. Initially, I thought it would be sufficient to name my topic _configuration (like _schemas), but unfortunately, this did not work. To make matters even worse, by preceding my topic with an underscore, the AVRO _configuration-key, and _configuration-value schemas were ignored, and my topic was displayed as binary. I will log this as a separate issue.
When browsing through the source code, however, I noticed that you treat certain topics as system topics if they start with a certain string prefix such as connect-status. And indeed, by renaming my topic to connect-status-configuration, it became a system topic and AVRO deserializing worked again.
So my question is, is it possible to add an option to treat certain topics as system topics, e.g. by prefixing it with an underscore, or 'system-topic'? Or could you include an underscore in your topics.config.js (I can create a pull request for that, if you like...).
The text was updated successfully, but these errors were encountered: