/playing_with_projections

Preparation of a workshop

Primary LanguageJava

Getting started

Clone or fork this repo.

Choose your preferred technology

Look in the client directories to get started in your preferred technology:

Make it ruby

Read the README.md of the choosen technology, and make it run.

First step

Modify the code to print:

  • The number of events in the stream.
  • The distinct type of events in the stream.

Short description

The event stream contains several types of events. The event stream is a JSON array of events. An event is structured like this:

{
  'id': 'a unique id for this event'
  'type': 'the type of the event',
  'timestamp': 'the moment the event happened',
  'payload': {
    // key-value pairs specific to the event type
    'key1': 'value1',
    'key2': 'value2';
    ...
  }
}