Desired Behavior
We need to programmatically register streams via the streams PUT call. This is failing with the error {"code":400,"message":"Error: Input configs={} and actual configs={min.insync.replicas=2} are not same for topic=<stream name>" when we issue a PUT to the endpoint v0/streams/<stream name>
Desired behavior:
- if no topic exists, create the topic with the supplied config
- If the topic already exists and is not registered with the stream registry, register the stream with the topic's current config
- If the topic already exists and is registered with the stream registry, then it's a no-op
Benefits
Please list the benefits of updating the stream-registry project
to have the new behavior. E.g.:
Enables programmatic stream registration for different use cases.