Category Archives: akka-http

Event Sourcing with Eventuate


Hi all, Knoldus had organized an hours session on 3rd February 2017 at 4:00 PM. Topic was Event Sourcing with Eventuate. Many enthusiasts  joined and learned from the session. I am  sharing the slides of the session here. Please let me know … Continue reading

Posted in akka-http, Cassandra, Scala | Tagged , | 2 Comments

Blending Cucumber, Cassandra and Akka-Http


Folks, Knoldus has always pioneered the deep diving into the best ways to use cutting edge technologies. In the past few days, one of our team carried this deed by integrating Cucumber with Akka-Http, Cassandra and of course, Scala. In … Continue reading

Posted in Akka, akka-http, Cassandra, Cucumber, database, knoldus, sbt, Scala, scalatest, Test, testing, tests | Tagged | 6 Comments

Twitter’s tweets analysis using Lambda Architecture


Hello Folks, In this blog i will explain  twitter’s tweets analysis with lambda architecture. So first we need to understand  what is lambda architecture,about its component and usage. According to Wikipedia, Lambda architecture is a data processing architecture designed to handle … Continue reading

Posted in Akka, akka-http, Apache Kafka, apache spark, Architecture, Batch, big data, Cassandra, Scala, Spark, Streaming | 5 Comments

Document generation of Akka-HTTP using Swagger


Hello All, In this blog we are using Swagger to generate document of Akka-HTTP. For Swagger you can get more information from  Introduction to Swagger . For Akka you can get more information from Introduction to Akka-Http You can find … Continue reading

Posted in Akka, akka-http, Scala, Swagger | Tagged , , , | 3 Comments

Handling HTTPS requests with Akka-HTTPS Server


Hi guys, In my last blogs I explained how one can create a self-signed certificate and KeyStore in PKCS12. You can go through the previous blog, as we’ll be needing certificate and keystore  for handling HTTPS requests. https://blog.knoldus.com/2016/10/18/create-a-self-signed-ssl-certificate-using-openssl/ https://blog.knoldus.com/2016/10/26/how-to-create-a-keystore-in-pkcs12-format/ Akka-HTTP provides both Server-Side and … Continue reading

Posted in Akka, akka-http, Scala, Security, Security Audit, Security Checklist, Security Controls, Security Guidelines | Tagged , , , , , , , , , , , , , , , , , , , | 4 Comments

Testing Rejection Handling in Akka-Http


In my previous blog, I discussed how to handle rejections in Akka Http. You may find it here. We left it on terms to explain the testing of it later. Keeping the promise 😉 In this blog, we will learn … Continue reading

Posted in Scala, Akka, Test, tests, testing, akka-http | 1 Comment

Lambda Architecture with Spark


Hello folks, Knoldus  organized a knolx session on the topic : Lambda Architecture with Spark. The presentation covers lambda architecture and implementation with spark.In the presentaion we will discuss components of lambda architecure like batch layer,speed layer and serving layer.We will … Continue reading

Posted in Scala, Akka, Spark, Cassandra, Streaming, akka-http | Tagged | 2 Comments

Rejection Handling in Akka Http.


While working on one my project which uses Akka Http for routing, I came across a situation where we had to use custom Rejection Handler. It was a worthy thing to be shared with all and hence this blog 😉 … Continue reading

Posted in Akka, akka-http, Scala | 2 Comments

Cassandra with Spark 2.0 : Building Rest API !


In this tutorial , we will be demonstrating how to make a REST service in Spark using Akka-http as a side-kick  😉  and Cassandra as the data store. We have seen the power of Spark earlier and when it is … Continue reading

Posted in Akka, akka-http, apache spark, Cassandra, Scala, scalatest, Spark | Tagged , , , , , , , , , , , , , | 2 Comments

A Simple Example of WebSocket based Microservice Architecure using Akka-HTTP in Scala


In my previous blog, I explained how you can implement WebSocket server using Akka-HTTP. As you know,  Microservice architecture has become very popular in recent years. This architecture fits perfect 1) When you want to give support of your application … Continue reading

Posted in Akka, akka-http, Scala, Web Services, websocket | Tagged , , , , | Leave a comment