You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In java client, user can use a session manager to specify SPACE when getting a session, so why go-client doesn't support that feature, since it's maybe a common requirement of client.
SessionsManagerConfigconfig = newSessionsManagerConfig();
NebulaPoolConfigpoolConfig = newNebulaPoolConfig();
poolConfig.setMaxConnSize(4);
config.setAddresses(Collections.singletonList(
newHostAddress("127.0.0.1", 9670)))
.setUserName("root")
.setPassword("nebula")
.setSpaceName("space")
.setPoolConfig(poolConfig);
SessionsManagersessionsManager = newSessionsManager(config);
// Gets the session of the specified spaceSessionWrappersession = sessionsManager.getSessionWrapper();
ResultSetresultSet = session.execute("......");
The text was updated successfully, but these errors were encountered:
In java client, user can use a session manager to specify SPACE when getting a session, so why go-client doesn't support that feature, since it's maybe a common requirement of client.
The text was updated successfully, but these errors were encountered: