Skip to content

Instantly share code, notes, and snippets.

@rhoegg
Created November 4, 2013 16:15
Show Gist options
  • Save rhoegg/7305018 to your computer and use it in GitHub Desktop.
Save rhoegg/7305018 to your computer and use it in GitHub Desktop.
some concrete requirements for the sample problem
CREATE TABLE door_access (
badge_id INT NOT NULL,
door_id INT NOT NULL,
when TIMESTAMP
)
- monitor table for inserts, there will be no updates
- Send Door ID 53 to AMQP exchange 'SuperSecureBank.alerts.VaultAccess'
- Send Doors 17, 11, 2, 3, 5 to CSV file on box.com folder TBD
- log a warning if any other door badge in occurs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment