Relative Content

Tag Archive for javaspring-webfluxproject-reactor

Why is file content downloaded via Flux appearing as Base64 encoded?

I’m working on a Spring Boot application where I’m trying to implement a file download feature using reactive programming. I have a little experience in this area, so please bear with me. I am able to download the file, but its content is encoded in base64 like this:

When to use ExecutorService-based vs. VirtualThread-based boundedElastic in Reactor?

I’m currently working on a project where I need to handle blocking I/O operations efficiently without tying up essential system resources. I’m using Project Reactor and specifically the Schedulers.boundedElastic() scheduler. I understand that starting from version 3.6.0, boundedElastic() offers two different implementations based on the setup: