Skip to content

Commit

Permalink
Add Javadoc in README (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
Loïc GREFFIER authored Sep 29, 2023
1 parent 9292e11 commit 51ece4f
Showing 1 changed file with 26 additions and 22 deletions.
48 changes: 26 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<h1 align="center"> Kstreamplify </h1>

<h1> Kstreamplify </h1>
[![GitHub Build](https://img.shields.io/github/actions/workflow/status/michelin/kstreamplify/on_push_main.yml?branch=main&logo=github&style=for-the-badge)](https://img.shields.io/github/actions/workflow/status/michelin/kstreamplify/on_push_main.yml)
[![GitHub Stars](https://img.shields.io/github/stars/michelin/kstreamplify?logo=github&style=for-the-badge)](https://github.com/michelin/kstreamplify)
[![GitHub Watch](https://img.shields.io/github/watchers/michelin/kstreamplify?logo=github&style=for-the-badge)](https://github.com/michelin/kstreamplify)
Expand All @@ -12,14 +12,15 @@ Are you looking to enhance your development experience and accelerate the implem

With Kstreamplify, you can declare your KafkaStreams class and define your topology with minimal effort. Here's all you need to do:

<p align="center">
<img src=".readme/gif/topology.gif" />
</p>
<img src=".readme/gif/topology.gif" />

## Table of Contents

* [Features](#features)
* [Dependencies](#dependencies)
* [Java](#java)
* [Spring Boot](#spring-boot)
* [Testing](#testing)
* [Getting Started](#getting-started)
* [Properties Injection](#properties-injection)
* [Avro Serializer and Deserializer](#avro-serializer-and-deserializer)
Expand Down Expand Up @@ -49,50 +50,53 @@ With Kstreamplify, you can declare your KafkaStreams class and define your topol

## Dependencies

Kstreamplify provides three dependencies.
Kstreamplify offers three dependencies, all compatible with Java 17.

### Java

These dependencies are compatible with Java Standard Edition (SE).
[![javadoc](https://javadoc.io/badge2/com.michelin/kstreamplify-core/javadoc.svg?style=for-the-badge)](https://javadoc.io/doc/com.michelin/kstreamplify-core)

To include the core Kstreamplify library in your project, add the following dependency:

```xml
<dependency>
<groupId>com.michelin</groupId>
<artifactId>kstreamplify-core</artifactId>
<version>${kstreamplify.version}</version>
</dependency>
```

### Spring Boot

[![javadoc](https://javadoc.io/badge2/com.michelin/kstreamplify-spring-boot/javadoc.svg?style=for-the-badge&)](https://javadoc.io/doc/com.michelin/kstreamplify-spring-boot)

If you're using Spring Boot, you can integrate Kstreamplify with your Spring Boot application by adding the following dependency:

```xml
<dependency>
<groupId>com.michelin</groupId>
<artifactId>kstreamplify-core-test</artifactId>
<artifactId>kstreamplify-spring-boot</artifactId>
<version>${kstreamplify.version}</version>
<scope>test</scope>
</dependency>
```

The dependency is compatible with Spring Boot 3.

### Testing

### Spring Boot
[![javadoc](https://javadoc.io/badge2/com.michelin/kstreamplify-core-test/javadoc.svg?style=for-the-badge&)](https://javadoc.io/doc/com.michelin/kstreamplify-core-test)

If you are using Spring Boot, you can use the following dependency to integrate Kstreamplify with your Spring Boot application:
For both Java and Spring Boot dependencies, a testing dependency is available to facilitate testing:

```xml
<dependency>
<groupId>com.michelin</groupId>
<artifactId>kstreamplify-spring-boot</artifactId>
<artifactId>kstreamplify-core-test</artifactId>
<version>${kstreamplify.version}</version>
</dependency>

<dependency>
<groupId>com.michelin</groupId>
<artifactId>kstreamplify-core-test</artifactId>
<version>${kstreamplify.version}</version>
<scope>test</scope>
<scope>test</scope>
</dependency>
```

The dependency is compatible with Spring Boot 3.


## Getting Started

To begin using Kstreamplify, you simply need to set up a `KafkaStreamsStarter` bean within you Spring Boot context, overriding the `topology` method.
Expand Down

0 comments on commit 51ece4f

Please sign in to comment.