| Constructor and Description | 
|---|
KafkaWorkerController(String bootstrapServers,
                     org.apache.kafka.clients.producer.KafkaProducer<String,byte[]> producer,
                     String clusterName,
                     String commandTopic,
                     String assignementTopic,
                     String controlTopic,
                     IWorker worker,
                     long tickInterval,
                     org.thales.punch.platform.api.pojo.JavaStoreSecurity securityStores)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
onPartitionAssigned(org.thales.punch.kafka.api.IPartition partition,
                   org.apache.kafka.clients.consumer.OffsetAndMetadata offsetAndMetadata)  | 
void | 
onPartitionRevoked(org.thales.punch.kafka.api.IPartition partition)  | 
void | 
onReceive(org.thales.punch.kafka.api.IPartition partition,
         org.apache.kafka.clients.consumer.ConsumerRecord<String,byte[]> record)  | 
void | 
onTick(org.thales.punch.kafka.api.IPartition partition,
      long nextOffsetToRead)  | 
void | 
run()  | 
public KafkaWorkerController(String bootstrapServers, org.apache.kafka.clients.producer.KafkaProducer<String,byte[]> producer, String clusterName, String commandTopic, String assignementTopic, String controlTopic, IWorker worker, long tickInterval, org.thales.punch.platform.api.pojo.JavaStoreSecurity securityStores)
public void onReceive(org.thales.punch.kafka.api.IPartition partition,
                      org.apache.kafka.clients.consumer.ConsumerRecord<String,byte[]> record)
onReceive in interface org.thales.punch.kafka.api.IRecordHandler<String,byte[]>public void onTick(org.thales.punch.kafka.api.IPartition partition,
                   long nextOffsetToRead)
onTick in interface org.thales.punch.kafka.api.IRecordHandler<String,byte[]>public void onPartitionAssigned(org.thales.punch.kafka.api.IPartition partition,
                                org.apache.kafka.clients.consumer.OffsetAndMetadata offsetAndMetadata)
onPartitionAssigned in interface org.thales.punch.kafka.api.IRecordHandler<String,byte[]>public void onPartitionRevoked(org.thales.punch.kafka.api.IPartition partition)
onPartitionRevoked in interface org.thales.punch.kafka.api.IRecordHandler<String,byte[]>Copyright © 2022. All rights reserved.