An open API service indexing awesome lists of open source software.

https://github.com/caplin/datasource-extensions

Libraries to assist with using DataSource with Spring Boot and Reactive libraries
https://github.com/caplin/datasource-extensions

Last synced: 4 months ago
JSON representation

Libraries to assist with using DataSource with Spring Boot and Reactive libraries

Awesome Lists containing this project

README

          

# Extensions for DataSource

## Reactive

These modules provide APIs for consuming and providing data as streams implementations provided by popular libraries to
DataSource subjects and channels.

| Module | Supports |
|-----------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| datasourcex-kotlin | [Kotlin Flow](https://kotlinlang.org/docs/flow.html) and suspending functions |
| datasourcex-java-flow | [Java Flow](https://docs.oracle.com/javase/9/docs/api/java/util/concurrent/Flow.html) |
| datasourcex-reactivestreams | [Reactive Streams](https://www.reactive-streams.org) such as:
[Reactor](https://projectreactor.io/) - Flux and Mono
[RxJava](https://github.com/ReactiveX/RxJava) - Observable, Flowable, Single and Maybe |

### Usage

Add the required dependencies to your project:

```kotlin
dependencies {
implementation("com.caplin.integration.datasourcex:datasourcex-:")
}
```

Then refer to the documentation:

* [datasourcex-reactivestreams](https://caplin.github.io/DataSource-Extensions/reactive/datasourcex-reactivestreams)
* [datasourcex-kotlin](https://caplin.github.io/DataSource-Extensions/reactive/datasourcex-kotlin)
* [datasourcex-java-flow](https://caplin.github.io/DataSource-Extensions/reactive/datasourcex-java-flow)

## Spring

This module provides a starter for integrating Caplin DataSource with your
[Spring Boot 3.5](https://spring.io/projects/spring-boot) application, and integration with
[Spring Messaging](https://docs.spring.io/spring-boot/docs/current/reference/html/messaging.html)
for publishing data from annotated functions.

### Usage

Add the following dependency to your project:

```kotlin
dependencies {
implementation("com.caplin.integration.datasourcex:spring-boot-starter-datasource:")
}
```

Then refer to
the [documentation](https://caplin.github.io/DataSource-Extensions/spring-boot-starter-datasource),
[hands-on tutorial](./spring/docs/GUIDE.md) and [examples](./examples).