eventStreamsTopicCreate
Creates a new topic
Description: This mutation registers a new topic in the specified environment with the provided details.
Input:
input:EventStreamsTopicCreateInput!– The topic name, environment ID, and other optional details.
Example:
mutation {
eventStreamsTopicCreate(input: {
environmentId: "04b4ea77-e1ec-4ca2-be90-11e188d1bcdb"
name: "topicName"
description: "Created from GraphQL"
}) {
name
environment {
id
name
gateway
settings
publishedName
classification
integrationPackEnvironmentAttachment
atoms
eventStreams
}
producerCount
subscriptionCount
subscriptions {
name
topic
type
durable
backlogCount
messageRateOut
createdTime
consumers
description
deadLetterBacklogCount
retryBacklogCount
}
backlogCount
messageRateIn
messageRateOut
createdTime
producers {
name
messageRateIn
createdTime
}
description
createdBy
partitions
}
}
eventStreamsTopicCreate(
input: EventStreamsTopicCreateInput!
): EventStreamsTopic!
Arguments
eventStreamsTopicCreate.input ● EventStreamsTopicCreateInput! non-null input event-streams-admin
Type
EventStreamsTopic object event-streams-query
Was this topic helpful?