apache streams: enterprise social...
TRANSCRIPT
![Page 1: Apache Streams: Enterprise Social Integrationarchive.apachecon.com/na2013/presentations/26-Tuesday...An Activity Oriented World View Activities tell a story (social examples): –](https://reader035.vdocuments.us/reader035/viewer/2022070723/5f020d3b7e708231d40255ef/html5/thumbnails/1.jpg)
Apache Streams:Enterprise Social Integration
Craig McClanahanMatt Franklin
![Page 2: Apache Streams: Enterprise Social Integrationarchive.apachecon.com/na2013/presentations/26-Tuesday...An Activity Oriented World View Activities tell a story (social examples): –](https://reader035.vdocuments.us/reader035/viewer/2022070723/5f020d3b7e708231d40255ef/html5/thumbnails/2.jpg)
Agenda● An Activity-Oriented Worldview● Activities and Activity Streams● Apache Streams● Demo● Summary
![Page 3: Apache Streams: Enterprise Social Integrationarchive.apachecon.com/na2013/presentations/26-Tuesday...An Activity Oriented World View Activities tell a story (social examples): –](https://reader035.vdocuments.us/reader035/viewer/2022070723/5f020d3b7e708231d40255ef/html5/thumbnails/3.jpg)
An Activity Oriented World View● Activities tell a story (social examples):
– “Geraldine posted a photo to her album”
– “John shared a video with Mark
● “This happened” versus “poll the server to see what changed”
● Activity streams == chronologically ordered list of activities
● Introduced into social consciousness by web social networks (Facebook)
![Page 4: Apache Streams: Enterprise Social Integrationarchive.apachecon.com/na2013/presentations/26-Tuesday...An Activity Oriented World View Activities tell a story (social examples): –](https://reader035.vdocuments.us/reader035/viewer/2022070723/5f020d3b7e708231d40255ef/html5/thumbnails/4.jpg)
An Activity Oriented World View● Concept is popular on many networks
– Each with similar but different features
● But how do you interoperate?
![Page 5: Apache Streams: Enterprise Social Integrationarchive.apachecon.com/na2013/presentations/26-Tuesday...An Activity Oriented World View Activities tell a story (social examples): –](https://reader035.vdocuments.us/reader035/viewer/2022070723/5f020d3b7e708231d40255ef/html5/thumbnails/5.jpg)
The “FriendFeed Problem”● When FriendFeed
was acquired by Twitter, then had to interoperate between 59 different formats.
![Page 6: Apache Streams: Enterprise Social Integrationarchive.apachecon.com/na2013/presentations/26-Tuesday...An Activity Oriented World View Activities tell a story (social examples): –](https://reader035.vdocuments.us/reader035/viewer/2022070723/5f020d3b7e708231d40255ef/html5/thumbnails/6.jpg)
An Activity Oriented World View● But we can be more with a common format● A semantic model:
– Describing social and business relevant info
– In an event based manner
● Adopted by isolated enterprise applications ● Standardization around syntax / semantics
– http://activitystrea.ms
– JSON and XML (Atom/RSS) Serializations
– Object types
![Page 7: Apache Streams: Enterprise Social Integrationarchive.apachecon.com/na2013/presentations/26-Tuesday...An Activity Oriented World View Activities tell a story (social examples): –](https://reader035.vdocuments.us/reader035/viewer/2022070723/5f020d3b7e708231d40255ef/html5/thumbnails/7.jpg)
Example Activity{ "published": "2011-02-10T15:04:55Z", "actor": { "url": "http://example.org/martin", "objectType" : "person", "id": "tag:example.org,2011:martin", "image": { "url": "http://example.org/martin/image", "width": 250, "height": 250 }, "displayName": "Martin Smith" }, "verb": "post", "object" : { "url": "http://example.org/blog/2011/02/entry", "id": "tag:example.org,2011:abc123/xyz" }, "target" : { "url": "http://example.org/blog/", "objectType": "blog", "id": "tag:example.org,2011:abc123", "displayName": "Martin's Blog" }}
![Page 8: Apache Streams: Enterprise Social Integrationarchive.apachecon.com/na2013/presentations/26-Tuesday...An Activity Oriented World View Activities tell a story (social examples): –](https://reader035.vdocuments.us/reader035/viewer/2022070723/5f020d3b7e708231d40255ef/html5/thumbnails/8.jpg)
Activity Entry FieldsObject Fields– actor
– generator
– object
– provider
– target
Simple Fields– content
– icon
– id
– published
– title
– updated
– verb
![Page 9: Apache Streams: Enterprise Social Integrationarchive.apachecon.com/na2013/presentations/26-Tuesday...An Activity Oriented World View Activities tell a story (social examples): –](https://reader035.vdocuments.us/reader035/viewer/2022070723/5f020d3b7e708231d40255ef/html5/thumbnails/9.jpg)
Activity Object Fields
– attachments
– author
– content
– displayName
– id
– image
– objectType
– published
– summary
– updated
– url
![Page 10: Apache Streams: Enterprise Social Integrationarchive.apachecon.com/na2013/presentations/26-Tuesday...An Activity Oriented World View Activities tell a story (social examples): –](https://reader035.vdocuments.us/reader035/viewer/2022070723/5f020d3b7e708231d40255ef/html5/thumbnails/10.jpg)
Example Activity Redux{ "published": "2011-02-10T15:04:55Z", "actor": { "url": "http://example.org/martin", "objectType" : "person", "id": "tag:example.org,2011:martin", "image": { "url": "http://example.org/martin/image", "width": 250, "height": 250 }, "displayName": "Martin Smith" }, "verb": "post", "object" : { "url": "http://example.org/blog/2011/02/entry", "id": "tag:example.org,2011:abc123/xyz" }, "target" : { "url": "http://example.org/blog/", "objectType": "blog", "id": "tag:example.org,2011:abc123", "displayName": "Martin's Blog" }}
![Page 11: Apache Streams: Enterprise Social Integrationarchive.apachecon.com/na2013/presentations/26-Tuesday...An Activity Oriented World View Activities tell a story (social examples): –](https://reader035.vdocuments.us/reader035/viewer/2022070723/5f020d3b7e708231d40255ef/html5/thumbnails/11.jpg)
Ongoing Extension Efforts● Verbs (examples):
– acknowledge, agree, attend, cancel, create
– delete, invite, like, play, read
● Object Types (examples):– alert, application, bookmark, comment
– group, image, note, person, task, video
● Audience Targeting (to, cc, bto, bcc)● Responses (inReplyTo)
![Page 12: Apache Streams: Enterprise Social Integrationarchive.apachecon.com/na2013/presentations/26-Tuesday...An Activity Oriented World View Activities tell a story (social examples): –](https://reader035.vdocuments.us/reader035/viewer/2022070723/5f020d3b7e708231d40255ef/html5/thumbnails/12.jpg)
What Is Apache Streams?● Lightweight server for activity streams
across the enterprise● Primary capabilities (some conceptual):
– Aggregation and federation
– Filtering / noise reduction
– Querying
– Data mining
– Format transliteration
![Page 13: Apache Streams: Enterprise Social Integrationarchive.apachecon.com/na2013/presentations/26-Tuesday...An Activity Oriented World View Activities tell a story (social examples): –](https://reader035.vdocuments.us/reader035/viewer/2022070723/5f020d3b7e708231d40255ef/html5/thumbnails/13.jpg)
Apache Streams Architecture (1)
![Page 14: Apache Streams: Enterprise Social Integrationarchive.apachecon.com/na2013/presentations/26-Tuesday...An Activity Oriented World View Activities tell a story (social examples): –](https://reader035.vdocuments.us/reader035/viewer/2022070723/5f020d3b7e708231d40255ef/html5/thumbnails/14.jpg)
Apache Streams Architecture (2)
![Page 15: Apache Streams: Enterprise Social Integrationarchive.apachecon.com/na2013/presentations/26-Tuesday...An Activity Oriented World View Activities tell a story (social examples): –](https://reader035.vdocuments.us/reader035/viewer/2022070723/5f020d3b7e708231d40255ef/html5/thumbnails/15.jpg)
DEMO
![Page 16: Apache Streams: Enterprise Social Integrationarchive.apachecon.com/na2013/presentations/26-Tuesday...An Activity Oriented World View Activities tell a story (social examples): –](https://reader035.vdocuments.us/reader035/viewer/2022070723/5f020d3b7e708231d40255ef/html5/thumbnails/16.jpg)
Internal Components● Apache ServiceMix (ESB container)● Apache ActiveMQ (reliable messaging)● Apache Camel (integration patterns)● Apache CXF (REST and WS-* support)● Apache ODE (WS-BPEL orchestration)● Apache Karaf (OSGI runtime environment)
![Page 17: Apache Streams: Enterprise Social Integrationarchive.apachecon.com/na2013/presentations/26-Tuesday...An Activity Oriented World View Activities tell a story (social examples): –](https://reader035.vdocuments.us/reader035/viewer/2022070723/5f020d3b7e708231d40255ef/html5/thumbnails/17.jpg)
Current State of Apache Streams● Entered incubation November 2012● Experienced Apache folks:
– Ate Douma, Matt Franklin, Andrew Hart, Craig McClanahan
● And additional committers:– Ryan Baxter, Jason Letourneau
● Developer mailing list:– mailto:[email protected]
http://streams.incubator.apache.org
![Page 18: Apache Streams: Enterprise Social Integrationarchive.apachecon.com/na2013/presentations/26-Tuesday...An Activity Oriented World View Activities tell a story (social examples): –](https://reader035.vdocuments.us/reader035/viewer/2022070723/5f020d3b7e708231d40255ef/html5/thumbnails/18.jpg)
Who Uses Activity Streams?● Adobe (GraniteDS)● Apache Projects:
– Abdera, Rave, Shindig, Streams
● Atlassian (Confluence, Jira)● IBM (Connections)● Jive Software● OpenSocial Foundation
![Page 19: Apache Streams: Enterprise Social Integrationarchive.apachecon.com/na2013/presentations/26-Tuesday...An Activity Oriented World View Activities tell a story (social examples): –](https://reader035.vdocuments.us/reader035/viewer/2022070723/5f020d3b7e708231d40255ef/html5/thumbnails/19.jpg)
Questions?