Articles
- gRPC Client in WebFlux and Testing StrategyOct 2026This article adds a gRPC client to movies-info-service, which remains WebFlux. The gRPC stream is wrapped into a Flux, combined with movie data via zipWith, and StatusRuntimeException is mapped to HTTP status codes. Everything is tested against a fake gRPC server via in-process transport, and the tests still pass.
- StreamObserver to Reactor Bridge: Unary, Streaming, Backpressure, and ErrorsOct 2026This article consolidates the StreamObserver to Reactor bridge into a single helper, GrpcReactiveBridge, for unary and server streaming RPCs. The streaming helper follows isReady() as backpressure and disposes the pipeline when the client cancels, then domain errors are mapped to gRPC Status via GrpcExceptionHandler and proven with tests.
- gRPC Server with R2DBC PostgresOct 2026This article adds a gRPC server to movies-review-service from a .proto contract, stores reviews in PostgreSQL via R2DBC, then proves it with tests that call gRPC stubs against Postgres in Testcontainers. Review ids are generated by Postgres, the review list is filtered per movie, and previous tests still pass because WebFlux is kept alongside the gRPC server.