Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/nats-io/nats.go. Pull mirroring updated .
  1. May 26, 2022
  2. May 25, 2022
    • Ivan Kozlovic's avatar
      Merge pull request #980 from nats-io/js_stream_republish_and_cons_config_updates · 4e4f3185
      Ivan Kozlovic authored
      [ADDED] Stream RePublish and some ConsumerConfig new fields
      4e4f3185
    • Ivan Kozlovic's avatar
      [ADDED] Stream RePublish and some ConsumerConfig new fields · 9aaf72b0
      Ivan Kozlovic authored
      
      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: default avatarIvan Kozlovic <ivan@synadia.com>
      9aaf72b0
  3. May 10, 2022
  4. May 06, 2022
  5. May 05, 2022
    • Phil Pennock's avatar
      spelling fix & dictionary updates · 9b8bfefb
      Phil Pennock authored
      Fix a spelling mistake which made it through to go docs.
      
      gospel 1.13.0 is now out, and it added features which let us remove some old
      words (eg, pluralizations of types we define), but it also errored out on
      seeing a comment in .words which used to be acceptable.
      So remove comments from .words and introduce .words.readme instead.
      
      We lose the section-introducer comments.  Which is a shame.
      9b8bfefb
  6. May 04, 2022
  7. May 03, 2022
  8. Apr 16, 2022
  9. Apr 15, 2022
  10. Apr 14, 2022
  11. Apr 12, 2022
  12. Apr 08, 2022
  13. Apr 07, 2022
  14. Apr 05, 2022
  15. Apr 04, 2022
  16. Mar 29, 2022
Loading