Hi, @Barry Oglesby<mailto:bogle...@pivotal.io>, thanks for the clarification.
If we don't send any event, the connection will be closed after some time as connection is inactive. Is it possible to somehow monitor from the app if the replication is established to get information if there is a some problem with network or it is just closed due to inactivity? Can we monitor the replication on some other way than looking "isConnected" state on JMX? BR, Mario ________________________________ Å alje: Barry Oglesby <bogle...@pivotal.io> Poslano: 14. studenog 2019. 18:29 Prima: dev@geode.apache.org <dev@geode.apache.org> Predmet: Re: Restart gateway-receiver Mario, Thats the current behavior. When the sender is initially started, it attempts to connect to the receiver. If it does not connect, it won't retry until there is a batch of events to send. Look for callers of GatewaySenderEventRemoteDispatcher.initializeConnection to see the behavior. It could be changed to have a task to retry lost connections, but generally there are events in the queue, so the connection is re-established pretty quickly by the event processor thread. Thanks, Barry Oglesby On Wed, Nov 13, 2019 at 4:55 AM Mario Kevo <mario.k...@est.tech> wrote: > Hi geode dev, > > After creating gateways senders and receivers between two geode clusters > replications is established. After restart gateway receiver, sender will > not connect to it until we send some entry from sender to receiver. > Is this a normal behavior or a bug? > Should geode have some mechanism for checking if connection is established > no matter if entry is sent or not? > > BR, > Mario >