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


##########
docs/_docs/developers-guide/compute/compute.adoc:
##########
@@ -451,11 +446,11 @@ The below example executes the same job on all nodes in 
the cluster that have pa
 tab:Java[]
 [source, java]
 ----
-String executionResult = 
client.compute().execute(BroadcastJobTarget.table("Person"),
-JobDescriptor.builder(NodeNameJob.class).build(), null
-);
+JobDescriptor<String, Void> job = JobDescriptor.builder(HelloMessageJob.class)
+                    .units(new DeploymentUnit(DEPLOYMENT_UNIT_NAME, 
DEPLOYMENT_UNIT_VERSION))
+                    .build();
 
-System.out.println(executionResult);
+BroadcastJobTarget target = BroadcastJobTarget.nodes(client.cluster().nodes());

Review Comment:
   done, thanks



-- 
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