@Named public class KafkaEventManager extends Object implements EventManager, KafkaConstants
Modifier and Type | Class and Description |
---|---|
class |
KafkaEventManager.ListenerThread |
APPSENSOR_ADD_ATTACK_TOPIC, APPSENSOR_ADD_EVENT_TOPIC, APPSENSOR_CLIENT_APPLICATION_NAME, APPSENSOR_GET_RESPONSES_TOPIC_PREFIX, APPSENSOR_GET_RESPONSES_TOPIC_SUFFIX, ATTACK_TYPE, EVENT_TYPE, KAFKA_CONSUMER_GROUP_ID, KAFKA_CONSUMER_ZOOKEEPER_CONNECT, KAFKA_PRODUCER_BOOTSTRAP_SERVERS, KAFKA_PRODUCER_KEY, KAFKA_PRODUCER_PARTITION, RESPONSE_TYPE
Constructor and Description |
---|
KafkaEventManager() |
Modifier and Type | Method and Description |
---|---|
void |
addAttack(Attack attack) |
void |
addEvent(Event event) |
void |
ensureEnvironmentVariablesSet() |
Collection<Response> |
getResponses(String earliest) |
public void addEvent(Event event)
public void addAttack(Attack attack)
public Collection<Response> getResponses(String earliest)
@PostConstruct public void ensureEnvironmentVariablesSet()
Copyright © 2016 The Open Web Application Security Project (OWASP). All rights reserved.