Constructor and Description |
---|
KafkaWorkerControlPlaneController(org.thales.punch.kafka.api.KafkaContinuousConsumerBuilder<String,byte[]> consumerBuilder,
org.apache.kafka.clients.producer.KafkaProducer<String,byte[]> producer,
String controlTopic,
IWorker worker) |
Modifier and Type | Method and Description |
---|---|
void |
onReceive(org.thales.punch.kafka.api.IPartition partition,
org.apache.kafka.clients.consumer.ConsumerRecord<String,byte[]> record) |
void |
run() |
void |
start() |
void |
stop() |
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 stop()
public void start()
Copyright © 2022. All rights reserved.