We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cc749b commit 2c3fc1bCopy full SHA for 2c3fc1b
src/content/clients/java.mdx
@@ -45,14 +45,14 @@ it's explicitly closed, and it can be used from different threads.
45
<Tabs items={['Sync', 'Async']}>
46
<Tabs.Tab>
47
```java
48
- SyncOxiaClient client = OxiaClientBuilder.create(oxia.getServiceAddress())
+ SyncOxiaClient client = OxiaClientBuilder.create("localhost:6648")
49
.namespace("my-namespace")
50
.syncClient();
51
```
52
</Tabs.Tab>
53
54
55
- AsyncOxiaClient client = OxiaClientBuilder.create(oxia.getServiceAddress())
+ AsyncOxiaClient client = OxiaClientBuilder.create("localhost:6648")
56
57
.asyncClient()
58
.get();
0 commit comments