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
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 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

Connection Timeout In Java HTTPClient, RestTemplate and URLConnection

Connection timeout is the time for which an HTTP client or Socket client waits, if the server doesn’t respond in that time or not found then the client closes the connection. HTTP also uses sockets internally. Connection timeout is different from the Connection Request timeout or connection read timeout. In many situations, the client doesn’t […]

Categories
Java

Best Libraries for Working with CSV in Java

Reading and writing CSV in Java can be very simple by the use of some well known and stable CSV library. One can write CSV using core java classes very easily for reading CSV can be problematic as there are many variations in CSV. CSV is one of the most common data formats for exporting […]

Categories
Article

Office Lens PDF Scanner Mobile App for Online Classes

Office Lens is free to use the Mobile app for Android and Ios devices. Which is very handy in scanning documents, whiteboards, pictures, and cards. This can be download from Microsoft Office Lens – PDF Scanner Play Store and Microsoft Office Lens|PDF Scan Apple store. Microsoft is known for its user-friendly products, Nowadays most of […]

Categories
Java

SpotBugs Static Analysis Tool For Java Developers

SpotBugs is a software tool for static analysis of Java programs, which is free to download, use,  open-source and can be used in various ways. It can be installed as Eclipse Plugin, configured with Maven build as plugin and Gradle builds as a plugin. It is very handy while being used as an Eclipse plugin […]

Categories
Java

Best Way to Keep Java Code Clean and Organized Using Eclipse

Eclipse IDE Java Editor Save Actions option should be used by all developers as it helps to keep code clean and organized. Eclipse is the most widely used IDE for Java programming as it provides a lot of features and it has the support of many free and paid plugins. Most important it is free […]

Categories
Java

Merge Two list in Java in Efficient Way

While doing development many times we need to merge two or more collections in Java. Sometimes we need simple concatenate two or more lists or sets or merge two or more lists by removing duplicates and sometimes we need to do this is sorted order. Here is one example to merge two lists, this can […]