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
There would be some code modification needed to use wildcards, because the current config is also prescriptive: if a topic does not yet exist in any specification, adding the topic to the config will cause it to be created. If you modify the code, it would be possible, not with a full regex but a wildcard, e.g. empatica_, ?mpatica_. You could add a property isWildcard that automatically gets set to yes if a * or ? is detected.
On line https://github.com/RADAR-base/RADAR-Schemas/blob/45d8c8ae4ddb997966b8ef9d98d98b8be[…]/src/main/java/org/radarbase/schema/registration/KafkaTopics.kt
you would need to exclude any wildcards. And any references to toolConfig.topics[t] in KafkaTopics needs to be changed to findTopicConfig(t) where findTopicConfig does a wildcard match. Also, you would have to check the rest of the code if the literal name of the topic is used. This is the case at least in SchemaRegistry in the same directory.
The text was updated successfully, but these errors were encountered:
From @blootsvoets
The text was updated successfully, but these errors were encountered: