Ketone Maniac

@ketonemaniac

180 Points

1 Followers

6 Posts

0 Answers

Joined February 5th, 2021

Java enthusiast

Will this Flux break?

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(Duration.ofSeconds(1)) .then(Mono.error(new RuntimeException("DIE!!! " + i))) ) .onErrorContinue((e, o) -> { Syste...

Ketone Maniac

1 week ago

5
Select One:
My Adobe Video Editing Journey

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 Summer and I (bravely) signed up for making a clip to thank the teachers... so here I go... I hoped it would look somewhat less amateur so I en...

Ketone Maniac

2 months ago

Select One:
Kafka Messaging with Spring 101

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 the way on different favors of messaging with Spring. In this article I would cover, in the sequence below: spring-kafka spring-cloud-stream...

Ketone Maniac

6 months ago

3
Select One:
Organising Common Code via Spring Annotations and Bean Registry

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/upstream services, persistence etc), and SCDF streams/tasks. Obviously, there are lots of similar functionalities within each of these categorie...

Ketone Maniac

7 months ago

2
Select One:
Reactor onErrorContinue VS onErrorResume

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 interpretations below. Base Function This is a simple function to multiple 5 consecutive numbers each by 2, then summing them up, with an exception thr...

Ketone Maniac

7 months ago

2
Select One:

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 enough to get me document down all these and hopefully help somebody down the road with an easy copy and paste :) My work project uses the l...

Ketone Maniac

7 months ago

Select One:

Loading More Content