Package com.linkedin.venice.pulsar.sink
Class VenicePulsarSinkConfig
java.lang.Object
com.linkedin.venice.pulsar.sink.VenicePulsarSinkConfig
- All Implemented Interfaces:
Serializable
Configuration class for the Sink Connector.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanlongintinthashCode()static VenicePulsarSinkConfigsetFlushIntervalMs(long flushIntervalMs) setKafkaSaslConfig(String kafkaSaslConfig) setKafkaSaslMechanism(String kafkaSaslMechanism) setKafkaSecurityProtocol(String kafkaSecurityProtocol) setMaxNumberUnflushedRecords(int maxNumberUnflushedRecords) setStoreName(String storeName) setVeniceDiscoveryUrl(String veniceDiscoveryUrl) setVeniceRouterUrl(String veniceRouterUrl) voidsetWriterConfig(Map<String, String> writerConfig) toString()
-
Constructor Details
-
VenicePulsarSinkConfig
public VenicePulsarSinkConfig()
-
-
Method Details
-
load
public static VenicePulsarSinkConfig load(Map<String, Object> map, org.apache.pulsar.io.core.SinkContext sinkContext) throws IOException- Throws:
IOException
-
getVeniceDiscoveryUrl
-
getVeniceRouterUrl
-
getKafkaSaslConfig
-
getKafkaSaslMechanism
-
getKafkaSecurityProtocol
-
getStoreName
-
getFlushIntervalMs
public long getFlushIntervalMs() -
getMaxNumberUnflushedRecords
public int getMaxNumberUnflushedRecords() -
getWriterConfig
-
setVeniceDiscoveryUrl
- Returns:
this.
-
setVeniceRouterUrl
- Returns:
this.
-
setKafkaSaslConfig
- Returns:
this.
-
setKafkaSaslMechanism
- Returns:
this.
-
setKafkaSecurityProtocol
- Returns:
this.
-
setStoreName
- Returns:
this.
-
setFlushIntervalMs
- Returns:
this.
-
setMaxNumberUnflushedRecords
- Returns:
this.
-
setWriterConfig
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-