From 51ece4fee8ed0ccbce9b2dbf811d6d7f1f0a02f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20GREFFIER?= Date: Fri, 29 Sep 2023 16:01:25 +0200 Subject: [PATCH] Add Javadoc in README (#105) --- README.md | 48 ++++++++++++++++++++++++++---------------------- 1 file changed, 26 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index 5dffc986..2d90b247 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -

Kstreamplify

- +

Kstreamplify

+ [![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) @@ -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: -

- -

+ ## 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) @@ -49,11 +50,13 @@ 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 @@ -61,38 +64,39 @@ These dependencies are compatible with Java Standard Edition (SE). kstreamplify-core ${kstreamplify.version} +``` + +### 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 com.michelin - kstreamplify-core-test + kstreamplify-spring-boot ${kstreamplify.version} - test ``` +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 com.michelin - kstreamplify-spring-boot + kstreamplify-core-test ${kstreamplify.version} - - - - com.michelin - kstreamplify-core-test - ${kstreamplify.version} - test + test ``` -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.