public static class KafkaProperties.Producer extends Object
Constructor and Description |
---|
Producer() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
buildProperties() |
String |
getAcks() |
DataSize |
getBatchSize() |
List<String> |
getBootstrapServers() |
DataSize |
getBufferMemory() |
String |
getClientId() |
String |
getCompressionType() |
Class<?> |
getKeySerializer() |
Map<String,String> |
getProperties() |
Integer |
getRetries() |
KafkaProperties.Ssl |
getSsl() |
String |
getTransactionIdPrefix() |
Class<?> |
getValueSerializer() |
void |
setAcks(String acks) |
void |
setBatchSize(DataSize batchSize) |
void |
setBootstrapServers(List<String> bootstrapServers) |
void |
setBufferMemory(DataSize bufferMemory) |
void |
setClientId(String clientId) |
void |
setCompressionType(String compressionType) |
void |
setKeySerializer(Class<?> keySerializer) |
void |
setRetries(Integer retries) |
void |
setTransactionIdPrefix(String transactionIdPrefix) |
void |
setValueSerializer(Class<?> valueSerializer) |
public KafkaProperties.Ssl getSsl()
public String getAcks()
public void setAcks(String acks)
public DataSize getBatchSize()
public void setBatchSize(DataSize batchSize)
public DataSize getBufferMemory()
public void setBufferMemory(DataSize bufferMemory)
public String getClientId()
public void setClientId(String clientId)
public String getCompressionType()
public void setCompressionType(String compressionType)
public Class<?> getKeySerializer()
public void setKeySerializer(Class<?> keySerializer)
public Class<?> getValueSerializer()
public void setValueSerializer(Class<?> valueSerializer)
public Integer getRetries()
public void setRetries(Integer retries)
public String getTransactionIdPrefix()
public void setTransactionIdPrefix(String transactionIdPrefix)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.