Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ADDED] Stream RePublish and some ConsumerConfig new fields
Namely for pull consumers: ability to override the replica count or storage type: ``` // Generally inherited by parent stream and other markers, now can be configured directly. Replicas int `json:"num_replicas"` // Force memory storage. MemoryStorage bool `json:"mem_storage,omitempty"` ``` For the stream, this new StreamConfig option: ``` // Allow republish of the message after being sequenced and stored. RePublish *SubjectMapping `json:"republish,omitempty"` ``` Where SubjectMapping is: ``` // SubjectMapping allows a source subject to be mapped to a destination subject for republishing. type SubjectMapping struct { Source string `json:"src,omitempty"` Destination string `json:"dest"` } ``` Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
- Loading branch information
Showing
5 changed files
with
140 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters