Aleksandr Chesnokov created IGNITE-28799:
--------------------------------------------

             Summary: Fix compilation of code snipptes
                 Key: IGNITE-28799
                 URL: https://issues.apache.org/jira/browse/IGNITE-28799
             Project: Ignite
          Issue Type: Task
          Components: documentation
            Reporter: Aleksandr Chesnokov
            Assignee: Aleksandr Chesnokov
             Fix For: 2.19


Code snippet for session context is invalid

 
{noformat}
try (Ignite ign = Ignition.start(ignCfg)) {

    Map<String, String> appAttrs = F.asMap("SESSION_ID", "1234");

    Ignite app = Ignite.withApplicationAttributes(appAttrs);

    //Your code here...
}{noformat}
 # F class is for private usage and is not part of public api
 # We do not have static method Ignite to create node with attributes

 



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

Reply via email to