Ketone Maniac

@ketonemaniac

369 Points 4 Followers

12 Posts

0 Answers

My discoveries in Java, Javascript and beyond

Ketone Maniac · 1 year ago

Spring Web Security Reactive vs Non-Reactive

https://docs.spring.io/spring-security/reference/servlet/architecture.html Security Architecture Common Components Authentication SecurityContext non-Common Components non-Reactive...

Ketone Maniac · 1 year ago

CompletableFuture vs Reactor Mono: Source Evaluation and Caching

In a multithreaded application, there are different types of cases which you would like to control: when an async block is evaluated whether to memoize (cache) the result of an async block,...

Ketone Maniac · 2 years ago

Doing Spring Security's CSRF tokens the right way with React

Let's admit it: Many of us who first included/upgraded Spring Security to 4.x+ were shocked when all of a sudden even our simplest login page starts giving 302s and bouncing back like this q...

Ketone Maniac · 2 years ago

Spring Cloud Stream - Functional and Reactive with Multiple outputs

In a nutshell, the last part of this blog shows a fancy way to split an input Spring Cloud stream into different output streams using reactive functions like the following (taken from the of...

Ketone Maniac · 2 years ago

What is that Error Object from Spring Boot REST API?

For those working with Spring Boot REST API, there should be already countless occasions that you have encountered errors like this: { "timestamp": "2022-01-19T14:36:29.443+...
3

Ketone Maniac · 2 years ago

How I Passed the GCP Cloud Associate Engineer Exam

Background I have been hosting an application for a friend in Google Cloud Platform for years, and yes I admit the original architecture and build process are lame -- I just packaged my Java...

Ketone Maniac · 3 years ago

Will this Flux break?

Let me start with a question: Will this Flux break? public static void main(String[] args) { Flux.interval(Duration.ofMillis(100)) .concatMap(i -> Mono.just(i) .delayElement(Du...
7

Ketone Maniac · 3 years ago

My Adobe Video Editing Journey

I do not make videos often, and when I do it's at most a few simple video strips joined together which I make with TikTok's video editor. Well my son is graduating from Kindergarten this Sum...

Ketone Maniac · 3 years ago

Kafka Messaging with Spring 101

My first serious application using Kafka is Spring Cloud Functions with Webflux. While exploring its (lack of) documentation and related tutorials, I turned out finding lots of stuff along t...
3

Ketone Maniac · 3 years ago

Organising Common Code via Spring Annotations and Bean Registry

Motivation The project that I work on is a vast net of 40+ microservices, mainly divided into Apps (those with UI code) Services (all the heavyweight logic and interfacing downstream/upstre...
2

Ketone Maniac · 3 years ago

Reactor onErrorContinue VS onErrorResume

This seems one of the hot searches for Reactor, at least when I type onErrorContinue in Google, onErrorResume would pop up beside it. Let me paste my testing code with some of my interpretat...
3

Ketone Maniac · 3 years ago

Spring Webflux Redirects

Aha, my first blog post. As a guy who missed the early days of Spring, it's sometimes confusing to see how many different ways the same thing could be done. Anyway I think I've experimented...

Loading More Content