Show / Hide Table of Contents

Class Topic

A Kafka topic in a given cluster.

Inheritance
object
Topic
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.ManagedKafka.v1.Data
Assembly: Google.Apis.ManagedKafka.v1.dll
Syntax
public class Topic : IDirectResponseSchema

Properties

Configs

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.

Declaration
[JsonProperty("configs")]
public virtual IDictionary<string, string> Configs { get; set; }
Property Value
Type Description
IDictionary<string, string>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Name

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}

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

PartitionCount

Required. The number of partitions this topic has. The partition count can only be increased, not decreased. Please note that if partitions are increased for a topic that has a key, the partitioning logic or the ordering of the messages will be affected.

Declaration
[JsonProperty("partitionCount")]
public virtual int? PartitionCount { get; set; }
Property Value
Type Description
int?

ReplicationFactor

Required. Immutable. The number of replicas of each partition. A replication factor of 3 is recommended for high availability.

Declaration
[JsonProperty("replicationFactor")]
public virtual int? ReplicationFactor { get; set; }
Property Value
Type Description
int?

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX