public class KafkaTopicPojo extends Object
Modifier and Type | Field and Description |
---|---|
String |
kafka_cluster
The logical name of a kafka cluster, that can be used to retrieve the cluster configuration in the platform
configuration.
|
String |
name
The topic name as appears when listing the topics using standard kafka command tools
|
Integer |
partitions
The number of partitions in the topic.
|
Integer |
replication_factor
The total number of replica expected for this topic.
|
Constructor and Description |
---|
KafkaTopicPojo() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
KafkaTopicPojo |
validate()
The validate method is in charge of checking for mandatory properties,
and possibly computing defaults value.
|
public String kafka_cluster
public String name
public Integer partitions
public Integer replication_factor
public KafkaTopicPojo validate()
However make sure at the end you always invoke super.validate()
Copyright © 2014–2022. All rights reserved.