Giter Site home page Giter Site logo

vpugar / mtp Goto Github PK

View Code? Open in Web Editor NEW
20.0 20.0 12.0 7.06 MB

MTP - My Test Project - example Java applications with Spring Boot, Apache Spark Streaming, Apache Cassandra, Apache Kafka, Akka, AngularJS (work in progress)

Java 59.81% Scala 0.40% ApacheConf 3.22% HTML 16.15% CSS 1.99% JavaScript 18.24% Shell 0.19%

mtp's People

Contributors

vpugar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mtp's Issues

Getting Bean Initialization Error in MTP Consumption application

Below error is encountered while trying to execute the Consumption Application.

WARN  [main-AnnotationConfigApplicationContext] Exception encountered during context initialization - cancelling refresh attempt
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'cassandraTransactionDao' defined in file [/u02/craft/mtp-master/mtp-model/bin/com/vedri/mtp/core/transaction/dao/CassandraTransactionDao.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [com.datastax.driver.core.Session]: : Error creating bean with name 'session' defined in com.vedri.mtp.core.support.cassandra.CassandraConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.datastax.driver.core.Session]: Factory method 'session' threw exception; nested exception is java.lang.NullPointerException; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'session' defined in com.vedri.mtp.core.support.cassandra.CassandraConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.datastax.driver.core.Session]: Factory method 'session' threw exception; nested exception is java.lang.NullPointerException
	at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749) ~[spring-beans-4.2.2.RELEASE.jar:4.2.2.RELEASE]

What is the advantage of using both Akka Actor and Kafka Streaming ?

I have gone through the architecture. This is really interesting that you have used both Akka Actors and Kafka streaming to process the events. Is it not too much overhead to create an Akka cluster as well as Embedded Kafka inside the application. Either one of them could have solved the event processing use case. Any rationale behind using both?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.