Discuss basic kafka consumer application application concepts and how to set one up using spring-kafka
When you use BufferedWriter to write, the data gets written to an internal buffer.
Only once the internal buffer is full OR if there is a need to flush, this data gets written to the target character stream/writer.
This buffering approach reduces the (costly) interactions with writing to the network or the disk thereby improving the performance compared to using non buffered writers.
In this article, we will discuss the need for benchmarking and illustrate the concepts and usage of Java Microbenchmark Harness (JMH) with examples.
What is recursion in Java, two types of recursion with examples and how to solve some common problems with recursion.
There are several ways to reverse a String in Java. Let’s look at seven ways with code examples including using recursion, Deque, char array, StringBuilder, etc.
Why is thread safety important in Java and three options with examples to implement thread safety in Java. Implement thread safety using Locks, proxies.
1. Overview You may have heard the terms *data type* and *data structure* and wondered what they mean and what …
It is a daily job for programmers to convert some data type to another. In this article we will explore approaches to convert a given Java String object to an integer value (of primitive type int)
In this article we will introduce Java through the classic Hello World application. 1. The Hello World Application Let’s write …