+ All Categories
Home > Documents > Jax2013 came-karaf-cellar-inovex

Jax2013 came-karaf-cellar-inovex

Date post: 11-Jul-2015
Category:
Upload: achim-nierbeck
View: 284 times
Download: 1 times
Share this document with a friend
Popular Tags:
32
Achim Nierbeck | inovex Integration in der Cloud mit Camel, Karaf und Cellar
Transcript
Page 1: Jax2013 came-karaf-cellar-inovex

Achim Nierbeck | inovex

Integration in der Cloud mit Camel, Karaf und Cellar

Page 2: Jax2013 came-karaf-cellar-inovex

Agenda

• Vorstellung

• Cloud? Integration? Cluster?• Protagonisten - Eine Vorstellung• Integration + Cloud• Demo

• ... don't Panic!

Page 3: Jax2013 came-karaf-cellar-inovex

Vorstellung

• Achim Nierbeck

• inovex GmbH– Pforzheim, Karlsruhe, München Köln

• @anierbeck

• open source – Apache Karaf PMC

– Apache Kalumet PMC– OPS4j Pax Web Project Lead

Page 4: Jax2013 came-karaf-cellar-inovex

Integration? Cluster? Cloud?

Situation

• wie kommen die Daten an ihr Ziel

• woher kommen die Daten

• welche Daten

Image: © Nevit Dilmen found at Wikimedia commons

Page 5: Jax2013 came-karaf-cellar-inovex

Integration ?

Page 6: Jax2013 came-karaf-cellar-inovex

Integration mit Camel

Apache Camel is messaging technology glue with routing. It joins together messaging start and end points allowing the transference of messages from different sources to different destinations. For example:

JMS->JSONHTTP->JMS

or funneling

FTP->JMS, HTTP->JMSJMS=>JSON

Quelle: Universal Business Adapter (IBM)

http://stackoverflow.com/questions/8845186/what-exactly-is-apache-camel

Page 7: Jax2013 came-karaf-cellar-inovex

EAI - Enterprise Application Integration

• Gregor Hohpe und Bobby Woolfe

• Martin Fowler: „the missing piece“ zu Patterns of Enterprise Application Architecture

Page 8: Jax2013 came-karaf-cellar-inovex

Die Protagonisten

• Apache Camel– Eines der am weitesten verbreiteten EAI

Frameworks

• Apache Karaf– Leichtgewichtiger OSGi Container– perfekte Laufzeitumgebung für Camel

• Apache Karaf-Cellar– Karaf Cluster Lösung --> Cloud Lösung

Page 9: Jax2013 came-karaf-cellar-inovex

Camel Architektur

Page 10: Jax2013 came-karaf-cellar-inovex

Message Routing

Page 11: Jax2013 came-karaf-cellar-inovex

Apache Karaf

Page 12: Jax2013 came-karaf-cellar-inovex

Karaf - Overview

Page 13: Jax2013 came-karaf-cellar-inovex

Apache Karaf - Cellar

Page 14: Jax2013 came-karaf-cellar-inovex

Karaf Cellar – Node Kommunikation

Page 15: Jax2013 came-karaf-cellar-inovex

Karaf Cellar - Überblick

Page 16: Jax2013 came-karaf-cellar-inovex

Karaf Cellar - Farming

Maven Repo

Node 1

Whitelist: - xxx- yyyBlacklist: - zzz

Node 2

Whitelist: - xxx- zzzBlacklist: - yyy

Page 17: Jax2013 came-karaf-cellar-inovex

Karaf Cellar - Farming

Maven RepoFeature

install

xxx

Node 1

Whitelist: - xxx- yyyBlacklist: - zzz

Node 2

Whitelist: - xxx- zzzBlacklist: - yyy

Page 18: Jax2013 came-karaf-cellar-inovex

Karaf Cellar - Farming

Maven Repo

Re

plicate

Node 1

Whitelist: - xxx- yyyBlacklist: - zzz

Node 2

Whitelist: - xxx- zzzBlacklist: - yyy

Page 19: Jax2013 came-karaf-cellar-inovex

Karaf Cellar - Farming

Maven Repo

Feature

install

xxx

Node 1

Whitelist: - xxx- yyyBlacklist: - zzz

Node 2

Whitelist: - xxx- zzzBlacklist: - yyy

Page 20: Jax2013 came-karaf-cellar-inovex

Karaf Cellar - Farming

Maven Repo

Feature

install

zzz

Node 1

Whitelist: - xxx- yyyBlacklist: - zzz

Node 2

Whitelist: - xxx- zzzBlacklist: - yyy

Page 21: Jax2013 came-karaf-cellar-inovex

Karaf Cellar - Farming

Maven Repo

Node 1

Whitelist: - xxx- yyyBlacklist: - zzz

Node 2

Whitelist: - xxx- zzzBlacklist: - yyy

Re

plicate

Page 22: Jax2013 came-karaf-cellar-inovex

Karaf Cellar - Farming

Maven Repo

Node 1

Whitelist: - xxx- yyyBlacklist: - zzz

Node 2

Whitelist: - xxx- zzzBlacklist: - yyy

Page 23: Jax2013 came-karaf-cellar-inovex

Integration in der Cloud

Apache Karaf-Cellar

Apache Karaf

Apache Camel

Page 24: Jax2013 came-karaf-cellar-inovex

Cloud Integration

© twitter.com

Privat Node

Data

S3

EC-Node 1

EC-Node 3

EC-Node 2

HDFS

EIP:

Page 25: Jax2013 came-karaf-cellar-inovex

Cloud Integration

© twitter.com

Privat Node

Data

S3

EC-Node 1

EC-Node 3

EC-Node 2

HDFS

EIP:to(s3://bucket/object)

Page 26: Jax2013 came-karaf-cellar-inovex

Cloud Integration

© twitter.com

Privat Node

Data

S3

EC-Node 1

EC-Node 3

EC-Node 2

HDFS

EIP:

to(cxf:endpoint)

Page 27: Jax2013 came-karaf-cellar-inovex

Cloud Integration

© twitter.com

Privat Node

Data

S3

EC-Node 1

EC-Node 3

EC-Node 2

HDFS

EIP:

from(cxf:endpoint).to(jms:queue)

Page 28: Jax2013 came-karaf-cellar-inovex

Cloud Integration

© twitter.com

Privat Node

Data

S3

EC-Node 1

EC-Node 3

EC-Node 2

HDFS

EIP:

from(twitter://xxx).bean(filterBean).to(hdfs://storage)

Page 29: Jax2013 came-karaf-cellar-inovex

Cloud Integration

© twitter.com

Privat Node

Data

S3

EC-Node 1

EC-Node 3

EC-Node 2

HDFS

EIP:

from(jms).convertTo(String.class).to(hazelcast:seda:queue)

Page 30: Jax2013 came-karaf-cellar-inovex

Cloud Integration

© twitter.com

Privat Node

Data

S3

EC-Node 1

EC-Node 3

EC-Node 2

HDFS

EIP:from(hazelcast:seda:queue).to(hdfs:storage)

Page 31: Jax2013 came-karaf-cellar-inovex

DEMO

Privat Node

S3

EC-Node 2EIP:

EC-Node 1

from(file).to(cxf)

from(cxf).to(hazelcast: seda: queue)

from(seda:x).to(blobstore)

Browse

Page 32: Jax2013 came-karaf-cellar-inovex

... don't Panic

• Bring dein Handtuch mit

• http://camel.apache.org

• http://karaf.apache.org

• http://karaf.apache.org/index/subprojects/cellar.html

• Showcase: https://github.com/inovex/camel-cloud-integartion-jax2013/

• Fragen immer jederzeit auf den Mailinglisten

• … am Inovex Stand


Recommended