Connector Graceful Shutdown
This applies to: Visual Data Discovery
Symphony supports the graceful shutdown of connectors. When a connector is shut down, it gracefully completes queries that are in-flight and notifies clients that it is terminating.
Three connector properties in each connector property file support graceful shutdown:
connector.graceful.shutdown.enabled
indicates whether or not graceful shutdown processing should occur. Valid values aretrue
(perform graceful shutdown processing) orfalse
(do not perform graceful shutdown processing). The default istrue
.connector.graceful.shutdown.event.propagation.timeout-sec
specifies how long (in seconds) the connector will wait to allow clients to receive the information that it is out of service. The default is 35 seconds.connector.graceful.shutdown.force.kill.timeout-sec
specifies the maximum number of seconds that the connector will wait for the number of its active tasks to reach zero. The default is 30 seconds. When this time has elapsed, the connector will stop.