Skip to content
This repository was archived by the owner on Nov 22, 2020. It is now read-only.

Commit 4c8216d

Browse files
committed
Update usage
Signed-off-by: wslulciuc <[email protected]>
1 parent 92448d9 commit 4c8216d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,21 +34,22 @@ or Gradle:
3434
```groovy
3535
implementation 'io.github.marquezproject:marquez-java:0.4.1'
3636
```
37+
3738
## Usage
3839

3940
```java
4041
MarquezClient client = MarquezClient().builder()
4142
.baseUrl("http://localhost:5000/api/v1")
4243
.build()
43-
44+
4445
// Metadata
4546
NamespaceMeta meta = NamespaceMeta().builder()
46-
.ownerName("example-owner")
47-
.description("example description")
47+
.ownerName("me")
48+
.description("My first namespace!")
4849
.build()
4950

5051
// Create namespace
51-
Namespace namespace = client.createNamespace("example-namespace", meta);
52+
Namespace namespace = client.createNamespace("my-namespace", meta);
5253
```
5354

5455
## Contributing

0 commit comments

Comments
 (0)