Skip to content

Commit

Permalink
docs: add note for java client CP pom (#5894)
Browse files Browse the repository at this point in the history
  • Loading branch information
vcrfxia authored Jul 29, 2020
1 parent ed7fb76 commit 93dee48
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/developer-guide/ksqldb-clients/java-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,12 @@ Start by creating a `pom.xml` for your Java application:
</project>
```

!!! note
If you’re using ksqlDB for Confluent Platform (CP), use the CP-specific modules
from [http://packages.confluent.io/maven/](http://packages.confluent.io/maven/)
by replacing the repositories in the example POM above with a repository with this
URL instead. Also update `ksqldb.version` to be a CP version, such as `6.0.0`, instead.

Create your example app at `src/main/java/my/ksqldb/app/ExampleApp.java`:

```java
Expand All @@ -124,6 +130,7 @@ public class ExampleApp {

// Send requests with the client by following the other examples

// Terminate any open connections and close the client
client.close();
}
}
Expand Down

0 comments on commit 93dee48

Please sign in to comment.