As per our discussion on July 19-2021, for the graceful exit of query service, we need query to be added as a topology-aware service.
This is needed for cluster-aware rebalance feature for query, wherein if a node with query service is rebalanced, we want to
1.Complete all queries in progress (instead of shutting down immediately)
2.Wait for the in-flight transactions to complete
3.Not accept any new requests