io.serialized.client.feed.FeedEntryHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of serialized-client Show documentation
Show all versions of serialized-client Show documentation
Java Client for Serialized APIs
The newest version!
package io.serialized.client.feed;
public interface FeedEntryHandler {
/**
* Called for each received feed entry.
*
* Add your processing logic by implementing this method.
*
* NOTE: The implementation should be idempotent and adhere to 'at least once' processing.
*
* @param feedEntry The entry to process
* @throws RetryException to signal a retry as the current entry was not successfully processed.
*/
void handle(FeedEntry feedEntry) throws RetryException;
}