Package com.linkedin.venice.heartbeat
Class DefaultPushJobHeartbeatSenderFactory
- java.lang.Object
-
- com.linkedin.venice.heartbeat.DefaultPushJobHeartbeatSenderFactory
-
- All Implemented Interfaces:
PushJobHeartbeatSenderFactory
public class DefaultPushJobHeartbeatSenderFactory extends java.lang.Object implements PushJobHeartbeatSenderFactory
-
-
Constructor Summary
Constructors Constructor Description DefaultPushJobHeartbeatSenderFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PushJobHeartbeatSender
createHeartbeatSender(java.lang.String kafkaUrl, VeniceProperties properties, ControllerClient controllerClient, java.util.Optional<java.util.Properties> sslProperties)
Create a heartbeat senderprotected VeniceWriter<byte[],byte[],byte[]>
getVeniceWriter(java.lang.String heartbeatKafkaTopicName, PartitionerConfig partitionerConfig, java.util.Properties veniceWriterProperties, int partitionNum)
-
-
-
Method Detail
-
createHeartbeatSender
public PushJobHeartbeatSender createHeartbeatSender(java.lang.String kafkaUrl, VeniceProperties properties, @Nonnull ControllerClient controllerClient, java.util.Optional<java.util.Properties> sslProperties)
Description copied from interface:PushJobHeartbeatSenderFactory
Create a heartbeat sender- Specified by:
createHeartbeatSender
in interfacePushJobHeartbeatSenderFactory
-
getVeniceWriter
protected VeniceWriter<byte[],byte[],byte[]> getVeniceWriter(java.lang.String heartbeatKafkaTopicName, PartitionerConfig partitionerConfig, java.util.Properties veniceWriterProperties, int partitionNum)
-
-