How to configure NATS JetStream streams | Rethink Connectivity Ep 11

Поділитися
Вставка
  • Опубліковано 2 жов 2024

КОМЕНТАРІ • 24

  • @vamshiaruru5494
    @vamshiaruru5494 10 місяців тому +3

    Really looking forward to the consuner video.
    Also i think nats is limiting in the observability of consumer state. For example, in a workqueue stream if i want to know what messages have been nacked, when they are scheduled to be derived next etc, there's no way do it. Basically there's limited visibility in to consumer state. So if you could talk about that, that'd be great.

    • @SynadiaCommunications
      @SynadiaCommunications  9 місяців тому +1

      I’m actually working on a WorkQueue video right now. I’ll cover what options are available for monitoring consumer state

  • @peterlarsson4875
    @peterlarsson4875 9 місяців тому

    thanks! also looking forward to consumer video. Btw, a video about backup and restore principles would be nice.

  • @manojdesai6
    @manojdesai6 6 місяців тому

    Hey guys i am trying to add stream for my application with using json.
    {
    "name": "updates-scheduled-stream",
    "subjects": [
    "updates.scheduled.*"
    ],
    "max_msgs": 5,
    "max_bytes": -1,
    "storage": "file",
    "discard": "old",
    "rollup_enabled": true,
    "num_replicas": 1,
    "max_age": 3600000
    }
    nats str add --config ./stream-create.json
    nats: error: could not create Stream: max age needs to be >= 100ms (10052) . can somebody help me here.

  • @ovidiusbr
    @ovidiusbr 3 місяці тому

    I just found about NATS and your videos are helpful to understand the technology and get me started. I am working on a greenfield app using microservices architecture and writting an article/demo on NATS JetStream.
    I couldn't find anything on how to cover the following scenario: a stream for each microservice (for publishing) + a consumer for each microservice which aggregates messages from multiple streams based on subjects. The only possible way to maybe make it work appeared marked as legacy so I am not going to go forward with that.
    Would currently the recommended way be to use a single stream for everything + filter_subjects on consumers? I feel that this kind of kills the purpose of having multiple streams available for my scenario.

  • @deviktor
    @deviktor 2 місяці тому

    Hello I just tried to sign up to synadia cloud, but it fails can you check?

  • @BZValoche
    @BZValoche 9 місяців тому +2

    Going all in NATS/Jetstream for a kinda big company project, the more I learn about it, the more I love it. And your videos are making it even more envoyable, continue the good job!

    • @SynadiaCommunications
      @SynadiaCommunications  9 місяців тому

      Glad you like them!

    • @BZValoche
      @BZValoche 8 місяців тому

      @@SynadiaCommunications I am now playing with K/V. I guess that the answer is "no", but there is no way to access a K/V from another account, right?

    • @dixon1e
      @dixon1e 6 місяців тому

      @@BZValochewasn’t there an import export feature of some kind that was shown in the leaf nodes video? Interested in your findings anyway.

  • @malliktest9160
    @malliktest9160 10 місяців тому +1

    I really love your videos. I like your drawings too, can you tell me which tools did you use to render these drawing.

  • @mikolajwroclaw3772
    @mikolajwroclaw3772 7 місяців тому

    Hello. This is indeed a really nice training video about Stream Management. I have one question, I was not able to solve reading the nats documentations. In a Super Cluster setup ( Lets say composed of 4 clusters, each deployed on a specific PaaS), I am able to set the Stream replicas over any of those clusers. In case, the Paas where leader was hosted (Paas1) goes down , a new leader is determined and I should expect no traffic outage. Where I am more worry, is when Paas1 comes back. Will Paas1 considers, it is still the stream leader? Or will somehow be informed of the new configuration? Thanks you

  • @daviddesmarais-michaud4345
    @daviddesmarais-michaud4345 10 місяців тому +1

    I've never made a comment on youtube before as far as I know. Thank you Jeremy, this series is great.

  • @zapdelivery5169
    @zapdelivery5169 3 місяці тому

    Great videos, I have binging these lately. Good to see how nats has grown over the years. Can i suggest doing a video about implementing advanced messaging patterns such as workflow patterns like route slips and distributed transaction handling with compensations. It would be great to understand what the stream configuration will look like.

  • @jaysistar2711
    @jaysistar2711 10 місяців тому +1

    Please remember to include information about what happens with JetStream domains under semi-longterm disconnection and reconnection for file stored streams.

    • @thecodegangsta
      @thecodegangsta 10 місяців тому +1

      Not sure I'm understanding the problem you want to outline. Do you mean something like keeping mirrors or sources synced across JetStream domains with intermittent connectivity?

    • @jaysistar2711
      @jaysistar2711 10 місяців тому +1

      ​​​@@thecodegangstaYes. You can think of my problem (It isn't, but due to NDA, it's an analogy.) like a subway or train where several cars are different domains, and then there's a cluster in the cloud for a web site (another domain). The web site cluster only gets updated when the trains are at a station, but to move they must go offline. Again, this is just an analogy. Sometimes data is sent to a big data storage car, and then sometimes it's sent to the cloud cluster for the web site. Sometimes the cars are disconnected for a few minutes or hours, but the train can be between stations for hours or days.

    • @thecodegangsta
      @thecodegangsta 10 місяців тому

      @@jaysistar2711 Got it. Absolutely. I've worked with plenty of customers of ours doing just this. I'll cover this use case when I do a deep dive into Sources and Mirrors

  • @tinnyw2
    @tinnyw2 2 місяці тому

    Whoaa, is that neovim? I haven't seen a non vim tutorial use that before and this is great!

  • @durgeshchoudhary
    @durgeshchoudhary 5 місяців тому

    Can you please share your vim set up? Looks very neat and effective.