Category Archives: Functional Programming

Let’s dive deep into Apache Ignite

Let’s first have some basic understanding of Apache Ignite and then we will look more into its life cycle with the help of a demo application. Apache Ignite is an in-memory computing platform that is durable strongly consistent and highly … Continue reading

Posted in Functional Programming, Java | Tagged , , , , , , , , , , | Leave a comment

Are you using Scala Collection efficiently?

In this blog, We will be going to explore how we can use scala collections efficiently . Though, we are taking care of immutability but still something more can be done to make your code more readable and faster. List … Continue reading

Posted in Functional Programming, Scala, scaladays | Tagged , , , | 2 Comments

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 … Continue reading

Posted in Apache Kafka, big data, Functional Programming, knoldus, Scala, Streaming | 3 Comments

Reactors IO: Actors Done Right

Hi all, Knoldus has organized a 30 min session on 1st  September 2017 at 4:15 PM. The topic was Reactors IO. Many people have joined and enjoyed the session. I am going to share the slides here. Please let me know … Continue reading

Posted in Functional Programming, Java, Reactive, Scala | Tagged , , , , | Leave a comment

Reactors.IO: Actors Done Right

In our previous blog, we tried to explore the upcoming version of i.e Java 9. So this time we try to focus on Scala . In This Blog , We will be Looking onto a New Reactive programming framework for … Continue reading

Posted in Functional Programming, Reactive, Scala | Tagged , , , , | 1 Comment

A Java Lagom service which only consumes from Kafka topic (Subscriber only service)

Subscriber only service means an application which only consumes, does not produce. We have generally seen the applications which both produces and consumes data from a Kafka topic but sometimes we need to write an application which only consumes data … Continue reading

Posted in Akka, Apache Kafka, Architecture, Best Practices, big data, Functional Programming, github, Java, MessagesAPI, Microservices, Scala | Leave a comment

Like Java 7 ? Then You Are Going to Love Java 8 !!

JAVA 8 (aka jdk 1.8) is a major release of JAVA programming language development. With the Java 8 release, Java provided support for functional programming, new JavaScript engine, new APIs for date time manipulation, new streaming API, etc. which will … Continue reading

Posted in Functional Programming, Java | Tagged , , , , , , | 8 Comments

Reverse engineering using Slick 3.2 and Scala

Sometime, we have requirements for create classes corresponding to the existing database or Sometimes, in our initial phase of project, we are going to design database and tables first, after that, we are going to create classes for mapping our … Continue reading

Posted in Functional Programming, Reactive, Scala, Slick | Tagged , , , , , , , , , , , , | 2 Comments

Understand closures in javascript

Let’s learn closures today, How closures are define how they got intialize and how they work A closure is a function within a function that has access to the environment that it was created, which gives the ability to access … Continue reading

Posted in AJAX, Functional Programming, JavaScript, jQuery, Scala, Web, web application | Tagged , | 1 Comment

Apache Spark: Reading csv using custom timestamp format

In this blog, we are considering a situation where I wanted to read a CSV through spark, but the CSV contains some timestamp columns in it. Is this going to be a problem while inferring schema at the time of reading the csv using spark? Well, … Continue reading

Posted in apache spark, big data, Functional Programming, Scala | 1 Comment