Topic
import type { Topic } from "https://googleapis.deno.dev/v1/managedkafka:v1.ts";
A Kafka topic in a given cluster.
interface Topic {
configs?: {};
[key: string]: string;
name?: string;
partitionCount?: number;
replicationFactor?: number;
}§Properties
§
configs?: {}
[src][key: string]: string;
Optional. Configurations for the topic that are overridden from the
cluster defaults. The key of the map is a Kafka topic property name, for
example: cleanup.policy
, compression.type
.
§
name?: string
[src]Identifier. The name of the topic. The topic
segment is used when
connecting directly to the cluster. Structured like:
projects/{project}/locations/{location}/clusters/{cluster}/topics/{topic}