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
Currently, NATS server doesn't allow clients to change the RePublish stream option after it has been defined. Allowing clients to remove/modify RePublish would allow users to disable republishing when it is no longer necessary and to make it easier to make modifications to the subject namespace over time.
In addition, it would be useful for the RePublish option to be a list so you can republish messages to multiple subjects.
Use Case:
The most immediate use cases are 1) disabling republishing when it is no longer necessary and 2) using the feature to make modifications to the subject namespace.
Proposed Change:
Allow the RePublish stream option to be editable.
Who Benefits From The Change(s)?
Users who want to disable RePublishing or change a destination subject.
Alternative Approaches
It should be possible to implement the same behavior by creating a new stream that uses the old stream as a source. Then once the streams are synced, you can set the desired RePublish option in the new stream and delete the old stream. To prevent data loss between deleting the old stream and subscribing the new stream to the old subjects, you can use subject mapping to redirect messages from the old stream to the new stream.
The text was updated successfully, but these errors were encountered:
Feature Request
Currently, NATS server doesn't allow clients to change the
RePublish
stream option after it has been defined. Allowing clients to remove/modifyRePublish
would allow users to disable republishing when it is no longer necessary and to make it easier to make modifications to the subject namespace over time.In addition, it would be useful for the RePublish option to be a list so you can republish messages to multiple subjects.
Use Case:
The most immediate use cases are 1) disabling republishing when it is no longer necessary and 2) using the feature to make modifications to the subject namespace.
Proposed Change:
Allow the
RePublish
stream option to be editable.Who Benefits From The Change(s)?
Users who want to disable RePublishing or change a destination subject.
Alternative Approaches
It should be possible to implement the same behavior by creating a new stream that uses the old stream as a source. Then once the streams are synced, you can set the desired
RePublish
option in the new stream and delete the old stream. To prevent data loss between deleting the old stream and subscribing the new stream to the old subjects, you can use subject mapping to redirect messages from the old stream to the new stream.The text was updated successfully, but these errors were encountered: