-
Notifications
You must be signed in to change notification settings - Fork 8
Import the client with Maven
Fernando Benjamin edited this page Dec 15, 2016
·
13 revisions
Include this in your Model/API project, if you want to separate your Event Model from the client:
<dependency>
<groupId>org.zalando.nakadi.client</groupId>
<artifactId>nakadi-klients-api</artifactId>
<version> *version* </version>
</dependency>
Include this in your service in order to communicate with Nakadi:
<dependency>
<groupId>org.zalando.nakadi.client</groupId>
<artifactId>nakadi-klients</artifactId>
<version> *version* </version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.7.3</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.7.3</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>2.7.3</version>
</dependency>
<!-- We use SLF4J Log Abstraction. -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.21</version>
</dependency>
<!-- In our case we use logback. -->
<!-- But you can select another SLF4J library. -->
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.1.7</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>1.1.7</version>
</dependency>
Choose the latest version from here.
- How to use it in your project?
- How to subscribe to Events?
- How to publish an event?
- How to use it in your project?
- How to subscribe to Events?
- How to publish an event?