Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

RedisDay London 2018 - Building Event-Driven Java Applications using Redis Streams

43 views

Published on

RedisDay London 2018

Published in: Technology
  • Be the first to comment

  • Be the first to like this

RedisDay London 2018 - Building Event-Driven Java Applications using Redis Streams

  1. 1. Building Event-Driven Java Applications using Redis Streams Mark Paluch (@mp911de), Pivotal
  2. 2. Mark Paluch @mp911de Spring Data Engineer at
  3. 3. 3 events 15269848-0 name: Alice 15269858-1 name: John last: Doe Stream 15269858-0 name: Bob
  4. 4. 4 events 15269848-0 name: Alice 15269858-1 name: John last: Doe ✕ Body Hash Stream ✕ Consumer Groups ✕ Append-Only* 15269858-0 name: Bob
  5. 5. 5 15269848-0 name: Alice 15269858-1 name: John last: Doe 15269858-0 name: Bob XRANGE XTRIM XREAD XADD XLEN Stream API events
  6. 6. 6 Stream events
  7. 7. 7 my-group consumer1: 15269848-0 consumer2: 15269858-0 another-group some-consumer: (offset) Stream: Consumer Groups events
  8. 8. 8 my-group consumer1: 15269848-0 consumer2: 15269858-0 another-group some-consumer: (offset) Stream: Consumer Groups XREADGROUP XGROUP XACK events
  9. 9. 9 Demo redis-cli
  10. 10. Use Cases 10
  11. 11. • Inbound Messages • Stream Consumer • Result Stream Processing 11
  12. 12. 12 Demo Java
  13. 13. 13 Demo Application
  14. 14. Thank you!
  15. 15. • Code: github.com/mp911de/redis-stream-demo Resources 15

×