Author: Simarpreet Kaur Monga

Lombok: Never write another getters/setters or equals method

Being shifted from scala to java in one of my projects, I was not happy as I would have to write 10 lines of code in Java for a single line of Scala code. Thankfully, I was introduced to Lombok through one of our clients. Project Lombok is a java library that automatically plugs into your editor and build tools, spicing up your java. Let Continue Reading

Terraform: Enabling developer to create and manage deployment through code

In this blog post, We will walk you through Terraform which is a tool for building, changing, and versioning infrastructure safely and efficiently. Terraform enables the developers to properly manage the infrastructure through code. The set of files used to describe infrastructure in Terraform is simply known as a Terraform configuration. These files have extension .tf. Configuration files describe to Terraform the components needed to Continue Reading

Knolx: Introduction to Algebird: Abstract Algebra for Analytics

Hello everyone, Knoldus organized a session on 6th October 2017. The topic was “Introduction To Algebird”. Many people attended and enjoyed the session. In this blog post, I am going to share the slides & video of the session.

Case Study to understand Kafka Consumer and its offsets

In this blog post, we will discuss mainly Kafka Consumer and its Offsets. We will understand this using a case study implemented in Scala. This blog post assumes that you are aware of basic Kafka terminology. CASE STUDY: The Producer is continuously producing records to the source topic. The Consumer is consuming those records from the same topic as it has subscribed for that topic. Continue Reading

Simple Java program to Append to a file in Hdfs

In this blog, I will present you with a java program to append to a file in HDFS. I will be using Maven as the build tool. Now to start with- First, we need to add maven dependencies in pom.xml. Now we need to import the following classes- import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FSDataOutputStream; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import java.io.*;

%d bloggers like this: