@Component
public class PartitionResolver
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.util.List<java.lang.String> |
ALL_PARTITION_STRATEGIES |
| Constructor and Description |
|---|
PartitionResolver(TopicRepository topicRepository) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
resolvePartition(EventType eventType,
org.json.JSONObject eventAsJson) |
void |
validate(EventType eventType) |
public static final java.util.List<java.lang.String> ALL_PARTITION_STRATEGIES
@Autowired public PartitionResolver(TopicRepository topicRepository)
public void validate(EventType eventType) throws NoSuchPartitionStrategyException, InvalidEventTypeException
public java.lang.String resolvePartition(EventType eventType, org.json.JSONObject eventAsJson) throws PartitioningException
PartitioningException