eventStreamsTopicUpdate
Creates or updates the specified topic
Deprecated: Use eventStreamsTopicCreate instead.
Description: This mutation allows updating the details of an existing topic within a given environment. If the topic does not exist, it will be created.
Input:
input:EventStreamsTopicCreateInput!– Topic details to update or create.
Example:
mutation {
eventStreamsTopicUpdate(input: {
environmentId: "04b4ea77-e1ec-4ca2-be90-11e188d1bcdb"
name: "topicName"
description: "Updated 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
}
}
eventStreamsTopicUpdate(
input: EventStreamsTopicCreateInput!
): EventStreamsTopic!
Arguments
eventStreamsTopicUpdate.input ● EventStreamsTopicCreateInput! non-null input event-streams-admin
Type
EventStreamsTopic object event-streams-query
Was this topic helpful?