Open in app

Sign In

Write

Sign In

PA
PA

149 Followers

Home

About

6 days ago

Java Multithreading Simplifed

Serial Threaded vs Multi-threaded - — Multi-threaded applications normally do parallel processing of tasks where as single threaded applications do one task at a time i.e. If there are two tasks such as T1, T2 they are executed in serial order i.e T1 after T2 or T2 after T1, where as multi threading enables us to…

Multithreading

25 min read

Java Multithreading Simplifed
Java Multithreading Simplifed
Multithreading

25 min read


Jan 8

Apache Kafka — DSL, aggregation, stateful

This example demonstrates, using the high-level KStream DSL, how to implement the WordCount program that computes a simple word occurrence histogram from an input text. This example uses lambda expressions and thus works with Java 8+ only. In this example, the input stream reads from a topic named “streams-plaintext-input”, where…

Kafka Streams

2 min read

Kafka Streams

2 min read


Jan 2

Server Sent Event

In this tutorial, I would demo Spring WebFlux Streaming Response (aka Server Sent Events) — a mechanism for pushing notifications or messages to the browsers from the back-end application in real time. These messages can be consumed by other services. Spring WebFlux Streaming: As old traditional architecture browsers or other service have to…

Spring Webflux

3 min read

Server Sent Event
Server Sent Event
Spring Webflux

3 min read


Dec 12, 2022

Spring Boot Redis Cache using R2DBC

In this example, we’ll learn how to make the use of Redis cache when you’ve a requirement where 90% operations are HTTP GET (Read) and concurrency is high (may be 300 tps or more), then using Spring WebFlux Redis with R2DBC would be good choice. Say, user(s) is/are making (concurrent)…

Redis

3 min read

Spring Boot Redis Cache using R2DBC
Spring Boot Redis Cache using R2DBC
Redis

3 min read


Aug 29, 2022

Spring Cloud Stream — Demo2

In this example, will give an overview about Spring Cloud Stream, followed by one example on how simple it is to write Kafka Processor using Spring Cloud Stream. We’re using functional programming way to create topic (do not try in prod) and all spring cloud stream auto-configuration features will work. …

Spring Cloud Stream

2 min read

Spring Cloud Stream — Demo2
Spring Cloud Stream — Demo2
Spring Cloud Stream

2 min read


Aug 29, 2022

Spring Cloud Stream — Demo1

In this example, will give an overview about Spring Cloud Stream, followed by one example on how simple it is to write Kafka Processor using Spring Cloud Stream. We’re using functional programming way to create topic (do not try in prod) and all spring cloud stream auto-configuration features will work. …

Spring Cloud Stream

2 min read

Spring Cloud Stream — Demo1
Spring Cloud Stream — Demo1
Spring Cloud Stream

2 min read


Aug 22, 2022

Confluent Kafka Rest

In this tutorial, I will show you how to produce and consume messages to and from Confluent Kafka Rest. I can directly post messages using Postman or curl command. Please go through link and this will give you complete idea around Use Cases and Architectures for HTTP and REST APIs…

Kafka Rest

3 min read

Confluent Kafka Rest
Confluent Kafka Rest
Kafka Rest

3 min read


Aug 22, 2022

Event Driven Architectures for Spring Developers

In this example, I will make the use of maxwell to raise an event when some records created/updated/delete and raised events will go to kafka and interested consumer will consume that event. Maxwell's Daemon This is Maxwell's daemon, an application that reads MySQL binlogs and writes row updates as JSON to Kafka, Kinesis, or…maxwells-daemon.io This is Maxwell’s daemon, an application that reads MySQL binlogs and writes row updates as JSON to Kafka…

Kafka

2 min read

Event Driven Architectures for Spring Developers
Event Driven Architectures for Spring Developers
Kafka

2 min read


Aug 3, 2022

Spring Cloud Function

Introduction Spring Cloud Function is a project with the following high-level goals: Promote the implementation of business logic via functions. Decouple the development lifecycle of business logic from any specific runtime target so that the same code can run as a web endpoint, a stream processor, or a task. Support a…

Spring Cloud Function

2 min read

Spring Cloud Function

2 min read


Jul 10, 2022

Spring Boot Microservices

I’ve created the complete microservices tutorials that will help newbie to learn and understand the microservices stack Below example covers — Spring Cloud Config Server Spring Cloud APIGW Resilience4J — For circuit breaker Sleuth and Zipkin — For distributed tracing Database per service Keycloak — for Authentication and authorization Kafka…

Spring Boot Microservice

2 min read

Spring Boot Microservices
Spring Boot Microservices
Spring Boot Microservice

2 min read

PA

PA

149 Followers

Java Developer and enthusiast

Following
  • Timotius Pamungkas

    Timotius Pamungkas

  • Dick Dowdell

    Dick Dowdell

  • Saif

    Saif

  • Vinesh

    Vinesh

  • Kousik Nath

    Kousik Nath

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech