How to Install Apache Flink On Mac OS (2)

How to Install Apache Flink On Ubuntu

Hey, Tea Lovers! In this post, we will be talking about how to install Apache Flink on Ubuntu. It will be a very quick guide We will be installing the latest version of Apache Flink 1.12.1 on Ubuntu 20.04, though it applies to all the versions and possibly any newer one too. For the Installation of Apache Flink on Mac OS check out the post " How to Install Apache Flink On Mac OS". ...

March 14, 2021 路 4 min 路 Imran Shaikh
How to Install Apache Flink On Mac OS (1)

How to Install Apache Flink On Mac OS

Hey, Tea Lovers! In this post, we will be talking about how to install Apache Flink on Mac OS. It will be a very quick guide We will be installing the latest version of Apache Flink 1.12.1, though it applies to all the versions and possibly any newer one too. We have other posts on Flink Installation: Windows: How to Install Apache Flink On Local Windows Ubuntu: How to Install Apache Flink On Ubuntu ...

March 9, 2021 路 6 min 路 Imran Shaikh
How to Install Apache Flink On Local Windows

How to Install Apache Flink On Local Windows

Hey, Tea Lovers! In this post, we will be talking about how to install Apache Flink on the local Windows machine. It will be a very quick guide We will be installing the latest version of Apache Flink 1.12.1, though it applies to all the versions and possibly any newer one too. For other OS installations, I have written the following posts. For Mac OS refer to How to Install Apache Flink On Mac OS ...

March 6, 2021 路 4 min 路 Imran Shaikh
How to Install Latest Java and Set JAVA_HOME on Ubuntu

How to Install Latest Java and Set JAVA_HOME on Ubuntu

Hey, Tea lovers! In this post, we will have a look at how we can easily install the latest Java or JDK on the Ubuntu system. It will be a very quick and small post. Before You Start I will be installing Open JDK, and I will show the installation for JDK 8, JDK 11, and JDK 14 on Ubuntu. For the Windows user, I have already written a post on " Install Latest or Any Java Version in 3 Simple Steps: Windows". ...

March 1, 2021 路 4 min 路 Imran Shaikh
How to Select Specific Folders or Files As Input in Flink

How to Select Specific Folders or Files As Input in Flink

Hey, tea lovers! Today I will show you how to specifically select the desired folders or files in Flink Batch Job programmatically. We will discuss when given a root path you can decide which file or folder to read in Flink Batch Job. And why suddenly do I pick up this topic you say? Well, I was working on such a task myself where I needed to read the S3 files which are under folders with dates. Those date folders are in a rolling fashion like , 2021_01_13_1, 2021_01_13_2, 2021_01_13_3 and so on. And in these folders, there were multiple files, so based on the given date I needed to read all those files which are in the given date folder (the folder name should contain the date obviously). ...

February 20, 2021 路 7 min 路 Imran Shaikh
How to Use partitioningBy Collector in Java Stream API

How to Use partitioningBy Collector in Java Stream API

Hey, tea lovers! Today I will be talking about the partitioningBy Collector method of Stream API. I will be focusing on what is partitioningBy by method, where, and how to use it with different examples. I have already discussed How to use groupingBy Collector in Java Streams. Both partitioningBy and groupingBy are the java.util.stream.Collectors. partitioningBy is a terminal operation of the Stream API pipeline. ...

January 22, 2021 路 5 min 路 Imran Shaikh
Why Developers Love Linux and Its Distributions

Why Developers Love Linux and Its Distributions

Hey, Tea Lovers! Today we will talk about Why Developers Love Linux. It鈥檚 a Kernel of Operating Systems that shapes our 21st-century technologies. This post is not about how Linux work or the theory behind it. Instead, I will be focusing on the benefits of using Linux as a Developer. I will talk about how and why developers love Linux and also why Linux should be your first choice of yours for development. ...

January 10, 2021 路 7 min 路 Mahesh More
How to Create a Multi-Database Pool in HikariCP

How to create a Multi-Database Pool in HikariCP

Hey, Tea lovers! Today we will go over a hack/way to create a multi-database pool in HikariCP. It is a continuation of the post " JDBC Connection Pooling Explained with HikariCP", where we talked about connection pooling and how we can create it using hikariCP. This post is not an explanation post, but rather shows one of the ways I used to create a common Class to access different connection pools of various databases. It is my solution from experience and not a standard approach. However, you are free to use the code as it is very generic and can be used right away. ...

December 3, 2020 路 9 min 路 Imran Shaikh
how to use batch in jdbc

How to Use Batch in JDBC to Insert huge data

Hey. Tea Lovers! Today we will discuss batching and how to use batch in JDBC to insert huge data. Before jumping in, I would suggest you look at my previous posts, " How to Achieve Greatness in JDBC Performance" and " JDBC Connection Pooling Explained with HikariCP". This will help you to further increase the performance along with reliability, maintainability, and flexibility. Why use Batch Insertion Many of you have worked on some projects where you needed to insert a large amount of data into the database. I prefer just using plain JDBC for this kind of job to give the operation a significant boost. But inserting the record one by one as we do is a very slow process. We need to wait until the data of a single record goes to the database, insert happens and then over the network, an acknowledgment occurs, phew! Luckily in JDBC, we have batch operations. With this, we can insert the data in batches rather than one by one, giving a huge advantage. ...

November 30, 2020 路 7 min 路 Imran Shaikh
Interview Question- IS-A & HAS-A Relationship

Interview Question: IS-A & HAS-A Relationship

Hey, Tea Lovers! Today let鈥檚 look at the most asked interview question,聽IS-A.)& HAS-A relationship. Both beginners and experienced people get this question in their interviews. This post is one of the many in the series of聽Interview Questions, where we don鈥檛 just hang you with one line answer, but rather try to explain it so that it gets fits into your head. I know you are in a hurry to prepare for the interview, so I will make this post as short as possible, So prepare your cup of tea to sip and code. ...

November 29, 2020 路 5 min 路 Mahesh More