Git Product home page Git Product logo

splitetframework's Introduction

splitet

Build Status Gitter chat

Enterprise-Scale Eventually Consistent CQRS Framework by kloia.com

Splitet is a Java based Event Sourcing framework which can be benefited by the teams who are planning to make CQRS transitions with minimum learning curve and ease of adaptation.

It has a unique architecture called Operation Store™ together with the stack elements including Docker, Kafka, Hazelcast and Cassandra.

You can reach ECommerce samples from this link Demo and more examples are coming, please follow Splitet

Installation

If you're using MAVEN, you have to add these properties to super pom file.

.m2/settings.xml

<?xml version="1.0" encoding="UTF-8" ?>
<settings xsi:schemaLocation='http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd'
          xmlns='http://maven.apache.org/SETTINGS/1.0.0' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
    <profiles>
        <profile>
            <repositories>
                <repository>
                    <snapshots>
                        <enabled>false</enabled>
                    </snapshots>
                    <id>bintray-kloia-eventapis</id>
                    <name>bintray</name>
                    <url>https://dl.bintray.com/kloia/eventapis</url>
                </repository>
            </repositories>
            <pluginRepositories>
                <pluginRepository>
                    <snapshots>
                        <enabled>false</enabled>
                    </snapshots>
                    <id>bintray-kloia-eventapis</id>
                    <name>bintray-plugins</name>
                    <url>https://dl.bintray.com/kloia/eventapis</url>
                </pluginRepository>
            </pluginRepositories>
            <id>bintray</id>
        </profile>
    </profiles>
    <activeProfiles>
        <activeProfile>bintray</activeProfile>
    </activeProfiles>
</settings>

If you're using gradle add this property to gradle file

repositories {
    maven {
        url  "https://dl.bintray.com/kloia/eventapis" 
    }
}

for another using options you can visit Bintray Repo

Usage

You have to add these dependencies to pom.xml

<dependencies>
    <dependency>
        <groupId>io.splitet.core</groupId>
        <artifactId>spring-integration</artifactId>
        <version>0.8.0-SNAPSHOT</version>
    </dependency>
    <dependency>
        <groupId>io.splitet.core</groupId>
        <artifactId>spring-jpa-view</artifactId>
        <version>0.8.0-SNAPSHOT</version>
    </dependency>
    <dependency>
        <groupId>io.splitet.core</groupId>
        <artifactId>java-api</artifactId>
        <version>0.8.0-SNAPSHOT</version>
    </dependency>
</dependencies>

External Dependencies

You have to add these dependencies to pom.xml, too.

<dependencies>
	<dependency>
		<groupId>org.apache.commons</groupId>
		<artifactId>commons-lang3</artifactId>
		<version>3.9</version>
	</dependency>
	<dependency>
		<groupId>org.apache.commons</groupId>
		<artifactId>commons-collections4</artifactId>
		<version>4.4</version>
	</dependency>
	<dependency>
		<groupId>com.datastax.cassandra</groupId>
		<artifactId>cassandra-driver-core</artifactId>
		<version>3.8.0</version>
	</dependency>
	<dependency>
		<groupId>pl.touk</groupId>
		<artifactId>throwing-function</artifactId>
		<version>1.3</version>
	</dependency>
	<dependency>
		<groupId>org.springframework.cloud</groupId>
		<artifactId>spring-cloud-starter-openfeign</artifactId>
	</dependency>
	<dependency>
		<groupId>org.springframework.kafka</groupId>
		<artifactId>spring-kafka</artifactId>
	</dependency>
</dependencies>

Prerequisites

Before run your built services you have to run Docker Compose it will run minimum external resources Cassandra, Kafka etc.

Build

If you're using different java versions you have to set in bash prompt before run at bottom of commands, you can use SDKMAN

  $ mvn clean install
  $ mvn clean compile

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.

License

Apache License

splitetframework's People

Contributors

brkbzn avatar ciftcicagatay avatar dependabot[bot] avatar deryadorian avatar maaydin avatar mesutcang avatar oguzozkeroglu avatar sahinakyol avatar zeldal avatar zeldalozdemir avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

splitetframework's Issues

New Features

  • - Multiple Context Support
  • - Use Cassandra Materialized Views instead of Secondary Indexes
  • - Command Timeouts
  • - Record Command as Events(so with Failure specs)
  • - Annotation based Command Support
  • - Kafka Integrated Operation Center (Emon) with advanced capabilities
  • - Operation Center Command Timeouts

Refactor Spring Integration

  • Refactor spring-integration and spring-jpa-view
  • Add eventapis-spring-boot-starter
  • Add eventapis-spring-boot-autoconfigure

Emon Refactor

  • Kafka Client 2+
  • Spring 5+ , Spring boot 2.2+
  • Latest Hazelcast/Zookeeper Discovery

Refactor Project Scaffolding

  • Remove samples module from Project and then create new two separate example github Project
  • Remove emon, emon-libs, emon-vis and evented-comman modules and then create new seperated eventapis-monitoring and eventapis-monitoring-ui github projects
  • Rename necessary file to keep coding convention as compatible as possible

ReOrganize Modules

  • Need to separate Spring Configurations from EventApis. Core modules must not have spring dependency
  • Need better Separation in EventBus and Evenstore.
  • Implement Spring initializer module.

Better Event Record/Publish

  • Need to Merge Event Record/Publish
  • Add Different Event Views for Record and Publish
  • Separate Specs from Event Record/Publish

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.