Vyacheslav Koptilin created IGNITE-17884:
--------------------------------------------

             Summary: Ignite interface should expose TopologyService
                 Key: IGNITE-17884
                 URL: https://issues.apache.org/jira/browse/IGNITE-17884
             Project: Ignite
          Issue Type: Bug
            Reporter: Vyacheslav Koptilin
             Fix For: 3.0.0-alpha6


There is no way to get an instanace of TopologyService via Ignite interface. 

The following methods just duplicate a part of TopologyService and looks like a 
temporary solution:
{code:java}
/**
 * Gets the cluster nodes.
 * NOTE: Temporary API to enable Compute until we have proper Cluster API.
 *
 * @return Collection of cluster nodes.
 */
Collection<ClusterNode> clusterNodes();

/**
 * Gets the cluster nodes.
 * NOTE: Temporary API to enable Compute until we have proper Cluster API.
 *
 * @return Collection of cluster nodes.
 */
CompletableFuture<Collection<ClusterNode>> clusterNodesAsync();
 {code}
Need just to expose _TopologeService_ instead of these methods.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to