Categories
Java

Kafka Spring Boot Example of Producer and Consumer

Apache Kafka is open-source and widely used software for event stream platform. It is mainly used for service integration, data integration, creating data pipelines and real-time data analytics, and many. You can get more details from here Apache Kafka. For development, it has libs for almost every development platform. In this post, I am going […]

Categories
Article

Apache Kafka Installation on Ubuntu 20

Apache Kafka is an event streaming platform that is very scalable and reliable. Kafka is developed using Java, so for running Kafka you need java runtime/ JDK on your PC. In this post, I will tell you to step by step guide to install and run Kafka for learning and development purposes on Ubuntu 20. […]

Categories
Article

Install and Configure Postgres on Ubuntu 20, VirtualBox, and Windows

In this post, I will write complete steps to install and configure Postgres RDS on Ubuntu 20 running on a VirtualBox over Windows 10 host. Installing Postgres on Ubuntu 20 For easiness connect Ubuntu instance using Putty windows client. Now you can easily copy and paste commons on the putty console. Steps to install Postgres […]

Categories
How To

Telnet Client Installation on Windows 10

Telnet client on windows is one utility that enabled telnet protocol. This utility has been used to check TCP bidirectional connections between TCP servers. We generally use it to test listening port is reachable or not from one client. By default, it is not installed on Windows 10. You can install this very easily by […]

Categories
Article

Change Default GIT Author and Committer in Eclipse GIT Plugin

While working in Eclipse IDE and GIT plug-in for Eclipse, Author and Commiter filed is set by default to PC name and current user as displayed in pic given below. But in most cases, we want to do commits with our Git user and email id, You can set author and committer while committing. But […]

Categories
Databases

Create ER Diagram For Existing MySQL Database

MySQL DB is the most widely used database in the world for small scale to large scale application. As MySQL is currently owned by Oracle and sells enterprise edition of MySQL and there is also one community edition maintained. Now there are many databases based on MySQL core. Apart from the DB engine, it provides […]

Categories
Article

Docker Basic Interview Questions and Answers

Here is a list of some very basic Docker interview questions. Answers are written on the basis of Docker Guide. 1- What is Docker? Ans: Docker is an open-source containerization platform to develop, package, shipping, and running applications. It enables the separation of applications from infrastructure. Using docker we can package applications with all underlying […]

Categories
Article

Docker Container Memory limits

By default there is no contraint and memory limit for docket container, it can use as much memory and cpu as much Host OS allow to it. But this can be controlled by docket container run time settings/configurations flags. Many of these features are dependant upon host OS kernel capabilities. Suppose some features are disabled […]

Categories
Java

Spring Boot Upload File to S3 Asynchronously

In Spring Boot uploading files to S3 can be implemented using the REST API POST/PUT method very easily. This can be implemented using Spring WebMVC and was s3 SDK. I this example I used the following dependencies using Gradle. Gradle dependencies Spring boot config for async upload file to AWS S3 We need to define […]

Categories
Java

Extract and Strip Text From PDF in Java Example

Extracting text from a pdf file using Java is quite easy using the Apache PDFBox Java library. This library provides PDFTextStripper class which is used to strip text from PDF files. This library can be included using Gradle, maven, and other builds systems from the Maven repository. Gradle dependency: Maven dependency: Example to Extract text […]