Modifier and Type | Field and Description |
---|---|
org.openspaces.zookeeper.attribute_store.ZooKeeperAttributeStore |
zookeeperAttributeStore |
Constructor and Description |
---|
GSKafkaConsumerThread(String pipelineName,
String targetSpaceName,
String kafkaBootstrapServers,
String kafkaTopic,
String kafkaMessageCommandClass,
String kafkaMessageValidationClass,
GSMessageConverter messageConverter,
GSMessageCleanser messageCleanser,
GSAuditor auditor) |
Modifier and Type | Method and Description |
---|---|
void |
createTopic(Properties props,
String topic,
int partitions,
int replication) |
GSAuditor |
getAuditor() |
String |
getKafkaBootstrapServers() |
String |
getKafkaConsumerGroup() |
Properties |
getKafkaProperties() |
String |
getKafkaTopic() |
GSMessageCleanser |
getMessageCleanser() |
int |
getMessageExecutionRetries() |
GSMessageExecutor |
getMessageExecutor() |
ArrayList<String> |
getRegisteredTypes() |
GSKafkaConsumerStatusEnum |
getStatus() |
String |
getTargetSpaceName() |
int |
getTotalOperations() |
void |
increaseNumberOfOperation() |
boolean |
isActive() |
void |
run() |
void |
setActive(boolean active) |
GSKafkaConsumerThread |
setKafkaProperties(Properties kafkaProperties) |
GSKafkaConsumerThread |
setMessageExecutor(GSMessageExecutor messageExecutor) |
void |
setStatus(GSKafkaConsumerStatusEnum newStatus) |
public org.openspaces.zookeeper.attribute_store.ZooKeeperAttributeStore zookeeperAttributeStore
public GSKafkaConsumerThread(String pipelineName, String targetSpaceName, String kafkaBootstrapServers, String kafkaTopic, String kafkaMessageCommandClass, String kafkaMessageValidationClass, GSMessageConverter messageConverter, GSMessageCleanser messageCleanser, GSAuditor auditor)
public void createTopic(Properties props, String topic, int partitions, int replication) throws ExecutionException, InterruptedException, TimeoutException
public GSKafkaConsumerThread setKafkaProperties(Properties kafkaProperties)
public GSKafkaConsumerThread setMessageExecutor(GSMessageExecutor messageExecutor)
public GSMessageExecutor getMessageExecutor()
public boolean isActive()
public void setActive(boolean active)
public String getTargetSpaceName()
public Properties getKafkaProperties()
public GSMessageCleanser getMessageCleanser()
public GSAuditor getAuditor()
public int getMessageExecutionRetries()
public void setStatus(GSKafkaConsumerStatusEnum newStatus)
public GSKafkaConsumerStatusEnum getStatus() throws IOException
IOException
public void increaseNumberOfOperation()
public int getTotalOperations() throws IOException
IOException
public String getKafkaBootstrapServers()
public String getKafkaTopic()
public String getKafkaConsumerGroup()
Copyright © GigaSpaces.