Please select the area the issue is related to
Area/EventGateway (Event Gateway runtime/control plane)
Please select the aspect the issue is related to
Aspect/Other (Anything else which does not match above categories)
Description
Currently we store topics used in WebSub APIs as: apiName + apiVersion + sanitizedTopic
Since this can lead to collisions, we should be hashing this with SHA256-hash(apiName + apiVersion + topic). When seeing the topic in the broker (Kafka), readability will be a problem, so we'll have to check if we can put metadata in topics when we store.
Please select the area the issue is related to
Area/EventGateway (Event Gateway runtime/control plane)
Please select the aspect the issue is related to
Aspect/Other (Anything else which does not match above categories)
Description
Currently we store topics used in WebSub APIs as:
apiName+apiVersion+sanitizedTopicSince this can lead to collisions, we should be hashing this with
SHA256-hash(apiName + apiVersion + topic). When seeing the topic in the broker (Kafka), readability will be a problem, so we'll have to check if we can put metadata in topics when we store.