Skip to the content
Krizaka Java

Krizaka Java · open source

The Spring Boot building blocks behind every Krizaka service

Security, error format, messaging, observability — written once, tested on a real PostgreSQL and RabbitMQ. Import one BOM and a service writes only its business.

Get started See the building blocks map

Pick your building blocks

  • RFC 9457 errors, cursor pagination
  • Session tokens, roles, internal routes
  • Outbox, retry, dead-letter on RabbitMQ
  • Service tags, JSON logs, Prometheus
  • 426 Upgrade Required, N-1 contracts
  • Talk to the users service
  • Talk to the billing service
  • Real PostgreSQL and RabbitMQ, code rules

3 dependencies, one BOM: krizaka-bom 0.13.0 manages every version.

xmlpom.xml
<dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>com.krizaka</groupId>
      <artifactId>krizaka-bom</artifactId>
      <version>0.13.0</version>
      <type>pom</type>
      <scope>import</scope>
    </dependency>
  </dependencies>
</dependencyManagement>

<dependencies>
  <dependency>
    <groupId>com.krizaka</groupId>
    <artifactId>krizaka-spring-boot-starter-web</artifactId>
  </dependency>
  <dependency>
    <groupId>com.krizaka</groupId>
    <artifactId>krizaka-spring-boot-starter-observability</artifactId>
  </dependency>
  <dependency>
    <groupId>com.krizaka</groupId>
    <artifactId>krizaka-test-support</artifactId>
    <scope>test</scope>
  </dependency>
</dependencies>

The address keeps your choice: share it. The full guide: parent POM, BOM and test kit →

Why

One set of blocks, proven together

What every service used to rewrite lives in one place, with one author and one release.

  • One import, a coherent set

    The BOM names every Krizaka artifact at the release they were tested with — and never pins a third-party version you did not choose.

  • Invariants proven on the real thing

    The outbox, the dead-letter queue and idempotent consumption run against a real PostgreSQL and RabbitMQ, not a mock.

  • Capabilities, not Spring lists

    A starter is one dependency that switches a module on. A service declares what it needs, never the Spring list behind it.

Building blocks

What each service no longer writes

Six families, each a library module with its starter. Open a guide for the details.

Web & Problem Details

krizaka-spring-boot-starter-web

What it removes — RFC 9457 errors with stable codes, request ids, cursor pagination — identical everywhere.

  • Version 0.19.6

Security

krizaka-spring-boot-starter-security

What it removes — One security baseline: verified session tokens, roles, and tokens between services.

  • Version 0.19.6

Messaging

krizaka-spring-boot-starter-rabbitmq

What it removes — Events through an outbox, retry then dead-letter, and idempotent consumers.

  • Version 0.19.6

Observability

krizaka-spring-boot-starter-observability

What it removes — Service names as metric tags, JSON logs, health and Prometheus, trace sampling.

  • Version 0.19.6

App config

krizaka-spring-boot-starter-app-config

What it removes — Apps and API agree on a version: 426 Upgrade Required and N-1 contracts.

  • Version 0.19.6

Testing

krizaka-test-support

What it removes — Governance rules and one shared PostgreSQL and RabbitMQ per test run.

  • Version 0.19.6

Proof

Proven on real infrastructure

The figures are read from the Krizaka Java repositories' tests at every build.

tests across the Krizaka Java repositories
1,700+
of them start a real PostgreSQL or RabbitMQ (Testcontainers)
200+

Domain services built the same way: users, billing and notifications. See the map →

Compare

Plain Spring Boot, or Krizaka Java

Spring Boot stays the base. Krizaka Java is what you would write on top of it — once, and tested.

  • Error format

    Plain Spring Boot
    You write it. Each service picks its own shape and codes.
    Krizaka Java
    RFC 9457 Problem Details. Stable codes, the same on every service.
  • Security

    Plain Spring Boot
    Spring Security, configured service by service. The baseline drifts.
    Krizaka Java
    One baseline. Session-token verification, roles, service tokens for internal routes.
  • Messaging

    Plain Spring Boot
    The AMQP client is there. The outbox, retries and deduplication are yours.
    Krizaka Java
    Configured, not written. Outbox relay, retry then dead-letter, idempotent consumption.
  • Observability

    Plain Spring Boot
    Actuator and Micrometer are there. Tags and log format are your convention.
    Krizaka Java
    Required service tags. JSON logs, health, Prometheus, trace sampling set.
  • Your freedom

    Plain Spring Boot
    Every choice is yours. And every choice is yours to maintain.
    Krizaka Java
    Opinionated. Defaults you can override — on the Java and Spring Boot versions shown above.

Start with the BOM

From an empty pom.xml to a service with a real error format, security baseline and observability.