1

we are developing data pipeline app using Kafka, storm and redis. Realtime events from different systems will be published to Kafka and storm do the event processing based on rules configured. State is managed in redis.

we have a requirement to implement different WAIT_TIME before processing for different events. we are looking at following options.

we initially looked at storm windowing [sliding or tumbling window] but provides option only to configure fixed intervals. we need varying wait_time based on rules

we are exploring other options of storing the events in a redis cache for varying duration [TTL] and once each events are evicted we need to have a callback back to storm to process it.

Do redis support callback on eviction ? Is there a better way to do this with storm and redis ?

shatk
  • 465
  • 5
  • 16

1 Answers1

0

we resolved the problem by calculating the expiry time for each streaming events & storing the events in redis against expiry time [expiry as the key] , on top storm scheduler will query the events which qualifies for eviction and process it.

shatk
  • 465
  • 5
  • 16