Author Archives: Prabhat Kashyap

About Prabhat Kashyap

Consultant(Engineer) at Knoldus Software LLP

Hyperledger Fabric – A Blockchain Project


Nowadays blockchain technology is creating a lot of headlines but it is very little about what is blockchain and how to use it. I tried to dig into the blockchain technology and found Hyperledger Project developed by Linux Foundation, to … Continue reading

Posted in Blockchain, Scala | 1 Comment

Kafka – Sending Object as a message


Kafka lets us publish and subscribe to streams of records and the records can be of any type, it can be JSON, String, POJO, etc. Kafka gives user the ability to creates our own serializer and deserializer so that we … Continue reading

Posted in Apache Kafka, Java | 1 Comment

Getting Started with Actors [Akka in a Nutshell #2]


Hierarchical Structure Actors are objects which encapsulate state and behavior, they communicate by exchanging messages. We can consider an actor as a person. Like a software development team, actors form hierarchies. In a team there is a project manager who … Continue reading

Posted in Akka, Scala | Tagged , , , | 3 Comments

Introduction of Blockchain


“Blockchain is more than just ICT innovation, but facilitates new types of economic organization and governance. Suggests two approaches to economics of blockchain: innovation-centred and governance-centred. Argues that the governance approach—based in new institutional economics and public choice economics—is most … Continue reading

Posted in Blockchain | 1 Comment

Supervision and Monitoring in Akka


What is supervision? Describes a dependency relationship between actors, the parent and child releationship. Parent is unique because it has created the child actor, so the parent is responsible for reacting when failures happens in his child. And parent decides … Continue reading

Posted in Akka, Scala | Tagged , , , | 5 Comments

Introduction to ScalaZ


Knoldus have organized a half an hour session on 1st Jul 2016 at 4:00 PM. The topic was Introduction to ScalaZ. Here is the video of that session:

Posted in Scala | Tagged , , | 2 Comments

Mocking Mail API in Scala


Few days ago I was working on a Mailing API of my project and used javax-mail API but encountered the problem of how to write unit test cases for that without actually mocking the mail. I searched for it but was unable … Continue reading

Posted in Scala, scalatest, Test, testing, tests | Tagged , , | 1 Comment