Jetstream instances don't automatically reconnect? #677
              
                Unanswered
              
          
                  
                    
                      jkwatson-verta
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 1 comment 1 reply
-
| Are you sure, this is a pretty basic feature? Might have to do with docker and networking. If you can demonstrate it outside of docker please let me know. | 
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
We're implementing our first java jetstream publishers and consumers, and have discovered that our
JetStreaminstances don't automatically reconnect when the server becomes temporarily unavailable. Note that this isn't the behavior of a NATSConnection..it does reconnect automatically, so I was expecting the resultingJetStreamto do the same.Is this expected behavior?
I'm testing it by having a local NATS server running in docker, setting up a couple of java processes to talk to it, then rapidly killing the server and bringing it back up (~1s of downtime altogether).
Beta Was this translation helpful? Give feedback.
All reactions