Installation
Core dependency (standalone)
To use Pipelite without Spring Boot, add the core module to your pom.xml:
<dependency>
<groupId>io.pipelite</groupId>
<artifactId>pipelite-core</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
The pipelite-core module transitively includes pipelite-common, pipelite-spi, pipelite-dsl, pipelite-expression, and the default-channel-adapters module.
Spring Boot integration
For Spring Boot applications, use the dedicated starter instead:
<dependency>
<groupId>io.pipelite</groupId>
<artifactId>pipelite-spring-starter</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
The starter adds autoconfiguration and automatic lifecycle management for the PipeliteContext.
Optional channel adapters
The HTTP and Kafka adapters must be added explicitly:
<!-- HTTP (Undertow) -->
<dependency>
<groupId>io.pipelite</groupId>
<artifactId>http-channel-adapter</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<!-- Apache Kafka -->
<dependency>
<groupId>io.pipelite</groupId>
<artifactId>kafka-channel-adapter</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
The time, slf4j, and link adapters are included in default-channel-adapters, already present as a transitive dependency of pipelite-core.
Test support
To write BDD-style unit and integration tests for processors and flows, add the test kit in test scope:
<dependency>
<groupId>io.pipelite</groupId>
<artifactId>pipelite-test-support</artifactId>
<version>1.0.0-SNAPSHOT</version>
<scope>test</scope>
</dependency>
See Testing for the full guide.