THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||||
---|---|---|---|---|
| ||||
@PublicEvolving public class KafkaClusterIdentifier implements Comparable<KafkaClusterIdentifier>, Serializable { private final String name; private final String bootstrapServers; ... } |
KafkaStream
It is possible that a Kafka stream is composed of multiple topics on multiple Kafka clusters. In the simplest case, a Kafka stream is a single topic on a single Kafka cluster.
Code Block | ||||
---|---|---|---|---|
| ||||
@PublicEvolving
public class KafkaStream implements Serializable {
private final String streamId;
private final Map<KafkaClusterIdentifier, Set<String>> kafkaClusterTopicMap;
public KafkaStream(
String streamId, Map<KafkaClusterIdentifier, Set<String>> kafkaClusterTopicMap) {
this.streamId = streamId;
this.kafkaClusterTopicMap = kafkaClusterTopicMap;
}...
} |
KafkaMetadataService
This is responsible to resolve Kafka metadata from streams. This may be backed by an external service or simply something logical that is contained in memory. A config map file based implementation will be provided as well for convenience.
...