jinxxxoid commented on code in PR #6541:
URL: https://github.com/apache/ignite-3/pull/6541#discussion_r2321723437


##########
docs/_docs/developers-guide/compute/compute.adoc:
##########
@@ -246,24 +247,18 @@ tab:Java[]
 ----
 try (IgniteClient client = IgniteClient.builder()
         .addresses("127.0.0.1:10800")
-        .build()
-) {
+        .build()) {
 
     System.out.println("\nConfiguring compute job...");
 
+    JobDescriptor<Integer, Void> job = 
JobDescriptor.builder(PrintAccountInfoJob.class)
+                    .units(new DeploymentUnit(DEPLOYMENT_UNIT_NAME, 
DEPLOYMENT_UNIT_VERSION))
+                    .build();
 
-    JobDescriptor<String, Void> job = 
JobDescriptor.builder(HelloMessageJob.class)
-            .units(new DeploymentUnit(DEPLOYMENT_UNIT_NAME, 
DEPLOYMENT_UNIT_VERSION))
-            .build();
-
-    BroadcastJobTarget target = 
BroadcastJobTarget.nodes(client.clusterNodes());
-
+    int accountNumber = ThreadLocalRandom.current().nextInt(ACCOUNTS_COUNT);

Review Comment:
   will be done [here](https://issues.apache.org/jira/browse/IGNITE-26390)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to