public class MessagingSettings extends Object
| Constructor and Description |
|---|
MessagingSettings() |
MessagingSettings(Integer batchSize,
Integer messageMaxBytes,
Integer lingerMs,
Integer acks,
List<SpDataFormat> prioritizedFormats) |
| Modifier and Type | Method and Description |
|---|---|
static MessagingSettings |
fromDefault() |
Integer |
getAcks() |
Integer |
getBatchSize() |
Integer |
getLingerMs() |
Integer |
getMessageMaxBytes() |
List<SpDataFormat> |
getPrioritizedFormats() |
void |
setAcks(Integer acks) |
void |
setBatchSize(Integer batchSize) |
void |
setLingerMs(Integer lingerMs) |
void |
setMessageMaxBytes(Integer messageMaxBytes) |
void |
setPrioritizedFormats(List<SpDataFormat> prioritizedFormats) |
public MessagingSettings(Integer batchSize, Integer messageMaxBytes, Integer lingerMs, Integer acks, List<SpDataFormat> prioritizedFormats)
public MessagingSettings()
public static MessagingSettings fromDefault()
public Integer getBatchSize()
public void setBatchSize(Integer batchSize)
public Integer getMessageMaxBytes()
public void setMessageMaxBytes(Integer messageMaxBytes)
public Integer getLingerMs()
public void setLingerMs(Integer lingerMs)
public Integer getAcks()
public void setAcks(Integer acks)
public List<SpDataFormat> getPrioritizedFormats()
public void setPrioritizedFormats(List<SpDataFormat> prioritizedFormats)
Copyright © 2019. All rights reserved.