This is an automated email from the ASF dual-hosted git repository. colegreer pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
commit 9a24bcf4db7089f34b624f73d841fffd84e1064b Merge: 06286b23b9 a46fd77fbc Author: Cole Greer <[email protected]> AuthorDate: Fri Jan 23 10:05:58 2026 -0800 Merge branch '3.8-dev' .../Examples/BasicGremlin/BasicGremlin.cs | 16 ++++++++----- gremlin-dotnet/Examples/Connections/Connections.cs | 25 +++++++++---------- .../Examples/ModernTraversals/ModernTraversals.cs | 10 ++++++-- gremlin-dotnet/docker-compose.yml | 11 ++++++++- .../src/main/java/examples/BasicGremlin.java | 28 ++++++++++++++-------- .../src/main/java/examples/Connections.java | 20 +++++++++------- .../src/main/java/examples/ModernTraversals.java | 21 +++++++++++----- .../gremlin-dotnet/BasicGremlin/BasicGremlin.cs | 16 ++++++++----- .../gremlin-dotnet/Connections/Connections.cs | 25 +++++++++---------- .../ModernTraversals/ModernTraversals.cs | 5 +++- gremlin-examples/gremlin-java/BasicGremlin.java | 28 ++++++++++++++-------- gremlin-examples/gremlin-java/Connections.java | 20 +++++++++------- .../gremlin-java/ModernTraversals.java | 19 ++++++++++----- 13 files changed, 154 insertions(+), 90 deletions(-) diff --cc gremlin-driver/src/main/java/examples/Connections.java index 0c6eb5176b,549c8c7bb9..b6446a2caa --- a/gremlin-driver/src/main/java/examples/Connections.java +++ b/gremlin-driver/src/main/java/examples/Connections.java @@@ -74,11 -76,13 +75,11 @@@ public class Connections // Connecting and customizing configurations with a cluster // See reference/#gremlin-java-configuration for full list of configurations private static void withCluster() throws Exception { - Cluster cluster = Cluster.build("localhost"). + Cluster cluster = Cluster.build(SERVER_HOST). - channelizer(Channelizer.WebSocketChannelizer.class). - keepAliveInterval(180000). maxConnectionPoolSize(8). path("/gremlin"). - port(8182). + port(SERVER_PORT). - serializer(new GraphBinaryMessageSerializerV1()). + serializer(new GraphBinaryMessageSerializerV4()). create(); GraphTraversalSource g = traversal().withRemote(DriverRemoteConnection.using(cluster, "g")); @@@ -94,8 -98,9 +95,9 @@@ private static void withSerializer() throws Exception { IoRegistry registry = new FakeIoRegistry(); // an IoRegistry instance exposed by a specific graph provider TypeSerializerRegistry typeSerializerRegistry = TypeSerializerRegistry.build().addRegistry(registry).create(); - MessageSerializer serializer = new GraphBinaryMessageSerializerV1(typeSerializerRegistry); + MessageSerializer serializer = new GraphBinaryMessageSerializerV4(typeSerializerRegistry); - Cluster cluster = Cluster.build("localhost"). + Cluster cluster = Cluster.build(SERVER_HOST). + port(SERVER_PORT). serializer(serializer). create(); Client client = cluster.connect();
