AivenKafkaTopicCreateDeclarationArgs
interface AivenKafkaTopicCreateDeclarationArgs {
create: AivenKafkaTopicCreateArgs;
referenceById?: undefined;
referenceByName?: undefined;
}Create topic declaration arguments.
Example
CODE
const topic: AivenKafkaTopicCreateDeclarationArgs = {
create: { topicName: 'company.orders.v1', partitions: 3, replication: 3 },
};Properties
create: AivenKafkaTopicCreateArgs
Create topic definition.
referenceById: undefined
Not allowed when create is used.
referenceByName: undefined
Not allowed when create is used.