confluentinc / parallel-consumer

Parallel Apache Kafka client wrapper with per message ACK, client side queueing, a simpler consumer/producer API with key concurrency and extendable non-blocking IO processing.

Home Page:https://confluent.io/confluent-accelerators/#parallel-consumer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support scheduled message processing (scheduled retry)

astubbs opened this issue · comments

Having the ability to only process a message at a certain time, say for scheduling sending messages to users.

This could be quite easily achieved by extending the existing retry delay system - give the user function the ability to throw a "retry message X time" exception, the system will then use -this- as the retry delay, instead of the normal retry delay of a few seconds.

The record will then not be given back to a user function, until at least X time has passed.

Closing Issue